Add wallet balance widget to the profile menu (after Billing)
Deploy Ladill Mini / deploy (push) Successful in 25s

Wallet balance peek rendered as a menu row directly under Billing, backed by
a /wallet/balance endpoint (BillingClient) and guarded by Route::has. Also
opens Afia via a direct window event for reliability.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
isaacclad
2026-06-23 12:26:03 +00:00
co-authored by Claude Opus 4.8
parent 99f994f4e5
commit 9cbdd1a26c
10 changed files with 97 additions and 3 deletions
+2
View File
@@ -4,5 +4,7 @@ return [
'api_url' => env('BILLING_API_URL', 'https://ladill.com/api/billing'),
'api_key' => env('BILLING_API_KEY_MINI'),
'service' => 'mini',
'wallet_balance_route' => 'wallet.balance',
'currency' => 'GHS',
'platform_settings_connection' => env('BILLING_PLATFORM_SETTINGS_CONNECTION', 'platform'),
];