Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Kunto
/
backoffice
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 29f4a638
authored
Mar 03, 2020
by
yasir
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
tes update
1 parent
4d56204a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
src/agratek/api/merchant/views/odeo/__init__.py
src/agratek/api/merchant/views/odeo/__init__.py
View file @
29f4a63
...
@@ -404,7 +404,11 @@ class Vendor(VendorClass):
...
@@ -404,7 +404,11 @@ class Vendor(VendorClass):
self
.
amt_buy
=
"total"
in
data
and
data
[
"total"
]
or
0
self
.
amt_buy
=
"total"
in
data
and
data
[
"total"
]
or
0
rincian
[
"pokok"
]
=
pokok
rincian
[
"pokok"
]
=
pokok
rincian
[
"denda"
]
=
denda
rincian
[
"denda"
]
=
denda
admin
=
int
(
self
.
vendor_produk
.
produk
.
harga
*
i
)
if
self
.
v_produk_kd
==
"TELKOMSELHALO"
:
admin
=
self
.
vendor_produk
.
produk
.
harga
else
:
admin
=
int
(
self
.
vendor_produk
.
produk
.
harga
*
i
)
rincian
[
"admin"
]
=
admin
rincian
[
"admin"
]
=
admin
rincian
[
"total"
]
=
pokok
+
denda
+
admin
rincian
[
"total"
]
=
pokok
+
denda
+
admin
...
...
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