@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 }}

Total Tagihan: {{ $companyinvoice->total_tagihan }}
Status: {{ $companyinvoice->status_text() }}
@foreach($companyinvoice->details as $detail) @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??'-' }} {{ $detail->tagihan }}
Total Tagihan {{ $companyinvoice->details->sum('tagihan') }}
Generate PDF