Commit 19648caa by Owo Sugiana

Tambah Kabupaten Lebak

1 parent e32e29a7
0.4.10 2023-07-10
-----------------
- Tambah Kabupaten Lebak
0.4.9 2023-03-06 0.4.9 2023-03-06
---------------- ----------------
- Tambah Ciamis - Tambah Kabupaten Ciamis
0.4.8 2023-01-06 0.4.8 2023-01-06
---------------- ----------------
......
...@@ -53,7 +53,8 @@ def show(inq): ...@@ -53,7 +53,8 @@ def show(inq):
show_val('Tahun Pajak', inq.get_tahun()) show_val('Tahun Pajak', inq.get_tahun())
show_val('Masa 1', inq.get_masa_1()) show_val('Masa 1', inq.get_masa_1())
show_val('Masa 2', inq.get_masa_2()) show_val('Masa 2', inq.get_masa_2())
show_val('Tanggal Kohir', inq.get_tgl_kohir()) if inq.get_kohir_model():
show_val('Tanggal Kohir', inq.get_tgl_kohir())
show_val('Kode Rekening', inq.get_kode_rekening()) show_val('Kode Rekening', inq.get_kode_rekening())
show_val('Nama Rekening', inq.get_nama_rekening()) show_val('Nama Rekening', inq.get_nama_rekening())
show_val('Jenis Usaha', inq.get_nama_jenis_usaha()) show_val('Jenis Usaha', inq.get_nama_jenis_usaha())
...@@ -69,10 +70,8 @@ def show(inq): ...@@ -69,10 +70,8 @@ def show(inq):
show_val('Jatuh Tempo', inq.get_jatuh_tempo()) show_val('Jatuh Tempo', inq.get_jatuh_tempo())
show_val('Jumlah Bulan Denda', inq.bln_tunggakan) show_val('Jumlah Bulan Denda', inq.bln_tunggakan)
show_rp('Tagihan', inq.tagihan) show_rp('Tagihan', inq.tagihan)
try: show_field(inq.invoice, 'pajak_terhutang')
show_rp('Bunga', inq.invoice.bunga) show_field(inq.invoice, 'bunga')
except AttributeError:
pass
try: try:
show_rp('Denda Jatuh Tempo', inq.denda_waktu) show_rp('Denda Jatuh Tempo', inq.denda_waktu)
except AttributeError: except AttributeError:
......
from datetime import date
from .default import (
Inquiry as BaseInquiry,
Reversal as BaseReversal,
AvailableInvoice as BaseAvailableInvoice,
)
PREFIX = '3602'
INVOICE_ID = [
('Prefix', 4, 'N'),
('Tahun', 4, 'N'),
('SptNo', 5, 'N'),
]
class Inquiry(BaseInquiry):
invoice_id_structure = INVOICE_ID
def get_kohir_model(self): # Override
pass
class Reversal(BaseReversal):
invoice_id_structure = INVOICE_ID
class AvailableInvoice(BaseAvailableInvoice):
invoice_id_structure = INVOICE_ID
def get_inquiry_class(self): # Override
return Inquiry
def get_invoice_id(self, row): # Override
invoice_id = super().get_invoice_id(row)
invoice_id['Prefix'] = PREFIX
return invoice_id
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!