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(
|
||||
invoice.calculateTotal(precision: precisionForInvoice(state, invoice)),
|
||||
context,
|
||||
clientId: invoice.clientId);
|
||||
clientId: invoice.isPurchaseOrder ? null : invoice.clientId);
|
||||
final useSidebarEditor =
|
||||
state.prefState.useSidebarEditor[EntityType.invoice] ?? false;
|
||||
final showLayoutToggle = isDesktop(context);
|
||||
|
|
|
|||
Loading…
Reference in New Issue