Added list_expiring to show services expiring
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user