@extends('layouts.admin')
@section('title', 'Invoice ' . $invoice->invoice_number)

@section('page-header')
@endsection

@section('content')
@include('admin.invoices.partials.preview', [
    'embedded' => false,
    'closeUrl' => route('admin.invoices.index'),
    'createTypes' => config('invoice.create_types'),
])
@endsection

@push('styles')
<link href="{{ asset('css/billing-invoice-preview.css') }}" rel="stylesheet">
<link href="{{ asset('css/billing-invoice-document.css') }}" rel="stylesheet">
<link href="{{ asset('css/billing-invoice-print.css') }}" rel="stylesheet">
@endpush

@push('scripts')
@include('admin.invoices.partials.preview-scripts')
@endpush
