diff --git a/app/Services/Pos/SubscriptionService.php b/app/Services/Pos/SubscriptionService.php index 215c66a..7827b0a 100644 --- a/app/Services/Pos/SubscriptionService.php +++ b/app/Services/Pos/SubscriptionService.php @@ -21,12 +21,12 @@ class SubscriptionService public function priceMinor(): int { - return (int) config('pos.plans.pro.price_minor', config('pos.pro.price_minor', 7900)); + return (int) config('pos.plans.pro.price_minor', config('pos.pro.price_minor', 179000)); } public function enterprisePriceMinor(): int { - return (int) config('pos.plans.enterprise.price_minor', 24900); + return (int) config('pos.plans.enterprise.price_minor', 249000); } public function subscriptionFor(User $user): ?ProSubscription diff --git a/config/pos.php b/config/pos.php index e41e728..9fa63e9 100644 --- a/config/pos.php +++ b/config/pos.php @@ -12,7 +12,7 @@ return [ 'pro' => [ 'enabled' => filter_var(env('POS_PRO_ENABLED', true), FILTER_VALIDATE_BOOLEAN), - 'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 79000), + 'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 179000), 'currency' => env('POS_PRO_CURRENCY', 'GHS'), 'period_days' => (int) env('POS_PRO_PERIOD_DAYS', 30), 'grace_days' => (int) env('POS_PRO_GRACE_DAYS', 3), @@ -20,9 +20,15 @@ return [ 'plans' => [ 'pro' => [ - 'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 79000), + 'price_minor' => (int) env('POS_PRO_PRICE_MINOR', 179000), // null = unlimited 'max_locations' => (int) env('POS_PRO_MAX_LOCATIONS', 3), + // Marketing / plan page: hardware kit included with Pro (fulfilled by Ladill). + 'includes_hardware' => [ + 'payment_terminal' => 'Ladill-provided payment terminal', + 'receipt_printer' => 'Ladill-provided receipt printer', + 'barcode_scanner' => 'Ladill-provided barcode scanner', + ], ], 'enterprise' => [ 'price_minor' => (int) env('POS_ENTERPRISE_PRICE_MINOR', 249000), @@ -46,7 +52,7 @@ return [ 'upgrade_banner' => [ 'title' => 'Unlock POS Pro or Business', - 'description' => 'Your own payment gateway, unlimited catalog, multi-branch & team — from GHS 790/mo.', + 'description' => 'Your own payment gateway, unlimited catalog, multi-branch & team, plus Ladill-provided terminal, printer, and barcode scanner — from GHS 1790/mo.', 'route' => 'pos.pro.index', ], @@ -59,6 +65,7 @@ return [ 'register' => 'Register / till computer', 'customer_display' => 'Customer display', 'kitchen_display' => 'Kitchen display', + 'payment_terminal' => 'Payment terminal', 'receipt_printer' => 'Receipt printer', 'barcode_scanner' => 'Barcode scanner', 'tablet' => 'Tablet', @@ -75,6 +82,7 @@ return [ 'register' => 'Tracked for your team. Staff sign in on this machine — no device token is issued.', 'customer_display' => 'Creates (or reuses) the branch customer-display token. Open the URL on a second screen facing the customer.', 'kitchen_display' => 'Creates a device token. Open the kitchen URL on a wall tablet — no staff login required. Bump items from the board.', + 'payment_terminal' => 'Track a Ladill-provided or own card/MoMo terminal for this branch. Pairing depends on your gateway.', 'receipt_printer' => 'Token for a future print agent. Paper size still comes from branch receipt settings.', 'barcode_scanner' => 'Tracked for inventory. USB scanners work as keyboard wedges on the register today.', 'tablet' => 'Tracked for inventory. Use Customer display or Kitchen display if the tablet should run unattended.', diff --git a/resources/views/pos/pro/index.blade.php b/resources/views/pos/pro/index.blade.php index f55f413..db9c9e0 100644 --- a/resources/views/pos/pro/index.blade.php +++ b/resources/views/pos/pro/index.blade.php @@ -64,6 +64,10 @@
Business