Files
Verde-Web/config/qr.php
Azure_0_ ee72cd7211 feat: segregate super admin and LGU admin workflows
- Created AdminBarangayController to strictly scope barangay management to LGU boundaries
- Created AdminTenantController for LGU admins to fetch their own tenant configurations
- Updated sidebar to expose Barangays to LGU admins under the Areas menu
- Updated frontend UI to hide the City selection dropdown from LGU admins and dynamically inject their city_municipality_id
- Handled form validation issues caused by hidden required fields
- Implemented LGU dashboard routes and views
- Enforced 2 free QR code allocations on resident signup
2026-07-07 00:36:04 +08:00

28 lines
935 B
PHP

<?php
return [
/*
| How many free QR codes a verified household receives.
*/
'free_allocation_per_household' => (int) env('QR_FREE_ALLOCATION_PER_HOUSEHOLD', 2),
/*
| When a household's active code count drops to or below this number,
| a QrBalanceLow event fires (notification listeners hook off it).
*/
'low_balance_threshold' => (int) env('QR_LOW_BALANCE_THRESHOLD', 2),
/*
| Default expiry for a generated batch (months from creation). Null
| means no expiry.
*/
'default_batch_expiry_months' => env('QR_DEFAULT_BATCH_EXPIRY_MONTHS', null),
/*
| Default retail price per QR code (in centavos) shown to residents on
| the partner-store browse + purchase pages. The LGU sets one official
| price; per-store overrides aren't modeled yet.
*/
'default_retail_price_per_code_centavos' => (int) env('QR_DEFAULT_RETAIL_PRICE_PER_CODE_CENTAVOS', 1000),
];