{{--START BY AHMED --}} @php $num= 0; @endphp @foreach($cost_breakdown_other_trim as $other_trim) @php $num++; @endphp @endforeach
Supplier Back To back L/C Other Trims Name Description Required Quantity Unit Price Other Trim Cost Action
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::select('provider'.$num,$repository->suppliers(),$other_trim ? $other_trim->provider :null,['id'=>'provider'.$num,'class'=>'form-control','placeholder'=>'Select Supplier']) }} @if($errors->has('provider'.$num)) {{ $errors->first('provider'.$num) }} @endif
{{ Form::text('other_bblc'.$num,$other_trim ? $other_trim->other_bblc :null,['id'=>'other_bblc'.$num,'class'=>'form-control','placeholder'=>'Fabric Content']) }} @if($errors->has('other_bblc'.$num)) {{ $errors->first('other_bblc'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::select('other_trim_id'.$num,$repository->otherTrims(),$other_trim ? $other_trim->other_trim_id :null,['id'=>'other_trim_id'.$num,'class'=>'form-control','placeholder'=>'Select Fabric']) }} @if($errors->has('other_trim_id'.$num)) {{ $errors->first('other_trim_id'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('other_trim_description'.$num,$other_trim ? $other_trim->other_trim_description :null,['id'=>'other_trim_description'.$num,'class'=>'form-control','placeholder'=>'Description']) }} {{ Form::hidden('mcd_other_trim_id'.$num,$other_trim ? $other_trim->id :null,['id'=>'mcd_other_trim_id'.$num,'class'=>'form-control','placeholder'=>'Description']) }} @if($errors->has('other_trim_description'.$num)) {{ $errors->first('other_trim_description'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('qty'.$num,$other_trim ? $other_trim->qty :null,['id'=>'qty'.$num,'class'=>'form-control ','placeholder'=>'Required quantity','onkeyup'=>'totalOtherCost('.$num.')']) }} @if($errors->has('qty'.$num)) {{ $errors->first('qty'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('price'.$num,$other_trim ? $other_trim->price :null,['id'=>'price'.$num,'class'=>'form-control','placeholder'=>'Unit Price/mtr ','onkeyup'=>'totalOtherCost('.$num.')']) }} @if($errors->has('price'.$num)) {{ $errors->first('price'.$num) }} @endif
{{--{{ Form::label('','Unit : ') }}--}} {{ Form::text('cost'.$num,$other_trim ? $other_trim->cost :null,['id'=>'cost'.$num,'class'=>'form-control last_salary','placeholder'=>'Appointed Trims Cost US$ With DZN ']) }} @if($errors->has('cost'.$num)) {{ $errors->first('cost'.$num) }} @endif
{{ Form::button('',['class'=>'far fa-trash-alt btn btn-danger',"id"=>'remove']) }} || {{ Form::button("",['class'=>'btn btn-primary far fa-plus-square','id'=>'add_more','onclick'=>'addRow2()']) }}
{{-- row end --}}