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 ca2153b3
authored
May 04, 2023
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
WEBR tambah Kode Rekening
1 parent
2cfe1e57
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletions
contrib/alter-webr.sql
payment_report/models.py
payment_report/scripts/webr.py
contrib/alter-webr.sql
0 → 100644
View file @
ca2153b
ALTER
TABLE
webr_report
ADD
rekening_kode
varchar
(
32
);
payment_report/models.py
View file @
ca2153b
...
...
@@ -98,6 +98,8 @@ class Webr(Base, Common):
status
=
Column
(
Integer
,
nullable
=
False
)
# webr.ar_invoice.produk_nama
produk
=
Column
(
String
(
225
),
nullable
=
False
)
# webr.ar_inovice.rekening_kode
rekening_kode
=
Column
(
String
(
32
),
nullable
=
False
)
tgl_batal
=
Column
(
DateTime
(
timezone
=
True
))
...
...
payment_report/scripts/webr.py
View file @
ca2153b
...
...
@@ -107,7 +107,7 @@ class App(BaseApp):
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
,
status
=
pay
.
status
,
produk
=
inv
.
produk_nama
)
produk
=
inv
.
rekening_nama
,
rekening_kode
=
inv
.
rekening_kode
)
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