Commit ca2153b3 by Owo Sugiana

WEBR tambah Kode Rekening

1 parent 2cfe1e57
ALTER TABLE webr_report ADD rekening_kode varchar(32);
...@@ -98,6 +98,8 @@ class Webr(Base, Common): ...@@ -98,6 +98,8 @@ class Webr(Base, Common):
status = Column(Integer, nullable=False) status = Column(Integer, nullable=False)
# webr.ar_invoice.produk_nama # webr.ar_invoice.produk_nama
produk = Column(String(225), nullable=False) produk = Column(String(225), nullable=False)
# webr.ar_inovice.rekening_kode
rekening_kode = Column(String(32), nullable=False)
tgl_batal = Column(DateTime(timezone=True)) tgl_batal = Column(DateTime(timezone=True))
......
...@@ -107,7 +107,7 @@ class App(BaseApp): ...@@ -107,7 +107,7 @@ class App(BaseApp):
nama_wp=inv.subjek_nama, pokok=inv.jumlah-inv.bunga, nama_wp=inv.subjek_nama, pokok=inv.jumlah-inv.bunga,
denda=pay.bunga, jml_bayar=pay.bayar, channel_id=channel_id, denda=pay.bunga, jml_bayar=pay.bayar, channel_id=channel_id,
channel_name=channel_name, status=pay.status, 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): def create_data_from_h2h(self, row):
self.invoice_id = row.bit_061.strip() 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!