|
{{$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
|
@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
|
{{format_money($invoice['total'])}} |
{{format_money($invoice['patient_payment_amount'])}} |
{{format_money($invoice['patient_paid'])}} |
{{format_money($invoice['patient_due'])}} |
@switch($invoice['rating'])
@case(1)
{{__('Very bad')}}
@break
@case(2)
{{__('Bad')}}
@break
@case(3)
{{__('Good')}}
@break
@case(4)
{{__('Very Good')}}
@break
@case(5)
{{__('Excellent')}}
@break
@endswitch
|
{!! str_replace("\n", " ", $invoice['feedback']) !!}
|
@endforeach