Show partial on invoice panel

This commit is contained in:
Hillel Coren 2020-07-14 21:07:00 +03:00
parent 3d8db4797a
commit 4e9f2f9b31
1 changed files with 2 additions and 1 deletions

View File

@ -273,7 +273,8 @@ class InvoiceOverview extends StatelessWidget {
invoice.customSurcharge4));
}
widgets.add(surchargeRow(localization.total, invoice.calculateTotal));
widgets.add(surchargeRow(localization.total,
invoice.partial != 0 ? invoice.partial : invoice.calculateTotal));
return ListView(
children: widgets,