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 bdf44939
authored
Sep 18, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bila status pembayaran lunas maka total tagihan dibuat nol
1 parent
78717c0e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
CHANGES.txt
opensipkd/bphtb/services/default/__init__.py
CHANGES.txt
View file @
bdf4493
0.4.13 2026-09-18
-----------------
- Bila status pembayaran lunas maka total tagihan dibuat nol.
0.4.12 2026-06-21
-----------------
- Kota Cimahi tambah ORM Perolehan untuk digunakan di payment report.
...
...
opensipkd/bphtb/services/default/__init__.py
View file @
bdf4493
...
...
@@ -116,7 +116,6 @@ class Inquiry(Common):
'Jenis'
:
self
.
invoice
.
kd_jns_op
,
})
self
.
hitung
()
self
.
paid
=
self
.
is_paid
()
or
self
.
total
<
1
def
hitung
(
self
):
self
.
total_bayar
=
self
.
get_payment_amount
()
...
...
@@ -129,6 +128,8 @@ class Inquiry(Common):
self
.
hitung_denda
()
self
.
hitung_discount
()
self
.
total
=
self
.
tagihan
+
self
.
denda
-
self
.
discount
if
self
.
is_paid
():
self
.
total
=
0
def
hitung_denda
(
self
):
if
self
.
kode
in
self
.
kode_kurang_bayar
:
...
...
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