Updated Login to use lnapp, and minor update to Invoice
This commit is contained in:
@@ -97,6 +97,10 @@ class Model_Charge extends ORM {
|
||||
return $iio;
|
||||
}
|
||||
|
||||
public function name($variable=NULL) {
|
||||
return StaticList_ItemType::get($this->type);
|
||||
}
|
||||
|
||||
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'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user