/ 1
  •  {{__('invoice.print')}}
Result
@if(!empty($sample->physician->logo)) physician->logo)}}" /> @else
logo)}}" alt="Logo" style="width: 70px;">

{{$labSettings->name_kh}}

{{$labSettings->name_en}}

{{ app()->getLocale()=='kh' ? $labSettings->address_kh : $labSettings->address_en}}

{{$labSettings->phone_number}} {{$labSettings->email}}

@if($labSettings->shareable_lab_result==1) {!! QrCode::size(60)->generate(url('/shared/lab-result/'.$sample_id)); !!} @endif
@endif
{{__('invoice.tittle')}}
{{__('invoice.form_invoice_number')}} : {{$invoice->invoice_code}} {{__('sample.table_sample_number')}} : {{$sample->sample_number}}
{{__('invoice.table_patient_name')}} : {{$sample->patient->name_en}} {{__('patient.form_age')}} : {{\App\Helpers\Helpers::getAge($sample->patient->dob, $sample->admission_date)}}, {{__('sample.form_patient_gender')}}: {{\App\Helpers\Helpers::getGender($sample->patient->gender)}}
{{__('patient.table_phon')}} : {{$sample->patient->phone_number}} {{__('sample.physician_name')}} : {{$sample->physician->name_en}}
 
@foreach($invoice->invoiceDetail as $k=>$invItem) unit_price;?> @endforeach
{{__('invoice.table_no')}} {{__('invoice.form_description')}} {{__('invoice.form_qty')}} {{__('invoice.form_unit_price')}}
{{$k+1}} {{$invItem->test_name}} {{$invItem->qty}} $ {{$invItem->unit_price}}
{{$invoice->invoice_note}}
{{__('invoice.table_invoice_date')}}: {{date('d-m-Y',strtotime($invoice->invoice_date))}} {{__('invoice.table_total_cost')}} ($) : {{number_format($invoice->total,2)}}
{{__('invoice.table_discount')}} ($) : {{number_format($invoice->discount,2)}}
{{__('invoice.table_net_cost')}} : {{number_format(($invoice->total - $invoice->discount) ,2)}}
{{__('invoice.received_by')}} {{__('invoice.table_net_cost_riel')}} : {{number_format((($invoice->total - $invoice->discount) * $labSettings->exchange_rate),2)}}
 
@if(!empty($sample->physician->logo)) physician->logo)}}" /> @else
logo)}}" alt="Logo" style="width: 70px;">

{{$labSettings->name_kh}}

{{$labSettings->name_en}}

{{ app()->getLocale()=='kh' ? $labSettings->address_kh : $labSettings->address_en}}

{{$labSettings->phone_number}} {{$labSettings->email}}

@if($labSettings->shareable_lab_result==1) {!! QrCode::size(60)->generate(url('/shared/lab-result/'.$sample_id)); !!} @endif
@endif
{{__('invoice.tittle')}}
{{__('invoice.form_invoice_number')}} : {{$invoice->invoice_code}} {{__('sample.table_sample_number')}} : {{$sample->sample_number}}
{{__('invoice.table_patient_name')}} : {{$sample->patient->name_en}} {{__('patient.form_age')}} : {{\App\Helpers\Helpers::getAge($sample->patient->dob, $sample->admission_date)}}, {{__('sample.form_patient_gender')}}: {{\App\Helpers\Helpers::getGender($sample->patient->gender)}}
{{__('patient.table_phon')}} : {{$sample->patient->phone_number}} {{__('sample.physician_name')}} : {{$sample->physician->name_en}}
 
@foreach($invoice->invoiceDetail as $k=>$invItem) unit_price;?> @endforeach
{{__('invoice.table_no')}} {{__('invoice.form_description')}} {{__('invoice.form_qty')}} {{__('invoice.form_unit_price')}}
{{$k+1}} {{$invItem->test_name}} {{$invItem->qty}} $ {{$invItem->unit_price}}
{{$invoice->invoice_note}}
{{__('invoice.table_invoice_date')}}: {{date('d-m-Y',strtotime($invoice->invoice_date))}} {{__('invoice.table_total_cost')}} ($) : {{number_format($invoice->total,2)}}
{{__('invoice.table_discount')}} ($) : {{number_format($invoice->discount,2)}}
{{__('invoice.table_net_cost')}} : {{number_format(($invoice->total - $invoice->discount) ,2)}}
{{__('invoice.received_by')}} {{__('invoice.table_net_cost_riel')}} : {{number_format((($invoice->total - $invoice->discount) * $labSettings->exchange_rate),2)}}