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 b05d4b85
authored
Mar 11, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Di Kota Bekasi status 8 berarti lunas
1 parent
62824e1a
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
4 deletions
CHANGES.txt
pyproject.toml
sismiop/services/bekasi_kota.py
CHANGES.txt
View file @
b05d4b8
0.3.54 2026-03-11
-----------------
- Di Kota Bekasi status 8 berarti lunas
0.3.53 2026-03-07
-----------------
- Perbaikan discount pokok Kota Bekasi terkait faktor pengurang
...
...
pyproject.toml
View file @
b05d4b8
...
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name
=
'sismiop-models'
version
=
'
0.3.5
3
'
version
=
'
0.3.5
4
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/bekasi_kota.py
View file @
b05d4b8
...
...
@@ -77,8 +77,13 @@ def hitung_denda(
class
Inquiry
(
BaseInquiry
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
super
()
.
__init__
(
*
args
,
**
kwargs
)
if
self
.
invoice
and
self
.
invoice
.
status_pembayaran_sppt
==
'1'
:
self
.
tagihan
=
self
.
denda
=
self
.
discount
=
self
.
total
=
0
if
self
.
invoice
and
self
.
invoice
.
status_pembayaran_sppt
in
[
'1'
,
'8'
]:
self
.
tagihan
=
self
.
denda
=
self
.
discount
=
self
.
total
=
\
self
.
discount_denda
=
0
def
is_available
(
self
)
->
bool
:
# Override
return
self
.
invoice
.
status_pembayaran_sppt
==
'8'
or
\
super
()
.
is_available
()
def
tahun_lunas
(
self
,
tahun
):
db_session
=
get_db_session
()
...
...
@@ -87,7 +92,7 @@ class Inquiry(BaseInquiry):
q
=
self
.
get_filter_op
(
q
)
q
=
q
.
filter_by
(
thn_pajak_sppt
=
tahun
)
row
=
q
.
first
()
return
row
and
row
.
status_pembayaran_sppt
==
'1'
return
row
and
row
.
status_pembayaran_sppt
in
[
'1'
,
'8'
]
def
get_tagihan_pokok
(
self
):
# Override
pengurang
=
self
.
invoice
.
faktor_pengurang_sppt
or
0
...
...
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