More Standardisation work.
This commit is contained in:
@@ -79,6 +79,13 @@ class Model_Charge extends ORM_OSB implements Invoicable {
|
||||
}
|
||||
}
|
||||
|
||||
/** REQUIRED ABSTRACT METHODS **/
|
||||
public function namesub($variable=NULL) {
|
||||
return sprintf('%d@%2.2f - %s (%s)',$this->quantity,$this->amount,($this->description ? ' '.$this->description : '').($this->attributes ? ' ['.join('|',$this->attributes).']' : ''),$this->display('date_charge'));
|
||||
}
|
||||
|
||||
/** LOCAL METHODS **/
|
||||
|
||||
/**
|
||||
* Return the Invoice Item object for this charge
|
||||
*/
|
||||
|
Reference in New Issue
Block a user