Commit 5dd39a07 by Candra

add field status table webr_report

1 parent 596f0693
2.3 2022-10-17
--------------
- Penambahan field status pada webr_report sebagai filter pembayaran
2.2 2022-10-04
--------------
- Penambahan channel KASDA dan DANA
......
......@@ -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))
......
......@@ -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()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!