@extends('layouts.app') @section('title', 'Cash Register Report') @section('content')

Cash Register Report Register Reconciliation & Variance Analysis

@component('components.widget', ['class' => 'box-primary'])
{!! Form::label('start_date', __('accounting-reports::lang.start_date') . ':') !!} {!! Form::text('start_date', @format_date($report['summary']['start_date'] ?? now()->startOfMonth()), ['class' => 'form-control date-picker', 'readonly', 'id' => 'start_date']) !!}
{!! Form::label('end_date', __('accounting-reports::lang.end_date') . ':') !!} {!! Form::text('end_date', @format_date($report['summary']['end_date'] ?? now()->endOfMonth()), ['class' => 'form-control date-picker', 'readonly', 'id' => 'end_date']) !!}
{!! Form::label('location_id', __('purchase.business_location') . ':') !!} {!! Form::select('location_id', $locations ?? [], null, ['class' => 'form-control select2', 'placeholder' => __('messages.all'), 'style' => 'width:100%', 'id' => 'location_filter']) !!}

@endcomponent
Total Registers {{ $report['summary']['total_registers'] ?? 0 }}
Total Variance @format_currency($report['summary']['total_variance'] ?? 0)
Total Over @format_currency($report['summary']['total_over'] ?? 0)
Total Short @format_currency($report['summary']['total_short'] ?? 0)

Register Details

@forelse($report['registers'] ?? [] as $register) @empty @endforelse
Register ID User Location Opened At Closed At Opening Cash Cash Sales Cash Refunds Cash Expenses Expected Cash Actual Cash Variance Status
{{ $register['register_id'] ?? 'N/A' }} {{ $register['user_name'] ?? 'N/A' }} {{ $register['location_name'] ?? 'N/A' }} {{ @format_datetime($register['opened_at'] ?? null) }} {{ @format_datetime($register['closed_at'] ?? null) }} @format_currency($register['opening_cash'] ?? 0) @format_currency($register['cash_sales'] ?? 0) @format_currency($register['cash_refunds'] ?? 0) @format_currency($register['cash_expenses'] ?? 0) @format_currency($register['expected_cash'] ?? 0) @format_currency($register['actual_cash'] ?? 0) @format_currency($register['variance'] ?? 0) {{ ucfirst($register['status'] ?? 'N/A') }}
No registers found for the selected period.
@endsection @section('javascript') @endsection