@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% ;' , 'disabled']); !!} {{-- --}} {{-- --}} {{-- --}}
@lang('account.customer_due'): {{$customer_due ?? ''}}
{!! Form::text('search_product', null, ['class' => 'form-control mousetrap', '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', '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('subscription', $enabled_modules))
@show_tooltip(__('lang_v1.recurring_invoice_help'))
@endif @php $custom_labels = json_decode(session('business.custom_labels'), true); $common_settings = session()->get('business.common_settings'); @endphp @php $custom_field_1_label = !empty($custom_labels['sell']['custom_field_1']) ? $custom_labels['sell']['custom_field_1'] : ''; $is_custom_field_1_required = !empty($custom_labels['sell']['is_custom_field_1_required']) && $custom_labels['sell']['is_custom_field_1_required'] == 1 ? true : false; $custom_field_2_label = !empty($custom_labels['sell']['custom_field_2']) ? $custom_labels['sell']['custom_field_2'] : ''; $is_custom_field_2_required = !empty($custom_labels['sell']['is_custom_field_2_required']) && $custom_labels['sell']['is_custom_field_2_required'] == 1 ? true : false; $custom_field_3_label = !empty($custom_labels['sell']['custom_field_3']) ? $custom_labels['sell']['custom_field_3'] : ''; $is_custom_field_3_required = !empty($custom_labels['sell']['is_custom_field_3_required']) && $custom_labels['sell']['is_custom_field_3_required'] == 1 ? true : false; $custom_field_4_label = !empty($custom_labels['sell']['custom_field_4']) ? $custom_labels['sell']['custom_field_4'] : ''; $is_custom_field_4_required = !empty($custom_labels['sell']['is_custom_field_4_required']) && $custom_labels['sell']['is_custom_field_4_required'] == 1 ? true : false; $allow_multiplication = isset($custom_labels['product_sl']['allow_multiplication']) ? $custom_labels['product_sl']['allow_multiplication'] : false; @endphp @if(!empty($custom_field_1_label)) @php $label_1 = $custom_field_1_label . ':'; if($is_custom_field_1_required) { $label_1 .= '*'; } @endphp
{!! Form::label('custom_field_1', $label_1 ) !!} {!! Form::text('custom_field_1', $transaction->custom_field_1, ['class' => 'input-to-multiply form-control','placeholder' => $custom_field_1_label, 'required' => $is_custom_field_1_required]); !!}
@endif @if(!empty($custom_field_2_label)) @php $label_2 = $custom_field_2_label . ':'; if($is_custom_field_2_required) { $label_2 .= '*'; } @endphp
{!! Form::label('custom_field_2', $label_2 ) !!} {!! Form::text('custom_field_2', $transaction->custom_field_2, ['class' => 'input-to-multiply form-control','placeholder' => $custom_field_2_label, 'required' => $is_custom_field_2_required]); !!}
@endif @if(!empty($custom_field_3_label)) @php $label_3 = $custom_field_3_label . ':'; if($is_custom_field_3_required) { $label_3 .= '*'; } @endphp
{!! Form::label('custom_field_3', $label_3 ) !!} {!! Form::text('custom_field_3', $transaction->custom_field_3, ['class' => 'input-to-multiply form-control','placeholder' => $custom_field_3_label, 'required' => $is_custom_field_3_required]); !!}
@endif @if(!empty($custom_field_4_label)) @php $label_4 = $custom_field_4_label . ':'; if($is_custom_field_4_required) { $label_4 .= '*'; } @endphp
{!! Form::label('custom_field_4', $label_4 ) !!} {!! Form::text('custom_field_4', $transaction->custom_field_4, ['class' => 'input-to-multiply form-control','placeholder' => $custom_field_4_label, 'required' => $is_custom_field_4_required]); !!}
@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 @if (!isMobile()) @endif @foreach($sell_details as $sell_line) @include('sale_pos.edit_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')