Skip to content

Commit

Permalink
Merge pull request #45402 from Krishna2323/krishna2323/issue/45073
Browse files Browse the repository at this point in the history
  • Loading branch information
blimpich authored Jul 15, 2024
2 parents 9caf951 + ab6d1e9 commit c8bd2bb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ const STEP_FIELDS = [COMPANY_TAX_ID_KEY];
function TaxIdBusiness({reimbursementAccount, onNext, isEditing}: TaxIdBusinessProps) {
const {translate} = useLocalize();
const styles = useThemeStyles();
const defaultCompanyTaxId = reimbursementAccount?.achData?.companyTaxID ?? '-1';
const bankAccountID = reimbursementAccount?.achData?.bankAccountID ?? -1;
const defaultCompanyTaxId = reimbursementAccount?.achData?.companyTaxID ?? '';
const bankAccountID = reimbursementAccount?.achData?.bankAccountID ?? 0;
const shouldDisableCompanyTaxID = !!(bankAccountID && defaultCompanyTaxId && reimbursementAccount?.achData?.state !== 'SETUP');

const validate = useCallback(
Expand Down

0 comments on commit c8bd2bb

Please sign in to comment.