|
{{$invoice['id']}}
|
@if($invoice['canceled'])
@else
@endif
|
{{date('d-m-Y H:i',strtotime($invoice['created_at']))}}
|
@if(isset($invoice['patient']))
{{$invoice['patient']['name']}}
@endif
|
{{--
{{$invoice['company']['name']}}
| --}}
@if(isset($invoice['patient']))
{{$invoice['patient']['insurance_card_id']}}
@endif
|
{{$invoice['approval_no']}}
|
{{$invoice['model_no']}}
|
@foreach($invoice['tests'] as $test)
@if(isset($test['test']))
| {{$test['test']['name']}} |
{{$test['price']}} |
@endif
@endforeach
@foreach($invoice['cultures'] as $culture)
@if(isset($culture['culture']))
| {{$culture['culture']['name']}} |
{{$culture['price']}} |
@endif
@endforeach
@foreach($invoice['packages'] as $package)
@if(isset($package['package']))
{{$package['package']['name']}}
@endif
@foreach($package['tests'] as $test)
@if(isset($test['test']))
-
{{$test['test']['name']}}
@endif
@endforeach
@foreach($package['cultures'] as $culture)
@if(isset($culture['culture']))
-
{{$culture['culture']['name']}}
@endif
@endforeach
|
{{$package['price']}} |
@endforeach
|
{{-- {{$invoice['subtotal']}} |
{{$invoice['discount']}} |
{{$invoice['sample_collection_fees']}} |
{{$invoice['tax']}} | --}}
{{format_money($invoice['subtotal_2'])}} |
{{format_money($invoice['contract_payment_amount'])}} |
{{format_money($invoice['contract_payment_discount'])}} |
{{format_money($invoice['contract_payment_total'])}} |
{{format_money($invoice['contract_paid'])}} |
{{format_money($invoice['contract_due'])}} |
@endforeach