Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-bphtb-models
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 866f65bc
authored
Jun 02, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Perbaikan waktu denda Kabupaten Tasik
1 parent
10da3174
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
CHANGES.txt
opensipkd/bphtb/services/tasik_kabupaten.py
CHANGES.txt
View file @
866f65b
0.4.10 2026-06-0
1
0.4.10 2026-06-0
2
-----------------
-----------------
- Di Kabupaten Tasik bila pembayaran lebih dari 1 bulan dari jatuh tempo maka
- Di Kabupaten Tasik mulai 1 Juni dikenakan denda 1% per bulan.
dikenakan denda 1% per bulan.
0.4.9 2024-04-20
0.4.9 2024-04-20
----------------
----------------
...
...
opensipkd/bphtb/services/tasik_kabupaten.py
View file @
866f65b
...
@@ -6,7 +6,6 @@ from opensipkd.hitung import (
...
@@ -6,7 +6,6 @@ from opensipkd.hitung import (
hitung_denda
,
hitung_denda
,
round_up
,
round_up
,
)
)
from
opensipkd.waktu
import
next_month_day
from
..models.tasik_kabupaten
import
(
from
..models.tasik_kabupaten
import
(
Kecamatan
,
Kecamatan
,
Kelurahan
,
Kelurahan
,
...
@@ -18,8 +17,6 @@ from .default import (
...
@@ -18,8 +17,6 @@ from .default import (
)
)
# Dikenakan denda setelah 1 bulan dari jatuh tempo.
# Pak Yasir, 20 Mei 2026
PERSEN_DENDA
=
1
PERSEN_DENDA
=
1
AWAL_DENDA
=
date
(
2026
,
6
,
1
)
AWAL_DENDA
=
date
(
2026
,
6
,
1
)
...
@@ -38,8 +35,7 @@ class Inquiry(BaseInquiry):
...
@@ -38,8 +35,7 @@ class Inquiry(BaseInquiry):
if
tgl_bayar
<
AWAL_DENDA
:
if
tgl_bayar
<
AWAL_DENDA
:
super
()
.
hitung_denda
()
super
()
.
hitung_denda
()
return
return
jt
=
self
.
invoice
.
tgl_jatuh_tempo
jt
=
next_month_day
(
jt
.
year
,
jt
.
month
,
jt
.
day
)
self
.
bln_tunggakan
,
denda
=
hitung_denda
(
self
.
bln_tunggakan
,
denda
=
hitung_denda
(
self
.
tagihan
,
jt
,
PERSEN_DENDA
,
tgl_bayar
)
self
.
tagihan
,
self
.
invoice
.
tgl_jatuh_tempo
,
PERSEN_DENDA
,
tgl_bayar
)
self
.
denda
=
round_up
(
denda
)
self
.
denda
=
round_up
(
denda
)
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment