Use company currency for purchase order
This commit is contained in:
parent
31963ca7aa
commit
e2cda20f5c
|
|
@ -29,7 +29,7 @@ class InvoiceEditFooter extends StatelessWidget {
|
||||||
final total = formatNumber(
|
final total = formatNumber(
|
||||||
invoice.calculateTotal(precision: precisionForInvoice(state, invoice)),
|
invoice.calculateTotal(precision: precisionForInvoice(state, invoice)),
|
||||||
context,
|
context,
|
||||||
clientId: invoice.clientId);
|
clientId: invoice.isPurchaseOrder ? null : invoice.clientId);
|
||||||
final useSidebarEditor =
|
final useSidebarEditor =
|
||||||
state.prefState.useSidebarEditor[EntityType.invoice] ?? false;
|
state.prefState.useSidebarEditor[EntityType.invoice] ?? false;
|
||||||
final showLayoutToggle = isDesktop(context);
|
final showLayoutToggle = isDesktop(context);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue