This commit is contained in:
James Cole
2024-01-02 22:28:58 +01:00
parent c3068d10bf
commit 98b95ab891
8 changed files with 75 additions and 4 deletions

View File

@@ -652,7 +652,7 @@ export default {
}
}
// set foreign currency info:
if (row.foreign_amount.amount !== '' && parseFloat(row.foreign_amount.amount) !== .00) {
if (row.foreign_amount.amount.toString() !== '' && parseFloat(row.foreign_amount.amount) !== .00) {
foreignAmount = row.foreign_amount.amount;
foreignCurrency = row.foreign_amount.currency_id;
}