Pārlūkot izejas kodu

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

SATE_RECEIPT-42 精算履歴取得時の消費税
develop
sosuke.iwabuchi pirms 2 gadiem
vecāks
revīzija
804662186f
1 mainītis faili ar 1 papildinājumiem un 0 dzēšanām
  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 Parādīt failu

@@ -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);


Notiek ielāde…
Atcelt
Saglabāt