@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
{{ $userinvoice->nama }}
{{ $userinvoice->alamat }}
Phone: {{ $userinvoice->nomor_telepon }}
Email: {{ $userinvoice->email }}
Invoice {{ $userinvoice->kode }}

Total Tagihan: {{ $userinvoice->total_tagihan }}
Jatuh Tempo: {{ $userinvoice->tanggal_jatuh_tempo_invoice }}
Metode Pembayaran: {{ $userinvoice->metode_pembayaran }}
Status: {{ $userinvoice->status_text() }}
@foreach($userinvoice->details as $detail) @endforeach
{{ __('Kode Booking') }} {{ __('Tanggal Booking') }} {{ __('Nama') }} {{ __('Tagihan') }} {{ __('Action') }}
{{ $detail->booking->kode }} {{ $detail->tanggal_booking }} {{ $detail->booking->patient->nama_lengkap }} {{ $detail->tagihan }} {{ __('Lihat Booking') }}
Total Tagihan {{ $userinvoice->details->sum('tagihan') }}
@if($userinvoice->status == 0) {{ __('Payment') }} @endif Generate PDF