0, 'pending' => 0, 'received' => 0, 'deposited' => 0]; $collectorOptions = $collector_options ?? []; $showBillingPanel = isset($show_billing_panel) ? (bool) $show_billing_panel : true; $showAccountsPanel = isset($show_accounts_panel) ? (bool) $show_accounts_panel : true; if (! $showBillingPanel && ! $showAccountsPanel) { $showAccountsPanel = true; } $pageTitle = 'Cash Submission'; $pageSubtitle = 'Select patient payment rows from Payment History, submit exact totals to Accounts, and verify with full payment-level audit.'; if ($showBillingPanel && ! $showAccountsPanel) { $pageTitle = 'Billing Cash Submission'; $pageSubtitle = 'Select cash payments and submit to Accounts Department.'; } elseif (! $showBillingPanel && $showAccountsPanel) { $pageTitle = 'Accounts Cash Submission Verification'; $pageSubtitle = 'Accept submitted cash statements and mark them deposited after verification.'; } ?>

All
Pending
Received
Deposited
1) Select Payments For Submission

[], 'totals' => ['payment_count' => 0, 'total_receipts' => 0]]) ?>
2) Accounts Acceptance And Verification Queue
$scrolls ?? []]) ?>