Skip to content

Commit

Permalink
Update box1.js
Browse files Browse the repository at this point in the history
  • Loading branch information
guzamak committed Jul 21, 2024
1 parent 805950f commit 580e958
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/box1.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Box1({ salary }) {

return (
<div className="flex flex-col justify-center items-center gap-20">
<p className="font-bold">Salary : {salary}</p>
<p className="font-bold">เงินเดือน : {salary}</p>
<div className="flex gap-9">
<div>
<div><input type="checkbox" Checked={funds} onChange={() => { setFunds(!funds) }} /> การลงทุน RMF</div>
Expand All @@ -93,7 +93,7 @@ export default function Box1({ salary }) {
<div><input type="checkbox" Checked={government} onChange={() => { setGovernment(!government) }} /> ใช้สิทธิตามมาตรการกระตุ้นเศรษฐกิจของรัฐ</div>
</div>
</div>
<p className="font-bold">reduction : {tax - reduction <= 0 ? 0: tax - reduction }</p>
<p className="font-bold">ภาษี : {tax - reduction <= 0 ? 0: tax - reduction }</p>
</div>
);
}

0 comments on commit 580e958

Please sign in to comment.