|
|
@@ -92,6 +92,7 @@ export default function useInputReceiptStep({ onNext, onPrev }: Props) { |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
const setTax = () => { |
|
|
const setTax = () => { |
|
|
|
|
|
if (adjustData !== null) return; |
|
|
const tax = String(calcInnerTax(Number(amount))); |
|
|
const tax = String(calcInnerTax(Number(amount))); |
|
|
if (tax) { |
|
|
if (tax) { |
|
|
form.setValue("tax_amount", tax); |
|
|
form.setValue("tax_amount", tax); |
|
|
|