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 dfb49827
authored
Aug 03, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Di Kota Bekasi kalau sudah dapat pengurang maka tidak dapat discount pokok
1 parent
30f810bf
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
sismiop/scripts/inquiry.py
sismiop/services/bekasi_kota.py
sismiop/scripts/inquiry.py
View file @
dfb4982
...
...
@@ -87,6 +87,8 @@ def show_inquiry(inq):
show_field
(
inq
.
invoice
,
'pbb_terhutang_sppt'
)
show_field
(
inq
.
invoice
,
'faktor_pengurang_sppt'
)
show_field
(
inq
.
invoice
,
'STATUS_PEMBAYARAN_SPPT'
)
show_field
(
inq
.
invoice
,
'tgl_terbit_sppt'
)
show_field
(
inq
.
invoice
,
'siklus_sppt'
)
for
pay
in
inq
.
query_payments
():
if
registry
[
'module_name'
]
==
'sukabumi_kota'
:
show_fields
(
...
...
sismiop/services/bekasi_kota.py
View file @
dfb4982
...
...
@@ -86,7 +86,6 @@ class Inquiry(BaseInquiry):
def
get_tagihan_pokok
(
self
):
# Override
pengurang
=
self
.
invoice
.
faktor_pengurang_sppt
or
0
# if pengurang > 0:
if
pengurang
>
0
and
self
.
invoice
.
thn_pajak_sppt
not
in
TAHUN_LUNAS
:
return
self
.
invoice
.
pbb_terhutang_sppt
return
super
()
.
get_tagihan_pokok
()
...
...
@@ -102,6 +101,9 @@ class Inquiry(BaseInquiry):
self
.
denda
=
round_up
(
denda
)
def
hitung_discount_pokok
(
self
):
pengurang
=
self
.
invoice
.
faktor_pengurang_sppt
or
0
if
pengurang
>
0
:
return
disc
=
0
if
self
.
invoice
.
thn_pajak_sppt
==
'2026'
:
for
max_tagihan
,
disc
in
BUKU_DISC_POKOK
:
...
...
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