Commit 90da80b7 by Owo Sugiana

Invoice ID Kabupaten Sukabumi hanya 9 digit

1 parent 1ca6f999
......@@ -41,9 +41,6 @@ INVOICE_ID = [
('Tahun', 4, 'N'),
('SptNo', 6, 'N'),
]
INVOICE_ID_LENGTH = 0
for name, size, typ in INVOICE_ID:
INVOICE_ID_LENGTH += size
class BaseInquiry:
......
......@@ -9,7 +9,15 @@ from .banjar import (
)
INVOICE_ID = [
('Tahun', 4, 'N'),
('SptNo', 5, 'N'),
]
class Inquiry(BaseInquiry):
invoice_id_structure = INVOICE_ID
def hitung_denda(self): # Override
self.bln_tunggakan = None
self.denda = 0
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!