Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-webr-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 b891575c
authored
Apr 08, 2021
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed saat inquiry belum ada pembayaran
1 parent
0cffb59e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
opensipkd/webr/services/default.py
opensipkd/webr/services/default.py
View file @
b891575
...
@@ -61,7 +61,7 @@ class Inquiry:
...
@@ -61,7 +61,7 @@ class Inquiry:
func
.
sum
(
self
.
payment_model
.
bayar
)
.
label
(
'jml'
))
func
.
sum
(
self
.
payment_model
.
bayar
)
.
label
(
'jml'
))
q
=
q
.
filter_by
(
ar_invoice_id
=
self
.
invoice
.
id
)
q
=
q
.
filter_by
(
ar_invoice_id
=
self
.
invoice
.
id
)
pay
=
q
.
first
()
pay
=
q
.
first
()
return
pay
and
int
(
pay
.
jml
)
or
0
return
pay
and
int
(
pay
.
jml
or
0
)
def
hitung
(
self
):
def
hitung
(
self
):
bunga
=
self
.
invoice
.
bunga
or
0
bunga
=
self
.
invoice
.
bunga
or
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