@extends('layouts.'.env('THEME')) @section('content')

Voucher Payments Report

Currently viewing week commencing: {{ $week_commencing->format('D jS F Y') }}

Last BDUK data sync: {{ $last_update ? $last_update->format('D jS F Y, g:ia') : 'Never' }}
@include('voucher.admin.sync_voucher_states')
{{-- Payments Expected --}}

Friday Payments Expected

These are leads that are either 'Approved' or have been 'Paid' since {{ $dates['three_days_before_friday']->format('D jS M') }}. These are expected to be included in the pay run on {{ $dates['friday']->format('D jS M') }}.

@include('admin.partials.voucher_pay_table', ['leads' => $payments_expected, 'title' => 'Expected'])
{{-- Payments Confirmed --}}

Payments Confirmed

These leads have been marked as 'Paid' during the selected week ({{ $week_commencing->format('D jS M') }} to {{ $dates['end_of_week']->format('D jS M') }}).

@include('admin.partials.voucher_pay_table', ['leads' => $payments_confirmed, 'title' => 'Confirmed'])
{{-- Payments Pending Approval --}}

Payments Pending Customer Approval

These customers have had their service installed and are now live, but their voucher status has not yet been updated to 'Approved' or 'Paid'. They need to be chased to ensure their voucher is claimed and processed for payment.

@include('admin.partials.voucher_pay_table', ['leads' => $payments_pending])

{{-- 14-Day Install Forecast --}}

14-Day Install Forecast

These are voucher-eligible customers with an install appointment booked in the next 14 days (up to {{ $dates['forecast_end']->format('D jS M') }}). These represent potential future voucher payments.

@include('admin.partials.voucher_pay_table', ['leads' => $install_forecast])
@endsection