feat(refund vendor):add exchange rate muted & branch.

This commit is contained in:
elforjani13
2022-03-07 20:57:39 +02:00
parent b8b95c7929
commit a8311f1798
7 changed files with 167 additions and 66 deletions

View File

@@ -61,6 +61,7 @@ function RefundCreditNoteFormFields({
return (
<div className={Classes.DIALOG_BODY}>
<FeatureCan feature={Features.Branches}>
<Row>
<Col xs={5}>

View File

@@ -1,6 +1,6 @@
import React from 'react';
import { useFormikContext } from 'formik';
import { isEqual, isUndefined, isNull, first } from 'lodash';
import { first } from 'lodash';
import { useRefundCreditNoteContext } from './RefundCreditNoteFormProvider';
@@ -18,5 +18,3 @@ export const useSetPrimaryBranchToForm = () => {
}
}, [isBranchesSuccess, setFieldValue, branches]);
};