Changed checkout_plugin_id to checkout_id and ADSL speed to SUPPLIER speed
This commit is contained in:
@@ -597,10 +597,10 @@ class Controller_Admin_Service extends Controller_Service {
|
||||
|
||||
foreach ($svs as $a=>$so) {
|
||||
// Number of services
|
||||
if (! isset($stats[$so->product->plugin()->speed]['c']))
|
||||
$stats[$so->product->plugin()->speed]['c'] = 0;
|
||||
if (! isset($stats[$so->product->plugin()->adsl_supplier_plan->speed]['c']))
|
||||
$stats[$so->product->plugin()->adsl_supplier_plan->speed]['c'] = 0;
|
||||
|
||||
$stats[$so->product->plugin()->speed]['c']++;
|
||||
$stats[$so->product->plugin()->adsl_supplier_plan->speed]['c']++;
|
||||
$ts++;
|
||||
|
||||
// Amount of traffic
|
||||
@@ -612,10 +612,10 @@ class Controller_Admin_Service extends Controller_Service {
|
||||
$a = $i;
|
||||
}
|
||||
|
||||
if (! isset($stats[$so->product->plugin()->speed]['d'][$a]))
|
||||
$stats[$so->product->plugin()->speed]['d'][$a] = 0;
|
||||
if (! isset($stats[$so->product->plugin()->adsl_supplier_plan->speed]['d'][$a]))
|
||||
$stats[$so->product->plugin()->adsl_supplier_plan->speed]['d'][$a] = 0;
|
||||
|
||||
$stats[$so->product->plugin()->speed]['d'][$a]++;
|
||||
$stats[$so->product->plugin()->adsl_supplier_plan->speed]['d'][$a]++;
|
||||
}
|
||||
|
||||
if (count($stats)) {
|
||||
|
Reference in New Issue
Block a user