Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-pad-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 8aa50116
authored
Mar 11, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Perubahan persen denda Kabupaten Bekasi
1 parent
910f09ba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
CHANGES.txt
opensipkd/pad/services/bekasi_kab.py
CHANGES.txt
View file @
8aa5011
0.5.6 2024-03-04
----------------
- Kabupaten Kuningan menggunakan PAD versi 2
- Perubahan persen denda Kabupaten Bekasi
0.5.5 2024-02-26
----------------
...
...
opensipkd/pad/services/bekasi_kab.py
View file @
8aa5011
...
...
@@ -90,13 +90,24 @@ class Inquiry(BaseInquiry):
invoice_id_structure
=
INVOICE_ID
def
hitung_denda
(
self
):
# Override
tgl_kohir
=
self
.
get_tgl_kohir
()
if
tgl_kohir
:
tahun_terbit
=
tgl_kohir
.
year
else
:
tahun_terbit
=
self
.
invoice
.
masadari
.
year
if
tahun_terbit
>
2023
:
persen_denda
=
1
# 5: SKPDKB, 6: SKPDJ, 7: SKPDKBT, 15: SK Angsuran
if
self
.
invoice
.
type_id
in
(
5
,
6
,
7
,
15
):
persen_denda
=
0.6
else
:
persen_denda
=
self
.
conf
[
'persen_denda'
]
bunga
=
self
.
invoice
.
bunga
or
0
self
.
denda
=
self
.
bunga
=
round_up
(
bunga
)
if
self
.
invoice
.
jatuhtempotgl
:
d
=
Denda
(
self
.
tagihan
,
self
.
invoice
.
jatuhtempotgl
,
self
.
conf
[
'persen_denda'
],
self
.
tgl_bayar
.
date
(),
self
.
invoice
)
persen_denda
,
self
.
tgl_bayar
.
date
(),
self
.
invoice
)
self
.
bln_tunggakan
,
self
.
denda_waktu
=
d
.
hitung
()
self
.
denda_waktu
=
round_up
(
self
.
denda_waktu
)
self
.
denda
+=
self
.
denda_waktu
...
...
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