mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat(qucikpayment):add exchange rate muted & branch.
This commit is contained in:
@@ -47,10 +47,3 @@ export const useSetPrimaryBranchToForm = () => {
|
||||
}
|
||||
}, [isBranchesSuccess, setFieldValue, branches]);
|
||||
};
|
||||
|
||||
export const useForeignAccount = () => {
|
||||
const { values } = useFormikContext();
|
||||
const { baseCurrency } = useQuickPaymentMadeContext();
|
||||
|
||||
return !isEqual(baseCurrency, values.currency_code);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user