mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat(qucikpayment):add exchange rate muted & branch.
This commit is contained in:
@@ -14,12 +14,7 @@ const QuickPaymentMadeContext = React.createContext();
|
||||
/**
|
||||
* Quick payment made dialog provider.
|
||||
*/
|
||||
function QuickPaymentMadeFormProvider({
|
||||
billId,
|
||||
baseCurrency,
|
||||
dialogName,
|
||||
...props
|
||||
}) {
|
||||
function QuickPaymentMadeFormProvider({ billId, dialogName, ...props }) {
|
||||
// Handle fetch bill details.
|
||||
const { isLoading: isBillLoading, data: bill } = useBill(billId, {
|
||||
enabled: !!billId,
|
||||
@@ -48,7 +43,6 @@ function QuickPaymentMadeFormProvider({
|
||||
accounts,
|
||||
branches,
|
||||
dialogName,
|
||||
baseCurrency,
|
||||
createPaymentMadeMutate,
|
||||
isBranchesSuccess,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user