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 e0a71434
authored
Jul 31, 2019
by
Solo Group
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
auto-push
1 parent
60870575
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
src/agratek/api/merchant/views/odeo.py
src/agratek/api/merchant/views/odeo.py
View file @
e0a7143
...
@@ -138,7 +138,8 @@ class Vendor(VendorClass):
...
@@ -138,7 +138,8 @@ class Vendor(VendorClass):
log
.
info
(
"ODEO Payment Request:
%
s"
%
self
.
request
)
log
.
info
(
"ODEO Payment Request:
%
s"
%
self
.
request
)
self
.
save_log
(
"payment"
)
self
.
save_log
(
"payment"
)
inq
=
None
inq
=
None
if
self
.
vendor_produk
.
produk
.
kategori
==
"e-payment"
:
if
self
.
vendor_produk
.
produk
.
kategori
.
kode
==
"e-payment"
:
inq
=
self
.
inquiry
()
inq
=
self
.
inquiry
()
...
@@ -184,7 +185,7 @@ class Vendor(VendorClass):
...
@@ -184,7 +185,7 @@ class Vendor(VendorClass):
or
self
.
serial_number
or
self
.
serial_number
self
.
vend_inv_no
=
"order_id"
in
data
and
data
[
"order_id"
]
or
{}
self
.
vend_inv_no
=
"order_id"
in
data
and
data
[
"order_id"
]
or
{}
if
inq
:
if
not
inq
:
self
.
amt_buy
=
"price"
in
data
and
data
[
"price"
]
or
0
self
.
amt_buy
=
"price"
in
data
and
data
[
"price"
]
or
0
parsd
[
"total"
]
=
self
.
amt_buy
parsd
[
"total"
]
=
self
.
amt_buy
...
...
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