Updated OSB to work with KH 3.1
This commit is contained in:
@@ -261,9 +261,9 @@ class Model_Invoice extends ORMOSB {
|
||||
return $this->invoice_items[$c];
|
||||
}
|
||||
|
||||
public function save() {
|
||||
public function save(Validation $validation = NULL) {
|
||||
// Save the invoice
|
||||
parent::save();
|
||||
parent::save($validation);
|
||||
|
||||
// Need to save the associated items and their taxes
|
||||
if ($this->saved()) {
|
||||
|
Reference in New Issue
Block a user