Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-bphtb-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 aced2df3
authored
Nov 04, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Di Kota Bekasi memastikan alamat tidak menampilkan karakter aneh
1 parent
6d920b8b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
CHANGES.txt
opensipkd/bphtb/services/bekasi_kota.py
pyproject.toml
CHANGES.txt
View file @
aced2df
0.4.16 2026-11-03
-----------------
- Di Kota Bekasi memastikan alamat tidak menampilkan karakter aneh
0.4.15 2026-10-19
0.4.15 2026-10-19
-----------------
-----------------
- Bug fixed saat payment dengan nilai NPOP Rp 3,2 miliar
- Bug fixed saat payment dengan nilai NPOP Rp 3,2 miliar
...
...
opensipkd/bphtb/services/bekasi_kota.py
View file @
aced2df
...
@@ -20,6 +20,11 @@ from .base import get_db_session
...
@@ -20,6 +20,11 @@ from .base import get_db_session
from
.default
import
AvailableInvoice
as
BaseAvailableInvoice
from
.default
import
AvailableInvoice
as
BaseAvailableInvoice
def
clean
(
s
:
str
)
->
str
:
s
=
''
.
join
(
c
for
c
in
s
if
c
.
isprintable
())
return
s
.
strip
()
class
NTP
(
TransactionID
):
class
NTP
(
TransactionID
):
def
is_found
(
self
,
tid
):
# Override
def
is_found
(
self
,
tid
):
# Override
db_session
=
get_db_session
()
db_session
=
get_db_session
()
...
@@ -70,7 +75,7 @@ class Inquiry(Common):
...
@@ -70,7 +75,7 @@ class Inquiry(Common):
self
.
pembeli
=
self
.
get_pembeli
()
self
.
pembeli
=
self
.
get_pembeli
()
def
hitung
(
self
):
def
hitung
(
self
):
self
.
denda
=
self
.
discount
=
0
self
.
denda
=
self
.
discount
=
self
.
bln_tunggakan
=
0
self
.
tagihan
=
round_up
(
self
.
invoice
.
bphtb_yg_harus_dibayar
)
self
.
tagihan
=
round_up
(
self
.
invoice
.
bphtb_yg_harus_dibayar
)
self
.
total_bayar
=
self
.
get_payment_amount
()
self
.
total_bayar
=
self
.
get_payment_amount
()
self
.
total_bayar
=
round_up
(
self
.
total_bayar
)
self
.
total_bayar
=
round_up
(
self
.
total_bayar
)
...
@@ -128,16 +133,16 @@ class Inquiry(Common):
...
@@ -128,16 +133,16 @@ class Inquiry(Common):
return
self
.
notaris
and
self
.
notaris
.
fullname
or
''
return
self
.
notaris
and
self
.
notaris
.
fullname
or
''
def
get_nama
(
self
):
def
get_nama
(
self
):
return
self
.
pembeli
.
nm_pembeli
return
self
.
pembeli
and
self
.
pembeli
.
nm_pembeli
or
''
def
get_npwp
(
self
):
def
get_npwp
(
self
):
return
self
.
pembeli
.
npwp_pembeli
return
self
.
pembeli
.
npwp_pembeli
def
get_alamat_wp
(
self
):
def
get_alamat_wp
(
self
):
return
self
.
pembeli
.
alamat_pembeli
return
clean
(
self
.
pembeli
.
alamat_pembeli
)
def
get_alamat_op
(
self
):
def
get_alamat_op
(
self
):
return
self
.
invoice
.
alamat_op
return
clean
(
self
.
invoice
.
alamat_op
)
def
get_kota_wp
(
self
):
def
get_kota_wp
(
self
):
return
self
.
get_kota_op
()
return
self
.
get_kota_op
()
...
...
pyproject.toml
View file @
aced2df
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
[project]
name
=
'opensipkd-bphtb-models'
name
=
'opensipkd-bphtb-models'
version
=
'
0.4.1
5
'
version
=
'
0.4.1
6
'
dependencies
=
[
dependencies
=
[
'psycopg'
,
'psycopg'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
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