Files
ladill-pos/config/pos.php
T
isaaccladandCursor 9d7dac6c24
Deploy Ladill POS / deploy (push) Successful in 1m58s
Add multi-branch POS with team roles and branch-scoped cashiers.
Pro and Business users can manage branches, invite cashiers with branch assignment, and switch registers; sales and register flows respect acting location.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-08 06:05:30 +00:00

45 lines
1.6 KiB
PHP

<?php
return [
'default_currency' => env('POS_DEFAULT_CURRENCY', 'GHS'),
'merchant_import_enabled' => (bool) env('POS_MERCHANT_IMPORT_ENABLED', true),
// Service-to-service keys for the kitchen ingest API (POST /api/kitchen/orders),
// keyed by the calling service. Empty = that service cannot push (secure default).
'kitchen_api_keys' => array_filter([
'merchant' => env('KITCHEN_API_KEY_MERCHANT'),
]),
'pro' => [
'enabled' => filter_var(env('POS_PRO_ENABLED', true), FILTER_VALIDATE_BOOLEAN),
'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 7900),
'currency' => env('POS_PRO_CURRENCY', 'GHS'),
'period_days' => (int) env('POS_PRO_PERIOD_DAYS', 30),
'grace_days' => (int) env('POS_PRO_GRACE_DAYS', 3),
],
'plans' => [
'pro' => ['price_minor' => (int) env('POS_PRO_PRICE_MINOR', 7900)],
'enterprise' => ['price_minor' => (int) env('POS_ENTERPRISE_PRICE_MINOR', 24900)],
],
'prepaid_months' => [6, 12, 24],
'free' => [
'max_locations' => (int) env('POS_FREE_MAX_LOCATIONS', 1),
'max_products' => (int) env('POS_FREE_MAX_PRODUCTS', 50),
],
'roles' => [
'admin' => 'Admin — full access to all branches',
'manager' => 'Manager — all branches (or one if assigned)',
'cashier' => 'Cashier — assigned branch only',
],
'upgrade_banner' => [
'title' => 'Unlock POS Pro or Business',
'description' => 'Unlimited registers & catalog, stock tracking & ecosystem sync — from GHS 79/mo.',
'route' => 'pos.pro.index',
],
];