{!! Form::open(['url' => action([\App\Http\Controllers\CashRegisterController::class, 'postCloseRegister']), 'method' => 'post', 'id' => 'close_register_form' ]) !!} {!! Form::hidden('user_id', $register_details->user_id); !!} {!! Form::hidden('cash_register_list_id', $register_details->cash_register_list_id); !!} {!! Form::hidden('post_type', null, ['id' => 'pos_type']); !!}

@lang( 'cash_register.current_register' ) ( {{ \Carbon::createFromFormat('Y-m-d H:i:s', $register_details->open_time)->format('jS M, Y h:i A') }} - {{ \Carbon::now('GMT')->format('jS M, Y h:i A') }})

@include('cash_register.payment_details')
{!! Form::label('closing_amount', __( 'cash_register.total_cash' ) . ':*') !!} {!! Form::text('closing_amount', @num_format($register_details->cash_in_hand + $register_details->total_cash + $sell_no_registers['nonRegister']->total_cash_non_register - ($register_details->total_cash_refund > 0 ? $register_details->total_cash_refund : $details['transaction_return']->total_cash_refund) - $register_details->total_cash_expense), ['class' => 'form-control input_number', 'required', 'placeholder' => __( 'cash_register.total_cash' ), 'onfocus' => "show_close_register_numpad(1, this.name, this, 'close_register', 'amount')" ]); !!}
{!! Form::label('total_card_slips', __( 'cash_register.total_card_slips' ) . ':*') !!} @show_tooltip(__('tooltip.total_card_slips')) {!! Form::number('total_card_slips', $register_details->total_card_slips, ['class' => 'form-control', 'required', 'placeholder' => __( 'cash_register.total_card_slips' ), 'onfocus' => "show_close_register_numpad(1, this.name, this, 'close_register', 'quantity')", 'min' => 0 ]); !!}
{!! Form::label('total_cheques', __( 'cash_register.total_cheques' ) . ':*') !!} @show_tooltip(__('tooltip.total_cheques')) {!! Form::number('total_cheques', $register_details->total_cheques, ['class' => 'form-control', 'required', 'placeholder' => __( 'cash_register.total_cheques' ), 'onfocus' => "show_close_register_numpad(1, this.name, this, 'close_register', 'quantity')", 'min' => 0 ]); !!}

@lang( 'lang_v1.cash_denominations' )

@if(!empty($pos_settings['cash_denominations'])) @foreach(explode(',', $pos_settings['cash_denominations']) as $dnm) @endforeach
@lang('lang_v1.denomination')   @lang('lang_v1.count')   @lang('sale.subtotal')
{{$dnm}} X {!! Form::number("denominations[$dnm]", null, ['class' => 'form-control cash_denomination input-sm', 'min' => 0, 'data-denomination' => $dnm, 'style' => 'width: 100px; margin:auto;' ]); !!} = 0
@lang('sale.total') 0
@else

@lang('lang_v1.denomination_add_help_text')

@endif

{!! Form::label('closing_note', __( 'cash_register.closing_note' ) . ':') !!} {!! Form::textarea('closing_note', null, ['class' => 'form-control', 'placeholder' => __( 'cash_register.closing_note' ), 'rows' => 3 ]); !!}
@lang('report.user'): {{ $register_details->user_name}}
@lang('business.email'): {{ $register_details->email}}
@lang('business.business_location'): {{ $register_details->location_name}}
@lang('cash_register.cash_register_name'): {{ $register_details->cash_registers_name}}
@if(!empty($register_details->closing_note))
@lang('cash_register.closing_note'):
{{$register_details->closing_note}}
@endif
{!! Form::close() !!}
{{-- @if (true)
1 2 3
4 5 6
7 8 9
0 Clr DEL
@endif --}}