@section('optional_css') @endsection @section('optional_js') @endsection

{{ __('Booking') }}

@if(session('success')) {{ session('success') }} @endif @if(session('delete')) {{ session('delete') }} @endif

{{ Setting::getSetting('company-name') }}

From
{{ Setting::getSetting('company-name') }}
{{ Setting::getSetting('company-address') }}
Phone: {{ Setting::getSetting('company-phone') }}
Email: {{ Setting::getSetting('company-email') }}
To
{{ $companyinvoice->company->name }}
{{ $companyinvoice->company->address }}
Phone: {{ $companyinvoice->company->phone }}
Email: {{ $companyinvoice->company->email }}
Invoice {{ $companyinvoice->kode }}

Tanggal Invoice: {{ $companyinvoice->tanggal_invoice }}
Tanggal Jatuh Tempo Invoice: {{ $companyinvoice->tanggal_jatuh_tempo_invoice }}
Tanggal Pembayaran Invoice: {{ $companyinvoice->tanggal_pembayaran_invoice }}
Total Tagihan: Rp. {{ number_format($companyinvoice->total_tagihan, '0', ',','.') }}
Total Biaya: Rp. {{ number_format($companyinvoice->total_biaya, '0', ',','.') }}
Grand Total: Rp. {{ number_format($companyinvoice->grand_total, '0', ',','.') }}
Metode Pembayaran: {{ $companyinvoice->metode_pembayaran }}
Status: {{ $companyinvoice->status_text() }}
@foreach($companyinvoice->details as $detail) @endforeach @foreach($companyinvoice->others as $other) @endforeach
{{ __('Kode Booking') }} {{ __('Tanggal Pemeriksaan') }} {{ __('Nama') }} {{ __('Project') }} {{ __('Tagihan') }}
{{ $detail->bill->booking->kode }} {{ $detail->bill->booking->tanggal_pemeriksaan_kedatangan }} {{ $detail->bill->booking->patient->nama_lengkap }} {{ $detail->bill->project->name??'-' }} Rp. {{ number_format($detail->tagihan, '0', ',','.') }}
{{ $other->nama }} Rp. {{ number_format($other->biaya, '0', ',','.') }}
Grand Total Rp. {{ number_format($companyinvoice->grand_total, '0', ',','.') }}
{{-- Print --}} @if($companyinvoice->status == 0) @can('companyinvoice.edit') {{ __('Edit') }} @endcan @can('companyinvoice.destroy')
@csrf @method('delete') {{ __('Delete') }}
@endcan {{ __('Payment') }} @endif Generate PDF