소스 검색

精算データ取得時に取得した金額で消費税を計算してしまっているのを修正

SATE_RECEIPT-42 精算履歴取得時の消費税
develop
sosuke.iwabuchi 2 년 전
부모
커밋
804662186f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useInputReceiptStep.tsx

+ 1
- 0
src/pages/dashboard/receipt-issuing-order/custom/hello-techno/hooks/useInputReceiptStep.tsx 파일 보기

@@ -92,6 +92,7 @@ export default function useInputReceiptStep({ onNext, onPrev }: Props) {
};

const setTax = () => {
if (adjustData !== null) return;
const tax = String(calcInnerTax(Number(amount)));
if (tax) {
form.setValue("tax_amount", tax);


Loading…
취소
저장