@lang('sale.invoice_no'): {{$transaction->invoice_no}}

{!! Form::select('contact_id', [], null, ['class' => 'form-control mousetrap', 'id' => 'customer_id', 'placeholder' => 'Enter Customer name / phone', 'required', 'style' => 'width: 100%;']); !!}
@lang('account.customer_due'): {{$customer_due ?? ''}}
@if(!empty($pos_settings['enable_exchange_module']))
{!! Form::select('exchange_system', ['sell' => 'Sell Mode', 'exchange' => 'Exchange Mode'], !empty($purchase->purchase_lines) ? 'exchange' : 'sell', ['class' => 'form-control mousetrap', 'id' => 'exchange_system', 'required']); !!}
@endif
{{-- Removed mousetrap class as it was causing issue with barcode scanning --}} {!! Form::text('search_product', null, ['class' => 'form-control', 'id' => 'search_product', 'placeholder' => __('lang_v1.search_product_placeholder'), 'autofocus' => true, ]); !!} @if(isset($pos_settings['enable_weighing_scale']) && $pos_settings['enable_weighing_scale'] == 1) @endif
{{-- {!! Form::text('search_product_barcode', null, ['class' => 'form-control', 'id' => 'search_product_barcode', 'placeholder' => __('lang_v1.search_product_by_barcode'), 'disabled' => is_null($default_location)? true : false, 'autofocus' => is_null($default_location)? false : true,]); !!} --}} {!! Form::text('search_product_barcode', null, ['class' => 'form-control', 'id' => 'search_product_barcode', 'placeholder' => __('lang_v1.search_product_by_barcode'), 'autofocus' => true,]); !!}
{!! Form::text('search_product_for_exchange_recived', null, ['class' => 'form-control', 'id' => 'search_product_for_exchange_recived', 'placeholder' => __('lang_v1.search_exchange_recived_product_placeholder')]); !!} @if(isset($pos_settings['enable_weighing_scale']) && $pos_settings['enable_weighing_scale'] == 1) @endif
{{-- Removed mousetrap class as it was causing issue with barcode scanning --}} {!! Form::text('search_exchange_given_product', null, ['class' => 'form-control', 'id' => 'search_exchange_given_product', 'placeholder' => __('lang_v1.search_exchange_given_product_placeholder')]); !!} @if(isset($pos_settings['enable_weighing_scale']) && $pos_settings['enable_weighing_scale'] == 1) @endif
{!! Form::file('exchange_document', ['id' => 'exchange_document', 'accept' => 'image/*', 'class' => 'upload-element']); !!}
@if(!empty($pos_settings['show_invoice_layout']))
{!! Form::select('invoice_layout_id', $invoice_layouts, $transaction->location->invoice_layout_id, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.select_invoice_layout'), 'id' => 'invoice_layout_id']); !!}
@endif @if(!empty($commission_agent)) @php $is_commission_agent_required = !empty($pos_settings['is_commission_agent_required']); @endphp
{!! Form::select('commission_agent', $commission_agent, $transaction->commission_agent, ['class' => 'form-control select2', 'placeholder' => __('lang_v1.commission_agent'), 'id' => 'commission_agent', 'required' => $is_commission_agent_required]); !!}
@endif @if(!empty($pos_settings['enable_transaction_date']))
{!! Form::text('transaction_date', @format_datetime($transaction->transaction_date), ['class' => 'form-control', 'readonly', 'required', 'id' => 'transaction_date']); !!}
@endif @if(config('constants.enable_sell_in_diff_currency') == true)
{!! Form::text('exchange_rate', @num_format($transaction->exchange_rate), ['class' => 'form-control input-sm input_number', 'placeholder' => __('lang_v1.currency_exchange_rate'), 'id' => 'exchange_rate']); !!}
@endif @if(!empty($transaction->selling_price_group_id))
{!! Form::hidden('price_group', $transaction->selling_price_group_id, ['id' => 'price_group']) !!} {!! Form::text('price_group_text', $transaction->price_group->name, ['class' => 'form-control', 'readonly']); !!} @show_tooltip(__('lang_v1.price_group_help_text'))
@endif @if(in_array('types_of_service', $enabled_modules) && !empty($transaction->types_of_service))
{!! Form::text('types_of_service_text', $transaction->types_of_service->name, ['class' => 'form-control', 'readonly']); !!} {!! Form::hidden('types_of_service_id', $transaction->types_of_service_id, ['id' => 'types_of_service_id']) !!} @show_tooltip(__('lang_v1.types_of_service_help'))

@lang('lang_v1.price_group'): @if(!empty($transaction->selling_price_group_id)){{$transaction->price_group->name}}@endif

@endif @if($transaction->status == 'draft' && !empty($pos_settings['show_invoice_scheme']))
{!! Form::select('invoice_scheme_id', $invoice_schemes, $default_invoice_schemes->id, ['class' => 'form-control', 'placeholder' => __('lang_v1.select_invoice_scheme')]); !!}
@endif @if(in_array('tables' ,$enabled_modules) || in_array('service_staff' ,$enabled_modules))
@endif @if(in_array('kitchen' ,$enabled_modules))
@endif @if(in_array('subscription', $enabled_modules))
@show_tooltip(__('lang_v1.recurring_invoice_help'))
@endif
@if(!empty($pos_module_data)) @foreach($pos_module_data as $key => $value) @if(!empty($value['view_path'])) @includeIf($value['view_path'], ['view_data' => $value['view_data']]) @endif @endforeach @endif
@php $hide_tax = ''; if( session()->get('business.enable_inline_tax') == 0){ $hide_tax = 'hide'; } @endphp @if(!empty($common_settings['enable_serial_number'])) @endif @if(!empty($pos_settings['show_multi_unit'])) @endif @if(!empty($pos_settings['inline_service_staff'])) @endif @if (!empty($purchase)) @if (!empty($purchase->purchase_lines)) @foreach($purchase->purchase_lines as $p_key => $purchase) @include('purchase.partials.edit_exchange_recived_entry_row', [ 'purchase' => $purchase, 'product' => $purchase->product, 'variation' => $purchase->variations, 'p_row_count' => $p_key, 'price_groups' => $price_groups, 'tax_dropdown' => $taxes, 'sub_units' => !empty($purchase->unit_details) ? $purchase->unit_details : [], 'action' => 'edit' ] ) @endforeach @endif @endif @foreach($sell_details as $sell_line) @include('sale_pos.product_row', [ 'product' => $sell_line, 'row_count' => $loop->index, 'tax_dropdown' => $taxes, 'sub_units' => !empty($sell_line->unit_details) ? $sell_line->unit_details : [], 'action' => 'edit' ] ) @endforeach
@lang('sale.product') @show_tooltip(__('lang_v1.tooltip_sell_product_column')) Product Serial @lang('lang_v1.qty') @lang('product.unit') @lang('sale.unit_price') @lang('lang_v1.set_discount') @lang('sale.discount_type') Other Unit @lang('restaurant.service_staff') @lang('sale.price_inc_tax') @lang('sale.subtotal')