@foreach($tests as $test)
| Test |
{{$test['id']}} |
{{$test['name']}} |
@if($price_list['insurance'])
{{(isset($test['patient_copayment']))?$test['patient_copayment']:0}}
|
{{(isset($test['contract_copayment']))?$test['contract_copayment']:0}}
|
@endif
@if(isset($price_list)&&$price_list['price_type']==1)
@php
$discount=($test['price']*$price_list['discount_percentage'])/100;
@endphp
{{($test['price']-$discount)}}
@else
{{(isset($test['price_list_price']))?$test['price_list_price']:0}}
@endif
|
@endforeach
@foreach($cultures as $culture)
| Culture |
{{$culture['id']}} |
{{$culture['name']}} |
@if($price_list['insurance'])
{{(isset($culture['patient_copayment']))?$culture['patient_copayment']:0}}
|
{{(isset($culture['contract_copayment']))?$culture['contract_copayment']:0}}
|
@endif
@if(isset($price_list)&&$price_list['price_type']==1)
@php
$discount=($culture['price']*$price_list['discount_percentage'])/100;
@endphp
{{($culture['price']-$discount)}}
@else
{{($culture['price_list_price'])?$culture['price_list_price']:0}}
@endif
|
@endforeach
@foreach($packages as $package)
| Package |
{{$package['id']}} |
{{$package['name']}} |
@if($price_list['insurance'])
{{(isset($package['patient_copayment']))?$package['patient_copayment']:0}}
|
{{(isset($package['contract_copayment']))?$package['contract_copayment']:0}}
|
@endif
@if(isset($price_list)&&$price_list['price_type']==1)
@php
$discount=($package['price']*$price_list['discount_percentage'])/100;
@endphp
{{($package['price']-$discount)}}
@else
{{($package['price_list_price'])?$package['price_list_price']:0}}
@endif
|
@endforeach