feat: simplify billing status to Active/Invoiced/Expired with new SQL migration and cron rewrite
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/5dbd58e1-7aa0-41e2-8dd3-c56b69ede05e Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
b99cd45db9
commit
b03d9b2171
11 changed files with 738 additions and 499 deletions
|
|
@ -32,7 +32,7 @@ if ($db && $user_id > 0) {
|
|||
FROM {$table_prefix}billing_orders o
|
||||
LEFT JOIN {$table_prefix}billing_services s ON o.service_id = s.service_id
|
||||
WHERE o.user_id = $user_id
|
||||
AND o.status = 'paid'
|
||||
AND o.status = 'Active'
|
||||
ORDER BY o.order_date DESC
|
||||
LIMIT 10";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue