Skip to content

Commit

Permalink
Fix for converted balance
Browse files Browse the repository at this point in the history
  • Loading branch information
hillelcoren committed Jul 15, 2023
1 parent ca0da17 commit bf6085e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ui/reports/invoice_report.dart
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ ReportResult invoiceReport(
break;
case InvoiceReportFields.converted_balance:
value = invoice.isCancelled
? 0
? 0.0
: round(invoice.balanceOrAmount * 1 / invoice.exchangeRate, 2);
break;
case InvoiceReportFields.client:
Expand Down

0 comments on commit bf6085e

Please sign in to comment.