Commit 327322b7 by Owo Sugiana

Tambah Kabupaten Tasikmalaya

1 parent 9cab1ca6
0.5.14 2024-09-08
-----------------
- Tambah Kabupaten Tasikmalaya
0.5.13 2024-09-05
-----------------
- Kabupaten Kuningan discount denda 100% periode 5 - 30 September
......
from .banjar import (
Inquiry as BaseInquiry,
Reversal as BaseReversal,
AvailableInvoice as BaseAvailableInvoice,
)
from ..models.ciamis import Kohir
PREFIX = '3208'
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
return Kohir
class Reversal(BaseReversal):
invoice_id_structure = INVOICE_ID
def get_kohir_model(self): # Override
return Kohir
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
......@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name = 'opensipkd-pad-models'
version = '0.5.13'
version = '0.5.14'
dependencies = [
'sqlalchemy',
'zope.sqlalchemy',
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!