@php $cash = App\Models\CashRegister::where('user_id', auth()->user()->id)->where('status','open') ->first(); @endphp @if(isset($cash))
Opening Balance ( {{ \Carbon::createFromFormat('Y-m-d H:i:s', $cash->created_at)->format('jS M, Y h:i A') }} - {{ \Carbon::now()->format('jS M, Y h:i A') }})
@csrf
Credit Debit
Opening Balance: 0.00
Cash Payment
Cheque Payment:
Credit Payment
Card Payment
Card Payment
Other Payment
Total Sale 0.00
Total Purchase 0.00 0.00
{!! Form::label('closing_amount', __( 'Total Cash' ) . ':*') !!} {!! Form::text('closing_amount', null, ['class' => 'form-input input_number closing-amount', 'required', 'placeholder' => __( 'Total Cash' ) ]); !!}
{!! Form::label('total_card_slips', __( 'Total Card Slips' ) . ':*') !!} {!! Form::number('total_card_slips', null, ['class' => 'form-input', 'required', 'placeholder' => __( 'Total Card Slips' ), 'min' => 0 ]); !!}
{!! Form::label('total_cheques', __( 'Total cheques' ) . ':*') !!} {!! Form::number('total_cheques', null, ['class' => 'form-input', 'required', 'placeholder' => __( 'Total cheques' ), 'min' => 0 ]); !!}
{!! Form::label('grand_total', 'Grand Total:') !!} {!! Form::text('grand_total', null, ['class' => 'form-input input_number', 'id' => 'closing_grand_total' ]); !!}
{!! Form::label('closing_note', __( 'Closing Note:' ) . ':') !!} {!! Form::textarea('closing_note', null, ['class' => 'form-input', 'placeholder' => __( 'Closing Note' ), 'rows' => 3 ]); !!}
@endif