Status updates, SSL updates

This commit is contained in:
Deon George
2013-11-08 22:02:32 +11:00
parent 28ea1ac613
commit 2d9d7f383c
31 changed files with 688 additions and 299 deletions

View File

@@ -36,7 +36,7 @@ class Model_Charge extends ORM_OSB {
array('Config::date',array(':value')),
),
'processed'=>array(
array('StaticList_YesNo::get',array(':value')),
array('StaticList_YesNo::get',array(':value',TRUE)),
),
'sweep_type'=>array(
array('StaticList_SweepType::get',array(':value')),
@@ -59,10 +59,6 @@ class Model_Charge extends ORM_OSB {
}
}
public function processed($render=FALSE) {
return $this->label_bool('processed',$render);
}
public function total($format=FALSE) {
$result = $this->quantity * $this->amount;