@if($price_list['insurance']) @endif @foreach($tests as $test) @if($price_list['insurance']) @endif @endforeach @foreach($cultures as $culture) @if($price_list['insurance']) @endif @endforeach @foreach($packages as $package) @if($price_list['insurance']) @endif @endforeach
Type Id NamePatient copayment Contract copaymentPrice
Test {{$test['id']}} {{$test['name']}} {{(isset($test['patient_copayment']))?$test['patient_copayment']:0}} {{(isset($test['contract_copayment']))?$test['contract_copayment']:0}} @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
Culture {{$culture['id']}} {{$culture['name']}} {{(isset($culture['patient_copayment']))?$culture['patient_copayment']:0}} {{(isset($culture['contract_copayment']))?$culture['contract_copayment']:0}} @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
Package {{$package['id']}} {{$package['name']}} {{(isset($package['patient_copayment']))?$package['patient_copayment']:0}} {{(isset($package['contract_copayment']))?$package['contract_copayment']:0}} @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