mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 20:00:33 +00:00
feat( S&P ): Add currency code in conversion to invoice & credit.
This commit is contained in:
@@ -16,6 +16,7 @@ import styled from 'styled-components';
|
||||
import {
|
||||
useObserveInvoiceNoSettings,
|
||||
customerNameFieldShouldUpdate,
|
||||
useSetForeignCurrencyToEditForm,
|
||||
} from './utils';
|
||||
import { CLASSES } from 'common/classes';
|
||||
import {
|
||||
@@ -84,6 +85,8 @@ function InvoiceFormHeaderFields({
|
||||
}
|
||||
};
|
||||
|
||||
useSetForeignCurrencyToEditForm();
|
||||
|
||||
// Syncs invoice number settings with form.
|
||||
useObserveInvoiceNoSettings(invoiceNumberPrefix, invoiceNextNumber);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user