mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
fix: the currency code of transaction tax rate entry
This commit is contained in:
@@ -322,8 +322,8 @@ export const useBillAggregatedTaxRates = () => {
|
||||
const { taxRates } = useBillFormContext();
|
||||
|
||||
const aggregateTaxRates = React.useMemo(
|
||||
() => aggregateItemEntriesTaxRates(taxRates),
|
||||
[taxRates],
|
||||
() => aggregateItemEntriesTaxRates(values.currency_code, taxRates),
|
||||
[values.currency_code, taxRates],
|
||||
);
|
||||
// Calculate the total tax amount of bill entries.
|
||||
return React.useMemo(() => {
|
||||
|
||||
Reference in New Issue
Block a user