@php $rev = $p['revenue'] ?? []; $ref = $p['refunds'] ?? []; $coupons = $p['coupons'] ?? []; $acharyas = $p['acharyas'] ?? []; $date = $p['date'] ?? now()->subDay()->toDateString(); @endphp # Daily ops digest · {{ $date }} Below is yesterday's snapshot. Numbers are computed from `FinanceReports::yesterday` and cached for 5 minutes — open the [Finance Overview]({{ url('/admin/finance-overview') }}) page in the admin panel for live drill-down. ## Revenue | | Amount | |------------------|-------------------------------------------------------------| | Gross | ₹{{ number_format(($rev['gross_paise'] ?? 0) / 100, 0) }} | | Refunded | ₹{{ number_format(($rev['refunded_paise'] ?? 0) / 100, 0) }} | | **Net** | **₹{{ number_format(($rev['net_paise'] ?? 0) / 100, 0) }}** | | Discounts given | ₹{{ number_format(($rev['discount_paise'] ?? 0) / 100, 0) }} | | Foundation share | ₹{{ number_format(($rev['foundation_paise'] ?? 0) / 100, 0) }} | | Paid orders | {{ $rev['orders_count'] ?? 0 }} | ## Refunds - Refund rate: **{{ number_format(($ref['rate_bps'] ?? 0) / 100, 2) }}%** ({{ $ref['refund_count'] ?? 0 }} / {{ $ref['paid_count'] ?? 0 }} orders) - Refunded total: ₹{{ number_format(($ref['refunded_paise'] ?? 0) / 100, 0) }} @if (!empty($ref['top_reasons'])) - Top reasons: @foreach (array_slice($ref['top_reasons'], 0, 3) as $r) - {{ $r['reason'] ?? '—' }} ({{ $r['count'] }}) @endforeach @endif ## Top coupons @if (count($coupons) === 0) _No coupon redemptions yesterday._ @else | Code | Used | Discount | Attach | |------|------|----------|--------| @foreach (array_slice($coupons, 0, 5) as $c) | `{{ $c['code'] }}` | {{ $c['redemptions'] }} | ₹{{ number_format($c['gross_discount_paise'] / 100, 0) }} | {{ number_format($c['attach_rate_bps'] / 100, 2) }}% | @endforeach @endif ## Acharya utilisation @if (count($acharyas) === 0) _No acharya activity yesterday._ @else | Acharya | Booked | Utilisation | Revenue | |---------|--------|-------------|---------| @foreach (array_slice($acharyas, 0, 5) as $a) | {{ $a['name_hi'] }} | {{ $a['slots_booked'] }} | {{ $a['util_pct'] }}% | ₹{{ number_format($a['revenue_paise'] / 100, 0) }} | @endforeach @endif Open Finance Overview — AstroAयोध्या · Ops automation