{{$product->product_name}} @if($product->is_warranty == 1) ({{'Warranty '.$product->period.' Month'}}) @endif

  Exchange {{-- --}}
{!! Form::select('return_type', ['exchange' => 'Exchange', 'refound' => 'Refound'], ' ', ['class' => 'form-control select_return_type', 'placeholder' => __('messages.please_select'), 'required', 'id' => 'select_return_type', 'data-row' => $row_count, 'style' => 'height: 30px; border-radius: 40px;width: 100px;']); !!}
@php $hide_tax = 'hide'; if(session()->get('business.enable_inline_tax') == 1){ $hide_tax = ''; } $tax_id = $product->tax_id; $item_tax = !empty($product->item_tax) ? $product->item_tax : 0; if($is_direct_sell) { $unit_price_inc_tax = $product->distribution_price ?? 0; } else { $unit_price_inc_tax = $product->sell_price_inc_tax; } if($hide_tax == 'hide'){ $tax_id = null; if($is_direct_sell) { $unit_price_inc_tax = $product->distribution_price ?? 0; } else { $unit_price_inc_tax = $product->default_sell_price; } } @endphp {{-- --}} @if(in_array('modifiers' , $enabled_modules))
@if(!empty($product->product_ms)) @include('restaurant.product_modifier_set.modifier_for_product', array('edit_modifiers' => true, 'row_count' => $loop->index, 'product_ms' => $product->product_ms ) ) @endif
@endif @php $max_qty_rule = $product->qty_available; $max_qty_msg = __('validation.custom-messages.quantity_not_available', ['qty'=> $product->formatted_qty_available, 'unit' => $product->unit ]); @endphp @if( session()->get('business.enable_lot_number') == 1) @php $exp_enabled = session()->get('business.enable_product_expiry'); $lot_no_line_id = ''; if(!empty($product->lot_no_line_id)){ $lot_no_line_id = $product->lot_no_line_id; } @endphp @if(!empty($product->lot_numbers)) @endif @endif @php if($product->line_discount_type == 'percentage') { $discount = ($product->line_discount_amount/100) * ($product->quantity_ordered*$unit_price_inc_tax); } else { $discount = $product->line_discount_amount; } @endphp {{-- If edit then transaction sell lines will be present --}} @if(!empty($product->transaction_sell_lines_id)) @endif
unit_allow_decimal == 1) data-decimal=1 @else data-decimal=0 data-rule-abs_digit="true" data-msg-abs_digit="@lang('lang_v1.decimal_value_not_allowed')" @endif data-rule-required="true" data-msg-required="@lang('validation.custom-messages.this_field_is_required')" @if($product->enable_stock) data-rule-max-value="{{$max_qty_rule}}" data-qty_available="{{$product->qty_available}}" data-msg-max-value="{{$max_qty_msg}}" data-msg_max_default="@lang('validation.custom-messages.quantity_not_available', ['qty'=> $product->formatted_qty_available, 'unit' => $product->unit ])" @endif >
{{$product->unit}} {{$discount}} {{($product->quantity_ordered*$unit_price_inc_tax) -$discount}}