Fix game monitor billing expiration display
Agent-Logs-Url: https://github.com/GameServerPanel/GSP/sessions/0bb2bf91-6e30-4a24-a514-110dfa54397f Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This commit is contained in:
parent
d36e85c71f
commit
2a5dd10181
2 changed files with 74 additions and 3 deletions
|
|
@ -351,9 +351,10 @@ echo "<table id='servermonitor' class='tablesorter' data-sortlist='[[0,0],[3,1]]
|
|||
|
||||
|
||||
|
||||
//set the display of how long server has until expired
|
||||
//default is it never expires
|
||||
$expiration_dates = "This Server Will NEVER Expire";
|
||||
// Look up the billing expiration for this server from billing_orders.end_date.
|
||||
// See get_server_billing_expiration_html() in home_handling_functions.php for
|
||||
// color thresholds: green >10 days, yellow 4-10 days, red 1-3 days or expired.
|
||||
$expiration_dates = get_server_billing_expiration_html((int)$server_home['home_id']);
|
||||
|
||||
|
||||
if( !isset($server_home['mod_id']) )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue