@extends('layouts.app') @section('content')
@php $cards = [ ['Visitors checked in', $stats['todayVisitors'], 'bi-person-walking', 'Entries marked used today'], ['Cash received today', 'Rs. '.number_format($stats['todayRevenue']), 'bi-wallet2', 'Tickets and memberships'], ['This month', 'Rs. '.number_format($stats['monthlyRevenue']), 'bi-calendar3', 'Running revenue total'], ['Active members', $stats['activeMemberships'], 'bi-person-check', 'Valid cards on record'], ['Expired cards', $stats['expiredMemberships'], 'bi-person-dash', 'Need renewal follow-up'], ['Tickets issued', $stats['todayTickets'], 'bi-ticket-perforated', 'Printed from counter'], ['New memberships', $stats['todayMemberships'], 'bi-person-vcard', 'Created today'], ['Offline queue', $stats['offlineQueued'], 'bi-cloud-slash', 'Pending counter sync'], ['Pending refunds', $stats['pendingRefunds'], 'bi-arrow-counterclockwise', 'Awaiting approval'], ['Open shifts', $stats['openShifts'], 'bi-cash-coin', 'Cashiers currently open'], ]; @endphp