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 56e0b94d
authored
Feb 24, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed discount 2025 Kota Bogor
1 parent
d5466441
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
sismiop/services/bogor_kota.py
sismiop/services/bogor_kota.py
View file @
56e0b94
...
...
@@ -94,10 +94,10 @@ class Inquiry(BaseInquiry, Common):
def
hitung_discount_pokok
(
self
):
if
not
self
.
is_e_sppt
():
print
(
'
B
elum terdaftar di ESPPT'
)
print
(
'
Tidak dapat discount karena b
elum terdaftar di ESPPT'
)
return
if
self
.
is_pst
():
print
(
'
S
udah dapat pengurangan pokok'
)
print
(
'
Tidak dapat discount karena s
udah dapat pengurangan pokok'
)
return
disc
=
0
if
self
.
invoice
.
thn_pajak_sppt
==
'2026'
and
\
...
...
@@ -108,8 +108,9 @@ class Inquiry(BaseInquiry, Common):
if
self
.
invoice
.
pbb_yg_harus_dibayar_sppt
<=
max_tagihan
:
break
elif
self
.
invoice
.
thn_pajak_sppt
==
'2025'
:
for
awal
,
akhir
,
disc
in
DISC_POKOK_2025
:
for
awal
,
akhir
,
disc
_
in
DISC_POKOK_2025
:
if
awal
<=
self
.
tgl_bayar
<=
akhir
:
disc
=
disc_
break
if
disc
:
self
.
discount_pokok
=
disc
*
self
.
tagihan
...
...
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