@include('headeruser') @include('sweetalerts')
RM {{ number_format($count_total, 2, '.', ',') }} JUMLAH PERUNTUKAN TAHUN {{ date('Y') }}
RM {{ number_format($count_balance, 2, '.', ',') }} JUMLAH BAKI PERUNTUKAN
RM {{ number_format($count_used_panel, 2, '.', ',') }} JUMLAH BIL (PANEL)
RM {{ number_format($count_used_not_panel, 2, '.', ',') }} JUMLAH BIL (BUKAN PANEL)
RM {{ number_format($count_used, 2, '.', ',') }} JUMLAH PERUNTUKAN TELAH DIGUNAKAN

{{ Str::upper($submenu) }} (KLINIK PANEL)

@foreach ($query_record as $data_record) @endforeach
Bil No & Nama Pekerja Hubungan Nama Keluarga Nama Klinik Tarikh Caj (RM) Preskrip MC Papar
{{ $loop->iteration }} {!! '('.$data_record->user_no.')
'.$data_record->user_name !!}
{{ $data_record->name_relationship }} @if ($data_record->id_family != 0) {{ $data_record->name_family }} @else - @endif {!! Str::upper(''.$data_record->name_clinic.'
('.$data_record->add_1.' '.$data_record->add_2.' '.$data_record->add_3.' '.$data_record->name_postcode.' '.$data_record->city.' '.$data_record->name_state.')') !!}
{{ date('d/m/Y', strtotime($data_record->date)) }} RM {{ number_format($data_record->bill, 2, '.', ',') }} {{ Str::limit($data_record->prescription, 20) }} @if ($data_record->mc != NULL) {{ $data_record->mc }} @else TIADA @endif

{{ Str::upper($submenu) }} (BUKAN KLINIK PANEL)

@foreach ($query_record_not_panel as $data_record_not_panel) @endforeach
Bil No & Nama Pekerja Hubungan Nama Keluarga Nama Klinik Tarikh Caj (RM) Preskrip MC Papar
{{ $loop->iteration }} {!! '('.$data_record_not_panel->user_no.')
'.$data_record_not_panel->user_name !!}
{{ $data_record_not_panel->name_relationship }} @if ($data_record_not_panel->id_family != 0) {{ $data_record_not_panel->name_family }} @else - @endif {!! Str::upper(''.$data_record_not_panel->name_clinic.'') !!} {{ date('d/m/Y', strtotime($data_record_not_panel->date)) }} RM {{ number_format($data_record_not_panel->bill, 2, '.', ',') }} {{ Str::limit($data_record_not_panel->prescription, 20) }} @if ($data_record_not_panel->mc != NULL) {{ $data_record_not_panel->mc }} @else TIADA @endif
@include('footer')