Commit 34453149 by Owo Sugiana

Bug fixed available invoice saat --jenis

1 parent 4b2da74b
......@@ -273,7 +273,7 @@ class AvailableInvoice:
Invoice.pajak_id==Pajak.id, Pajak.rekening_id==Rekening.id,
Invoice.status_pembayaran==0)
if self.option.jenis:
pola = '%{}%'.format(self.jenis)
pola = '%{}%'.format(self.option.jenis)
q = q.filter(Rekening.rekeningnm.ilike(pola))
return q
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!