mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Updating the expense invoice amount now updates the expense amount
This commit is contained in:
parent
85c99c76bd
commit
7b28a8f9ad
@ -192,7 +192,7 @@
|
||||
return roundToTwo(self.amount() * self.exchange_rate()).toFixed(2);
|
||||
},
|
||||
write: function(value) {
|
||||
self.exchange_rate(roundToFour(value / self.amount()));
|
||||
self.amount(roundToTwo(value / self.exchange_rate()));
|
||||
}
|
||||
}, self);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user