This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
sosuke.iwabuchi
/
SATE-EasyReceipt-front
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
精算データ取得時に取得した金額で消費税を計算してしまっているのを修正
SATE_RECEIPT-42 精算履歴取得時の消費税
develop
sosuke.iwabuchi
2 years ago
parent
5e6bb9b28f
commit
804662186f
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+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
View File
@@ -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);
Write
Preview
Loading…
Cancel
Save