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 e93b6a16
authored
Sep 18, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Kota Tangerang Selatan tanpa filter pembayaran negatif
1 parent
01a03057
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
2 deletions
.gitignore
CHANGES.txt
pyproject.toml
sismiop/services/tangsel.py
.gitignore
View file @
e93b6a1
...
@@ -4,3 +4,4 @@ dist
...
@@ -4,3 +4,4 @@ dist
__pycache__
__pycache__
*.pyc
*.pyc
test*
test*
pip-wheel-metadata
CHANGES.txt
View file @
e93b6a1
0.3.18 2024-09-11
-----------------
- Kota Tangerang Selatan tidak perlu lagi filter pembayaran negatif karena
memang begitu cara mereka rekonsiliasi.
0.3.17 2024-09-05
0.3.17 2024-09-05
-----------------
-----------------
- Discount denda Kabupaten Kuningan
- Discount denda Kabupaten Kuningan
...
...
pyproject.toml
View file @
e93b6a1
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
[project]
name
=
'sismiop-models'
name
=
'sismiop-models'
version
=
'
0.3.1
7
'
version
=
'
0.3.1
8
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/tangsel.py
View file @
e93b6a1
...
@@ -40,7 +40,6 @@ class Inquiry(BaseInquiry):
...
@@ -40,7 +40,6 @@ class Inquiry(BaseInquiry):
func
.
sum
(
Payment
.
denda_sppt
)
.
func
.
sum
(
Payment
.
denda_sppt
)
.
label
(
'denda_sppt'
))
label
(
'denda_sppt'
))
q
=
self
.
get_filter
(
q
)
q
=
self
.
get_filter
(
q
)
q
=
q
.
filter
(
Payment
.
jml_sppt_yg_dibayar
>
0
)
bayar
=
q
.
first
()
bayar
=
q
.
first
()
self
.
total_bayar
=
bayar
.
jml_sppt_yg_dibayar
or
0
self
.
total_bayar
=
bayar
.
jml_sppt_yg_dibayar
or
0
if
self
.
total_bayar
<
0
:
if
self
.
total_bayar
<
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