{{ Form::open(['method'=>'post', 'id'=>'default_carrier_quotation_form', 'url'=>route('save.client.carrier.quotation.price'), 'onsubmit'=>'return saveClientCarrierQuotation(this)', 'class'=>'form-inline', 'enctype'=>"multipart/form-data"]) }}

Carrier Quotation

{{ Form::hidden('client_id',$client_id) }}
@foreach($carrierQuotations as $quotation) @php $carrierQuotation = json_decode($quotation->type, true); @endphp

{{$quotation->name}}

    @php $i=1; @endphp @foreach($packagetypes as $maintype)
  • {{ $maintype['name'] }}
  • @php $i++; @endphp @endforeach
@php $j=1; @endphp @foreach($packagetypes as $maintype)
@foreach($regions as $key => $value) {{$value['name']}} @endforeach
@foreach(array_keys($carrierQuotation[$maintype['id']][$regions[0]['id']]) as $type) {{displayWeight($type, $maintype['weight_type'])}} {{$maintype['weight_type']}} @endforeach
@foreach($regions as $v)
@if(isset($carrierQuotation[$maintype['id']][$v['id']])) @foreach($carrierQuotation[$maintype['id']][$v['id']] as $kk => $value) {{ Form::text($quotation->carrier_id.'_'.$maintype['id'].'_'.$v['id'].'['.$kk.']', $value, ['class' => '','style="width:78px;text-align:center;border:none;"']) }} @endforeach @endif
@endforeach
@php $j++; @endphp @endforeach
@endforeach
{{ Form::close() }}