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

{!! Form::select('contact_id', [], null, ['class' => 'form-control mousetrap select2', 'id' => 'customer_id', 'placeholder' => 'Enter Customer name / phone', 'required', 'style' => 'width: 100%;']); !!}
@lang('account.customer_due'): {{$customer_due ?? ''}}
{{-- Removed mousetrap class as it was causing issue with barcode scanning --}} {!! Form::text('search_product', null, ['class' => 'form-control bd-rd-7', '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
@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 bd-rd-7', '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 bd-rd-7', '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 bd-rd-7', '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 bd-rd-7', '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 select2', 'placeholder' => __('lang_v1.select_invoice_scheme')]); !!}
@endif @if(in_array('tables' ,$enabled_modules) || in_array('service_staff' ,$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($pos_settings['inline_service_staff'])) @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')) @lang('sale.qty') @lang('restaurant.service_staff') @lang('sale.price_inc_tax') @lang('sale.subtotal')