mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
billing cleanups
git-svn-id: http://www.observium.org/svn/observer/trunk@2766 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -155,9 +155,9 @@ if (bill_permitted($bill_id))
|
||||
$percent = round(($total_data) / $bill_data['bill_quota'] * 100, 2);
|
||||
$unit = "MB";
|
||||
$total_data = round($total_data, 2);
|
||||
echo("Billing Period from " . $fromtext . " to " . $totext . "
|
||||
<br />Transferred ".format_byes_billing($total_data)." of ".format_bytes_billing($bill_data['bill_quota'])." (".$percent."%)
|
||||
<br />Average rate " . formatRates($rate_average));
|
||||
echo("Billing Period from " . $fromtext . " to " . $totext);
|
||||
echo("<br />Transferred ".format_bytes_billing($total_data)." of ".format_bytes_billing($bill_data['bill_quota'])." (".$percent."%)");
|
||||
echo("<br />Average rate " . formatRates($rate_average));
|
||||
|
||||
$background = get_percentage_colours($percent);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user