Skip to content

Commit

Permalink
fix: Perhitungan biaya pensiun dan biaya jabatan
Browse files Browse the repository at this point in the history
  • Loading branch information
pipinfitriadi committed Feb 5, 2024
1 parent fe3f1d3 commit 6a6c24a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ Referensi:
- [PP Nomor 58 Tahun 2023](https://peraturan.bpk.go.id/Details/274247/pp-no-58-tahun-2023)
- [UU Nomor 7 Tahun 2021](https://peraturan.bpk.go.id/Details/185162/uu-no-7-tahun-2021)
- [UU Nomor 36 Tahun 2008](https://peraturan.bpk.go.id/Details/39704/uu-no-36-tahun-2008)
- [PMK Nomor 250/PMK.03/2008](https://jdih.kemenkeu.go.id/fulltext/2008/250~PMK.03~2008Per.HTM)
- [PTKP 2024 Bagi Wajib Pajak: Simak Aturan Terbarunya](https://www.pajakku.com/read/633e8168b577d80e80bb2f17/PTKP-2024-Bagi-Wajib-Pajak:-Simak-Aturan-Terbarunya-)
- [PPh 21 Biaya Jabatan : Tarif dan Contoh Perhitungannya](https://klikpajak.id/blog/biaya-jabatan-pph-21/)
- [Sosialisasi Perhitungan PPh 2024](https://docs.google.com/presentation/d/1z6OIPbA_eumnw68qN9HNDygpmWY_qSZIITkcgtmpPxE/edit#slide=id.g2b6615240ec_0_1)
20 changes: 18 additions & 2 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ <h1 class="text-center">Kalkulator Pajak</h1>
<label for="gaji">Gaji per bulan (<i>gross</i>)</label>
</div>
</div>
<div class="btn-group d-flex mb-2" role="group">
<input type="checkbox" class="btn-check" name="biayaJabatan" id="biayaJabatan"/>
<label class="btn btn-outline-primary" for="biayaJabatan">Biaya Jabatan</label>
<input type="checkbox" class="btn-check" name="biayaPensiun" id="biayaPensiun"/>
<label class="btn btn-outline-primary" for="biayaPensiun">Biaya Pensiun</label>
</div>
<div class="form-floating mb-2">
<select class="form-select" name="statusKawinTanggungan" id="statusKawinTanggungan">
<optgroup label="Tidak Kawin">
Expand All @@ -39,7 +45,7 @@ <h1 class="text-center">Kalkulator Pajak</h1>
</select>
<label for="statusKawinTanggungan">Status Perkawinan dan Jumlah Tanggungan</label>
</div>
<div class="btn-group d-flex justify-content-center" role="group">
<div class="btn-group d-flex" role="group">
<input class="btn btn-outline-secondary" type="reset" value="Reset"/>
<button class="btn btn-outline-success" type="submit">
<i class="bi bi-calculator"></i>
Expand Down Expand Up @@ -340,7 +346,17 @@ <h1 class="text-center">Kalkulator Pajak</h1>
pajakPenghasilanPasal21(
Math.max(
0,
gajiGross * 12
gajiGross * 12
- Math.min(
6000000,
form.elements.biayaJabatan.checked ?
gajiGross * 12 * 5/100 : 0
)
- Math.min(
2400000,
form.elements.biayaPensiun.checked ?
gajiGross * 12 * 5/100 : 0
)
- penghasilanTidakKenaPajak[
form.elements.statusKawinTanggungan.value
]
Expand Down

0 comments on commit 6a6c24a

Please sign in to comment.