feat(Sales & Purchases ): add currency tag.

This commit is contained in:
elforjani13
2022-02-21 19:30:00 +02:00
parent b15437c88e
commit 9ff91e27e5
20 changed files with 348 additions and 111 deletions

View File

@@ -57,7 +57,7 @@ function InvoiceFormHeaderFields({
invoiceNextNumber,
}) {
// Invoice form context.
const { customers, isForeignCustomer, setSelectCustomer } =
const { customers, isForeignCustomer,selectCustomer ,setSelectCustomer } =
useInvoiceFormContext();
// Handle invoice number changing.
@@ -115,7 +115,7 @@ function InvoiceFormHeaderFields({
popoverFill={true}
allowCreate={true}
/>
<InvoiceCurrencyTag isForeignCustomer={isForeignCustomer} />
<InvoiceCurrencyTag />
</ControlCustomerGroup>
</FormGroup>
)}