Keep POS retail catalog product-only and raise Pro pricing.
Deploy Ladill POS / deploy (push) Successful in 46s

Retail still reads live CRM products only (not services), products mode follows the acting branch, and suite Pro/Business defaults match the tenfold price update.
This commit is contained in:
isaacclad
2026-07-15 13:54:53 +00:00
parent 7c20cf705a
commit e2b608a506
4 changed files with 12 additions and 9 deletions
+2 -1
View File
@@ -76,9 +76,10 @@ class SubscriptionService
}
try {
// CRM products only (not services). Laravel paginator exposes total at the root.
$response = CrmClient::for($ownerRef)->products(['type' => 'product', 'per_page' => 1]);
return (int) ($response['meta']['total'] ?? count((array) ($response['data'] ?? [])));
return (int) ($response['total'] ?? $response['meta']['total'] ?? count((array) ($response['data'] ?? [])));
} catch (\Throwable) {
return 0;
}