Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
sismiop-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 99babe28
authored
Oct 02, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kota Sukabumi
1 parent
cfe262c4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
3 deletions
CHANGES.txt
sismiop/services/sukabumi_kota.py
CHANGES.txt
View file @
99babe2
0.3.20 2024-10-02
-----------------
- Discount denda Kota Sukabumi
0.3.19 2024-09-23
0.3.19 2024-09-23
-----------------
-----------------
- Kota Cilegon discount denda periode 24 September - 31 Oktober
- Kota Cilegon discount denda periode 24 September - 31 Oktober
...
...
sismiop/services/sukabumi_kota.py
View file @
99babe2
...
@@ -22,8 +22,9 @@ from .base import (
...
@@ -22,8 +22,9 @@ from .base import (
)
)
AWAL_DISC
=
date
(
2023
,
6
,
1
)
AWAL_SATU_PERSEN
=
date
(
2024
,
10
,
3
)
AKHIR_DISC
=
date
(
2023
,
9
,
30
)
AWAL_DISC
=
date
(
2024
,
10
,
3
)
AKHIR_DISC
=
date
(
2024
,
12
,
31
)
def
get_nop
(
row
):
def
get_nop
(
row
):
...
@@ -59,9 +60,16 @@ class Inquiry(BaseInquiry):
...
@@ -59,9 +60,16 @@ class Inquiry(BaseInquiry):
def
get_tagihan_pokok
(
self
):
# Override
def
get_tagihan_pokok
(
self
):
# Override
return
self
.
invoice
.
PBB_YG_HARUS_DIBAYAR_SPPT
return
self
.
invoice
.
PBB_YG_HARUS_DIBAYAR_SPPT
def
get_persen_denda
(
self
):
# Override
if
self
.
tgl_bayar
<
AWAL_SATU_PERSEN
:
return
2
if
self
.
invoice
.
THN_PAJAK_SPPT
<
'2024'
:
return
2
return
1
def
hitung_denda
(
self
):
# Override
def
hitung_denda
(
self
):
# Override
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
self
.
invoice
.
THN_PAJAK_SPPT
<=
'2022
'
:
'2009'
<=
self
.
invoice
.
THN_PAJAK_SPPT
<=
'2023
'
:
self
.
bln_tunggakan
=
0
self
.
bln_tunggakan
=
0
self
.
denda
=
0
self
.
denda
=
0
else
:
else
:
...
...
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