Work on Email and other major consistency work
This commit is contained in:
@@ -91,6 +91,12 @@ class Model_Service extends ORM_OSB {
|
||||
return $format ? Currency::display($total) : $total;
|
||||
}
|
||||
|
||||
public function email() {
|
||||
return ORM::factory('Email_Log')
|
||||
->where('module_id','=',$this->mid())
|
||||
->where('module_data','=',$this);
|
||||
}
|
||||
|
||||
/**
|
||||
* When does this service expire
|
||||
*/
|
||||
|
Reference in New Issue
Block a user