Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
payment-report
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 5dd39a07
authored
Oct 17, 2022
by
Candra
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
add field status table webr_report
1 parent
596f0693
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
CHANGES.txt
payment_report/models.py
payment_report/scripts/webr.py
CHANGES.txt
View file @
5dd39a0
2.3 2022-10-17
--------------
- Penambahan field status pada webr_report sebagai filter pembayaran
2.2 2022-10-04
--------------
- Penambahan channel KASDA dan DANA
...
...
payment_report/models.py
View file @
5dd39a0
...
...
@@ -92,6 +92,8 @@ class Webr(Base, Common):
channel_id
=
Column
(
String
(
4
),
nullable
=
False
)
# Bit 41 / 42 / 43
channel_name
=
Column
(
String
(
32
),
nullable
=
False
)
# webr.ar_payment.status
status
=
Column
(
Integer
,
nullable
=
False
)
tgl_batal
=
Column
(
DateTime
(
timezone
=
True
))
...
...
payment_report/scripts/webr.py
View file @
5dd39a0
...
...
@@ -91,7 +91,7 @@ class App(BaseApp):
jam
=
pay
.
created
.
time
(),
nomor_bayar
=
self
.
invoice_id
,
nama_wp
=
inv
.
subjek_nama
,
pokok
=
inv
.
jumlah
-
inv
.
bunga
,
denda
=
pay
.
bunga
,
jml_bayar
=
pay
.
bayar
,
channel_id
=
channel_id
,
channel_name
=
channel_name
)
channel_name
=
channel_name
,
status
=
pay
.
status
)
def
create_data_from_h2h
(
self
,
row
):
self
.
invoice_id
=
row
.
bit_061
.
strip
()
...
...
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