@can('Open Cash Register') @if(session('intended_after_register') && $forceOpen)
@lang('cashregister::app.cashRegister') - @lang('cashregister::app.openRegister')
@endif @endcan

@lang('cashregister::app.sessionStatus')

@if($session)
@lang('cashregister::app.status') ● @lang('cashregister::app.openStatus')
@lang('cashregister::app.openedAt')
{{ $session->opened_at?->timezone(timezone())?->format('d M Y, h:i A') }}
@lang('cashregister::app.expectedCash')
{{ currency_format((float) $expectedCash, restaurant()->currency_id) }}
@else
@cannot('Open Cash Register')
@lang('cashregister::app.noPermissionOpenRegister')
@endcannot
@lang('cashregister::app.noActiveSession')
@can('Open Cash Register')
@lang('cashregister::app.openRegister')
@endcan
@endif
@if($session)

@lang('cashregister::app.registerStatus')

@lang('cashregister::app.openingBalance')
{{ currency_format((float) $openingFloat, restaurant()->currency_id) }}
@lang('cashregister::app.cashSalesLabel')
{{ currency_format((float) $cashSales, restaurant()->currency_id) }}
@lang('cashregister::app.cashOutLabel')
-{{ currency_format((float) $cashOut, restaurant()->currency_id) }}
@lang('cashregister::app.safeDropLabel')
-{{ currency_format((float) $safeDrop, restaurant()->currency_id) }}
@lang('cashregister::app.expectedCash') {{ currency_format((float) $expectedCash, restaurant()->currency_id) }}
@endif @if($session)

@lang('cashregister::app.quickActions')

@lang('cashregister::app.cashIn') @lang('cashregister::app.cashOutLabel') @lang('cashregister::app.safeDropLabel')
@endif
{{--

Reports

--}} @if($session)

@lang('cashregister::app.closeRegister')

@if(!$showClose) @else
@lang('cashregister::app.enterDenomsForClosing')
@foreach($denoms as $index => $d)
{{ currency_format((float) $d['value'], restaurant()->currency_id) }}
{{ currency_format((float) ($d['subtotal'] ?? 0), restaurant()->currency_id) }}
@endforeach
@lang('cashregister::app.countedTotal') {{ currency_format((float) $countedCash, restaurant()->currency_id) }}
@lang('cashregister::app.submitForApproval')
@endif
@endif
@if($session)

@lang('cashregister::app.transactionLogs')

@php $txns = \Modules\CashRegister\Entities\CashRegisterTransaction::where('cash_register_session_id', $session->id) ->orderByDesc('happened_at') ->limit(20) ->get(); @endphp @if($txns->count())
@foreach($txns as $t) @endforeach
@lang('cashregister::app.dateTime') @lang('cashregister::app.type') @lang('cashregister::app.amount') @lang('cashregister::app.reason')
{{ $t->happened_at?->timezone(timezone())?->format('d M Y, h:i A') }} @lang('app.' . $t->type) {{ ($t->type==='cash_out' ? '-' : '+') . currency_format($t->amount, restaurant()->currency_id) }} {{ $t->reason ?? '—' }}
@else

@lang('cashregister::app.noDataAvailable')

@endif
@endif {{ $confirmTitle }} {{ $confirmMessage }} Cancel Confirm