{!! Form::open(['url' => action([\App\Http\Controllers\SellPackingController::class, 'update'], [$id]), 'method' => 'put', 'id' => 'sell_packing_edit_form' ]) !!}
@foreach($sell->sell_lines as $sell_line) @php $check_decimal = 'false'; if($sell_line->product->unit->allow_decimal == 0){ $check_decimal = 'true'; } $unit_name = $sell_line->product->unit->short_name; if(!empty($sell_line->sub_unit)) { $unit_name = $sell_line->sub_unit->short_name; if($sell_line->sub_unit->allow_decimal == 0){ $check_decimal = 'true'; } else { $check_decimal = 'false'; } } @endphp @endforeach
# @lang('product.product_name') @lang('sale.unit_price') @lang('lang_v1.purchased_quantity') @lang('lang_v1.quantity_packed') @lang('lang_v1.quantity_to_be_packed') @lang('lang_v1.quantity')
{{ $packed_sell_line->transaction->invoice_no }} {{ $packed_sell_line->transaction->contact->name }} {{ $packed_sell_line->product->name}} {{ $packed_sell_line->sell_lines->quantity }} {{$unit_name}} {{ $packed_sell_line->sell_lines->quantity_packed }} {{$unit_name}} {{ $deliveryQty }} {{$unit_name}}
{!! Form::close() !!}