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 3eef6b6a
authored
Sep 06, 2019
by
Solo Group
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
va
1 parent
26951636
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
src/agratek/api/merchant/views/np/__init__.py
src/agratek/api/merchant/views/np/__init__.py
View file @
3eef6b6
...
@@ -36,6 +36,11 @@ class Vendor(VendorClass): #VendorClass
...
@@ -36,6 +36,11 @@ class Vendor(VendorClass): #VendorClass
self
.
cust_inv_no
=
self
.
invoice_det
.
cust_inv_no
self
.
cust_inv_no
=
self
.
invoice_det
.
cust_inv_no
self
.
bank_cd
,
self
.
pay_method
=
self
.
v_produk_kd
.
split
(
'-'
)
self
.
bank_cd
,
self
.
pay_method
=
self
.
v_produk_kd
.
split
(
'-'
)
if
self
.
pay_method
==
"02"
:
self
.
mid
=
"VACTFOPEND"
key
=
":"
.
join
([
self
.
mid
,
self
.
key
])
.
encode
()
self
.
auth
=
base64
.
b64encode
(
key
)
.
decode
()
self
.
va_typ
=
None
self
.
va_typ
=
None
self
.
reccuring
=
False
self
.
reccuring
=
False
self
.
amt
=
str
(
self
.
invoice_det
.
amt_sell
)
self
.
amt
=
str
(
self
.
invoice_det
.
amt_sell
)
...
...
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