Add Business tier and Paystack prepaid billing for POS.
Deploy Ladill POS / deploy (push) Successful in 35s

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-30 01:55:38 +00:00
co-authored by Cursor
parent f800f0c1ca
commit d66e656b9c
11 changed files with 403 additions and 90 deletions
+6 -1
View File
@@ -30,9 +30,14 @@ class AppServiceProvider extends ServiceProvider
$restaurant = PosLocation::owned((string) $account->public_id)
->where('service_style', PosLocation::STYLE_RESTAURANT)
->exists();
$view->with('isPro', app(SubscriptionService::class)->isPro($account));
$svc = app(SubscriptionService::class);
$view->with('isPro', $svc->isPro($account));
$view->with('hasPaidPlan', $svc->hasPaidPlan($account));
$view->with('isEnterprise', $svc->isEnterprise($account));
} else {
$view->with('isPro', false);
$view->with('hasPaidPlan', false);
$view->with('isEnterprise', false);
}
$view->with('posRestaurant', $restaurant);
});