|
{{$invoice['id']}}
|
{{$invoice['created_at']}}
|
@if(isset($invoice['patient']))
{{$invoice['branch']['name_'.$locale]}}
@endif
|
@if(isset($invoice['patient']))
{{$invoice['patient']['name']}}
@endif
|
@if(isset($invoice['contract']))
{{$invoice['contract']['name']}}
@endif
|
@php
$count=1;
$count_tests=count($invoice['tests']);
@endphp
@foreach($invoice['tests'] as $test)
{{$test['test']['name']}} : {{$test['price']}} @if($count_tests!==$count) @endif
@php
$count++;
@endphp
@endforeach
@if(count($invoice['cultures']))
@endif
@php
$count=1;
$count_cultures=count($invoice['cultures']);
@endphp
@foreach($invoice['cultures'] as $culture)
{{$culture['culture']['name']}} : {{$culture['price']}} @if($count_cultures!==$count) @endif
@php
$count++;
@endphp
@endforeach
@if(count($invoice['packages']))
@endif
@php
$count=1;
$count_packages=count($invoice['packages']);
@endphp
@foreach($invoice['packages'] as $package)
{{$package['package']['name']}} : {{$package['price']}} @if($count_packages!==$count) @endif
@php
$count++;
@endphp
@endforeach
|
{{$invoice['total']}} |
@endforeach