瀏覽代碼

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

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…
取消
儲存