Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
iso8583-web
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 4532131f
authored
Jul 30, 2020
by
aa.gusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
pengambilan bit 37 dan 62 dari data inquiry
1 parent
d99457b1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
iso8583_web/scripts/views/linkaja/__init__.py
iso8583_web/scripts/views/linkaja/__init__.py
View file @
4532131
...
@@ -272,6 +272,15 @@ class View(BaseView):
...
@@ -272,6 +272,15 @@ class View(BaseView):
inq
=
get_inquiry
(
data
)
inq
=
get_inquiry
(
data
)
if
not
inq
:
if
not
inq
:
raise
BillRefNotFound
()
raise
BillRefNotFound
()
#ditambahkan karena harus sesuai dengan inq
DBSession
=
get_db_session
()
iso_log
=
DBSession
.
query
(
Log
)
.
\
filter
(
Log
.
rpc_id
==
inq
.
id
,
Log
.
bit_062
!=
None
)
.
first
()
if
not
iso_log
:
raise
BillRefNotFound
()
p
[
'bits'
]
=
{
"62"
:
iso_log
.
bit_062
,
"37"
:
""
.
join
([
'000000'
,
iso_log
.
bit_011
])}
else
:
else
:
pay
=
get_payment
(
data
)
pay
=
get_payment
(
data
)
if
not
pay
:
if
not
pay
:
...
...
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