Commit 8542e1b0 by Owo Sugiana

Tambah Kota Tangerang

1 parent 8aa50116
0.5.7 2024-03-14
----------------
- Tambah Kota Tangerang
0.5.6 2024-03-04
----------------
- Kabupaten Kuningan menggunakan PAD versi 2
......
......@@ -83,6 +83,7 @@ def show(inq):
show_rp('Total Bayar', inq.total_bayar)
show_rp('Total Tagihan', inq.total)
show_field(inq.invoice, 'status_pembayaran')
show_field(inq.invoice, 'status_bayar')
if inq.total_bayar:
pay = inq.get_payment()
show_field(pay, 'sspdtgl')
......
......@@ -191,7 +191,7 @@ class BaseInquiry:
self.rekening = self.get_rekening()
self.kelurahan = self.get_kelurahan()
self.kecamatan = self.get_kecamatan()
if self.rekening.rekeningkd in self.conf['rekening_notes']:
if self.get_kode_rekening() in self.conf['rekening_notes']:
alamat = wrap(upper(self.invoice.notes), 40)
if alamat[1:]:
self.alamat1 = alamat[0]
......@@ -485,6 +485,7 @@ class AvailableInvoice:
return q
def get_filter_tahun(self, q):
Invoice = self.get_invoice_model()
if self.option.tahun:
return q.filter(Invoice.tahun == self.option.tahun)
return q
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!