Replace status with active in tables

This commit is contained in:
Deon George
2016-08-31 15:03:09 +10:00
parent 34e1e40f04
commit 54e4425aa8
51 changed files with 95 additions and 159 deletions

View File

@@ -29,6 +29,9 @@ class Model_ADSL_Supplier_Plan extends ORM {
* Filters used to format the display of values into friendlier values
*/
protected $_display_filters = array(
'active'=>array(
array('StaticList_YesNo::get',array(':value',TRUE)),
),
'base_cost'=>array(
array('Tax::add',array(':value')),
array('Currency::display',array(':value')),
@@ -49,9 +52,6 @@ class Model_ADSL_Supplier_Plan extends ORM {
array('Tax::add',array(':value')),
array('Currency::display',array(':value')),
),
'status'=>array(
array('StaticList_YesNo::get',array(':value',TRUE)),
),
);
// Map the table fields