|
{{$invoice['id']}}
|
@if($invoice['canceled'])
{{__('Canceled')}}
@else
{{__('Confirmed')}}
@endif
|
{{$invoice['created_at']}}
|
@if(isset($invoice['patient']))
{{$invoice['patient']['name']}}
@endif
|
@if(isset($invoice['patient']))
{{$invoice['patient']['insurance_card_id']}}
@endif
|
{{$invoice['approval_no']}}
|
{{$invoice['model_no']}}
|
@php
$count=1;
$count_tests=count($invoice['tests']);
@endphp
@foreach($invoice['tests'] as $test)
@if(isset($test['test']))
{{$test['test']['name']}} : {{$test['price']}} @if($count_tests!==$count) @endif
@php
$count++;
@endphp
@endif
@endforeach
@if(count($invoice['cultures']))
@endif
@php
$count=1;
$count_cultures=count($invoice['cultures']);
@endphp
@foreach($invoice['cultures'] as $culture)
@if(isset($culture['culture']))
{{$culture['culture']['name']}} : {{$culture['price']}} @if($count_cultures!==$count) @endif
@php
$count++;
@endphp
@endif
@endforeach
@if(count($invoice['packages']))
@endif
@php
$count=1;
$count_packages=count($invoice['packages']);
@endphp
@foreach($invoice['packages'] as $package)
@if(isset($package['package']))
{{$package['package']['name']}} : {{$package['price']}} @if($count_packages!==$count) @endif
@php
$count++;
@endphp
@endif
@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