Updates from lnApp
This commit is contained in:
@@ -17,7 +17,7 @@ class Model_Invoice_Item extends ORMOSB {
|
||||
'service'=>array()
|
||||
);
|
||||
protected $_has_many = array(
|
||||
'invoice_item_tax'=>array()
|
||||
'invoice_item_tax'=>array('far_key'=>'id')
|
||||
);
|
||||
protected $_updated_column = FALSE; // @todo No update columns
|
||||
|
||||
@@ -52,7 +52,7 @@ class Model_Invoice_Item extends ORMOSB {
|
||||
return ($this->price_base+$this->price_setup)*$this->quantity+$this->tax_amt-$this->discount_amt;
|
||||
}
|
||||
|
||||
public function save() {
|
||||
public function save(Validation $validation = NULL) {
|
||||
// Save the invoice item
|
||||
parent::save();
|
||||
|
||||
|
Reference in New Issue
Block a user