Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-pad-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 71064fb1
authored
Oct 05, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed total tagihan saat kurang bayar
1 parent
042197c9
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
CHANGES.txt
opensipkd/pad/services/default.py
pyproject.toml
CHANGES.txt
View file @
71064fb
0.6.14 2026-10-05
-----------------
- Bug fixed total tagihan saat kurang bayar.
0.6.13 2026-10-03
-----------------
- Bug fixed saat query field tahun dibandingkan dengan string, seharusnya integer.
...
...
opensipkd/pad/services/default.py
View file @
71064fb
...
...
@@ -358,7 +358,6 @@ class Inquiry(BaseInquiry):
self
.
hitung_tagihan
()
self
.
hitung_denda
()
self
.
hitung_bayar
()
self
.
total
=
self
.
total_pokok
+
self
.
denda
-
self
.
total_bayar
if
self
.
total_bayar
:
if
(
total_bayar
:
=
self
.
total_bayar
)
>=
self
.
pokok
:
self
.
total_pokok
-=
self
.
pokok
...
...
@@ -366,6 +365,8 @@ class Inquiry(BaseInquiry):
if
total_bayar
>=
self
.
denda_pokok
:
self
.
denda
-=
self
.
denda_pokok
self
.
denda_pokok
=
0
self
.
total
=
self
.
total_pokok
+
self
.
denda
-
self
.
total_bayar
self
.
total_pokok
-=
self
.
total_bayar
if
self
.
total
<
0
or
self
.
is_paid
():
self
.
total
=
0
...
...
pyproject.toml
View file @
71064fb
...
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name
=
'opensipkd-pad-models'
version
=
'
0.6.1
3
'
version
=
'
0.6.1
4
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
@@ -17,7 +17,7 @@ authors = [
]
description
=
'Struktur
tabel
PAD'
readme
=
'README.rst'
license
=
{text='PostgreSQL
License'}
license
=
'PostgreSQL'
classifiers
=
[
'Programming
Language
::
Python
::
3
'
,
'Operating
System
::
OS
Independent'
,
...
...
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