{{ $product->sub_sku}}
|
{{ $product->product_name}}
@if($product->is_pack == 'Y')
{!! Form::text('products[' . $row_count . '][pack_qty]',
number_format(0, 2, $currency_details->decimal_separator, $currency_details->thousand_separator), ['class' => 'form-control input-sm input_number', 'placeholder' => 'Pack Qty']); !!}
@endif
|
@php
$unit_price_inc_tax = $product->default_sell_price;
@endphp
@php
$max_qty_rule = $product->qty_available;
$max_qty_msg = __('validation.custom-messages.quantity_not_available', ['qty'=> $product->formatted_qty_available ]);
@endphp
{!! Form::hidden('products[' . $row_count . '][product_id]', $product->product_id ); !!}
|
{!! Form::select('products[' . $row_count . '][unit_id]',$units, null, ['class' => 'form-control', 'placeholder'=>'Select Unit']); !!}
|
{!! Form::hidden('products[' . $row_count . '][rate]',number_format($product->default_sell_price, 2, $currency_details->decimal_separator, $currency_details->thousand_separator), ['class' => 'form-control input-sm pos_unit_price_inc_tax input_number']); !!}
|
{!! Form::hidden("products[$row_count][line_discount_type]",'percentage' , ['class' => 'form-control row_discount_type']); !!}
{!! Form::text("products[$row_count][line_discount_amount]", 0, ['class' => 'form-control input_number row_discount_amount']); !!}
|
{{$product->quantity_ordered*$unit_price_inc_tax}}
|
|