Misc fixes for ADSL excess traffic and strtotime() functions for last month
This commit is contained in:
@@ -61,7 +61,7 @@ class Model_Invoice_Item extends ORM_OSB {
|
||||
|
||||
case 1:
|
||||
// @todo
|
||||
return $ii;
|
||||
return $this->product_name;
|
||||
|
||||
case 2:
|
||||
case 3:
|
||||
@@ -69,7 +69,10 @@ class Model_Invoice_Item extends ORM_OSB {
|
||||
case 5:
|
||||
case 6:
|
||||
return ((! $this->service_id OR $this->product_id OR $this->charge_id OR $this->product_name OR $this->recurring_schedule OR ! $this->date_start OR ! $this->date_stop) ? '+ ' : '').$ii;
|
||||
|
||||
|
||||
case 8:
|
||||
return $this->product_name;
|
||||
|
||||
case 124:
|
||||
case 125:
|
||||
case 126:
|
||||
@@ -130,7 +133,7 @@ class Model_Invoice_Item extends ORM_OSB {
|
||||
|
||||
} else
|
||||
throw new Kohana_Exception('Couldnt save invoice_item for some reason?');
|
||||
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user