Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
payment-report
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 14fd971e
authored
Oct 23, 2024
by
candra
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed kd_kecamatan & kd_kelurahan tidak ada ditable referensi
1 parent
7a8e2140
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
payment_report/bphtb/default.py
payment_report/bphtb/default.py
View file @
14fd971
...
...
@@ -519,7 +519,17 @@ class App(BaseApp):
cust
=
self
.
get_customer
(
inv
)
perolehan
=
self
.
get_perolehan
(
inv
)
kecamatan
=
self
.
get_kecamatan_nama
(
inv
)
if
not
kecamatan
:
msg
=
f
'Field bphtb_sspd.kd_kecamatan {inv.kd_kecamatan} tidak ada di'
\
'field ref_kecamatan.kd_kecamatan'
raise
InvalidSource
(
msg
)
kelurahan
=
self
.
get_kelurahan_nama
(
inv
)
if
not
kelurahan
:
msg
=
f
'Field bphtb_sspd.kd_kelurahan {inv.kd_kelurahan} tidak ada di'
\
'field ref_kelurahan.kd_kelurahan'
raise
InvalidSource
(
msg
)
invoice_id
=
FixLength
(
INVOICE_ID
)
invoice_id
[
'Tahun'
]
=
inv
.
tahun
invoice_id
[
'Kode'
]
=
inv
.
kode
...
...
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