@extends('layouts.app') @section('content') @php($range = ['date_from' => $from->toDateString(), 'date_to' => $to->toDateString()])
Back office

Day book

Cash closing, exports and operational logs for {{ $from->format('d M Y') }} to {{ $to->format('d M Y') }}.
@foreach([ ['Gross sales', $summary['gross_sales']], ['Refunds', $summary['refunds']], ['Net cash', $summary['net_cash']], ['Cash variance', $summary['cash_variance']], ] as [$label, $value])
{{ $label }}Rs. {{ number_format($value) }}
@endforeach

End-of-day cash closing report

Tickets, memberships, refunds and shift variance in one closing view.
Tickets {{ $summary['tickets'] }} Memberships {{ $summary['memberships'] }} Pending refunds {{ $summary['pending_refunds'] }} Closed shifts {{ $summary['closed_shifts'] }}

CSV / Excel compatible import

Upload membership CSV with columns: name, father_name, cnic, phone, address, email, emergency_contact, category.
@can('modify')
@csrf
@endcan
@foreach($tickets as $t)@endforeach
TicketVisitorCNICPhoneClassAmountStatusDate
{{ $t->ticket_number }}{{ $t->visitor_name ?: '-' }}{{ $t->visitor_cnic ?: '-' }}{{ $t->visitor_phone ?: '-' }}{{ $t->category->code }}Rs. {{ number_format($t->amount) }}{{ strtoupper($t->status) }}{{ $t->issued_at->format('d M Y h:i A') }}
@foreach($memberships as $m)@endforeach
Member noNameCNICPlanValid till
{{ $m->membership_number }}{{ $m->name }}{{ $m->cnic }}{{ $m->category->code }}{{ $m->expiry_date->format('d M Y') }}
@foreach($transactions as $t)@endforeach
TypeDescriptionAmountPaid
{{ $t->type }}{{ $t->description }}Rs. {{ number_format($t->amount) }}{{ $t->paid_at->format('d M Y h:i A') }}
@foreach($entries as $e)@endforeach
StatusMessageGateTime
{{ $e->status }}{{ $e->message }}{{ $e->gate_name }}{{ $e->entry_time->format('d M Y h:i A') }}
@foreach($audits as $a)@endforeach
ActionDescriptionIPTime
{{ $a->action }}{{ $a->description }}{{ $a->ip_address }}{{ $a->created_at->format('d M Y h:i A') }}
@endsection