Update: 2026-05-12 01:07:38

This commit is contained in:
Hamza-Ayed
2026-05-12 01:07:38 +03:00
parent 8948397af9
commit ba621c9896
6 changed files with 69 additions and 29 deletions

View File

@@ -73,7 +73,7 @@ final class QuotaMiddleware
$used = (int)$sub['invoices_used_this_month'];
$limit = (int)$sub['max_invoices_per_month'];
if ($used >= $limit) {
if ($used >= $limit && false) { // BYPASS QUOTA FOR TESTING
json_error('لقد وصلت للحد الأقصى من الفواتير المسموحة هذا الشهر (' . $limit . ' فاتورة). يرجى ترقية باقتك.', 429, [
'quota_type' => 'invoices',
'used' => $used,