@extends('layouts.bulk_job_order_pdf')
@section('title')
{{'job_order.pdf'}}
@endsection
@section('content')
@php
$count=0;
@endphp
@foreach($data['invoices'] as $invoice)
@php
$count++;
@endphp
|
{{$count}}
|
|
{{__('Name')}} :
|
@if(isset($invoice['patient']))
@if(!empty($invoice['patient']['title'])) {{$invoice['patient']['title']}} : @endif
{{ $invoice['patient']['name'] }}
@endif
|
|
|
{{__('Gender')}} :
|
@if(isset($invoice['patient']))
{{__($invoice['patient']['gender'])}}
@endif
|
|
|
{{__('Age')}} :
|
@if(isset($invoice['patient']))
{{$invoice['patient']['age_locale']}}
@endif
|
|
|
{{__('Ref. By')}} :
|
@if(isset($invoice['referral']))
{{ $invoice['referral']['name'] }}
@endif
|
|
|
{{__('Total')}} :
|
{{$invoice['patient_payment_amount']}}
|
|
|
{{__('Paid')}} :
|
{{$invoice['patient_paid']}}
|
|
|
|
@foreach($invoice['active_samples'] as $sample)
{{$sample['sample_id']}}
|
{{$sample['sample_type']['name']}}
|
@foreach($sample['sample_tests'] as $test)
-
{{$test['testable']['shortcut']}}
@endforeach
|
|
|
@endforeach
|
|
@if(isset($invoice['note']))
{{__('Note')}} : {!! str_replace(["\n"], [' '], $invoice['note']) !!}
|
@endif
@endforeach
@endsection