{{-- --}}
{{__('Barcode')}}: barcode
{{$invoice['barcode']}}
{{__('Patient code')}}: barcode
{{$invoice['patient']['code']}}
{{__('Patient name')}}: @if(isset($invoice['patient'])) @if(!empty($invoice['patient']['title'])) {{$invoice['patient']['title']}} : @endif {{ $invoice['patient']['name'] }} @endif
{{__('Age')}} : @if(isset($invoice['patient'])) {{$invoice['patient']['age_locale']}} @endif
{{__('Sex')}} : @if(isset($invoice['patient'])) {{__($invoice['patient']['gender'])}} @endif
{{__('Phone')}} : @if(isset($invoice['patient'])) {{$invoice['patient']['full_phone']}} @endif
{{__('Referred By')}} : @if(isset($invoice['referral'])) {{ $invoice['referral']['name'] }} @elseif(isset($invoice['from_laboratory'])) {{ $invoice['from_laboratory']['name'] }} @endif
{{__('Registration date')}} : {{ date('Y-m-d h:i A',strtotime($invoice['registration_date'])) }}
{{__('Result date')}} : {{ date('Y-m-d h:i A',strtotime($invoice['result_date'])) }}
{{__('Total')}} : {{ $invoice['total'] }}
{{__('Paid')}} : {{ $invoice['paid'] }}
{{__('Due')}} : {{ $invoice['due'] }}