Moved GB/MB configuration for ADSL into database
This commit is contained in:
@@ -26,8 +26,8 @@ class Task_Adsl_Trafficcharge extends Minion_Task {
|
||||
if ($x=$so->plugin()->traffic_excess($date)) {
|
||||
$po = $so->plugin()->plan();
|
||||
$cost = $po->cost_extra();
|
||||
$allowance = $po->allowance(array(),FALSE,TRUE,1000);
|
||||
$used = $so->plugin()->traffic_month($date,FALSE,1000);
|
||||
$allowance = $po->allowance(array(),FALSE,TRUE,TRUE);
|
||||
$used = $so->plugin()->traffic_month($date,FALSE,TRUE);
|
||||
|
||||
foreach ($x as $k=>$v) {
|
||||
$co = ORM::factory('Charge');
|
||||
|
Reference in New Issue
Block a user