Cart work for payments and Paypal work to test
This commit is contained in:
@@ -142,6 +142,8 @@ class Model_Invoice_Item extends ORM_OSB {
|
||||
|
||||
case 6: return _('Service Excess Fee');
|
||||
|
||||
case 125: return _('Payment Fee');
|
||||
|
||||
case 126: return _('Rounding');
|
||||
|
||||
case 127: return _('Late Payment Fee');
|
||||
@@ -164,6 +166,9 @@ class Model_Invoice_Item extends ORM_OSB {
|
||||
}
|
||||
|
||||
public function save(Validation $validation = NULL) {
|
||||
if (! $this->changed())
|
||||
return;
|
||||
|
||||
// Save the invoice item
|
||||
parent::save($validation);
|
||||
|
||||
|
Reference in New Issue
Block a user