@if($action === "create" or $action === "edit") @if(!empty($quotation->quotationDetails) and $quotation->quotationDetails->count() > 0) @php $has_is_igst_customer = false; if(isset($quotation->is_igst_customer)) $has_is_igst_customer = $quotation->is_igst_customer; @endphp @foreach($quotation->quotationDetails as $key => $quotation_detail)
@endforeach @elseif($salesorder_details) @php $has_is_igst_customer = false; if(isset($salesorder->is_igst_customer)) $has_is_igst_customer = $salesorder->is_igst_customer; @endphp @foreach($salesorder_details as $key =>$salesorder_detail)
@endforeach @else
@endif @endif