Added list_expiring to show services expiring

This commit is contained in:
Deon George
2012-10-08 23:52:21 +11:00
parent 23247a5d4e
commit 59321a6877
7 changed files with 117 additions and 1 deletions

View File

@@ -36,6 +36,14 @@ class Model_Service_Plugin_ADSL extends Model_Service_Plugin {
->set('so',$this);
}
/**
* When does this service expire
*/
public function expire() {
// @todo This should work out if the invoices are currently due, then the expire is the invoice date, otherwise the next invoice date.
return NULL;
}
public function name() {
return $this->service_number;
}