Commit 7b29e332 by Owo Sugiana

Bug fixed Kota Banjar saat reversal

1 parent a13cfda9
0.3.59 2026-07-08
-----------------
- Bug fixed Kota Banjar saat reversal
0.3.58 2026-06-12
-----------------
- Perubahan rumus denda Kota Bekasi
......
......@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name = 'sismiop-models'
version = '0.3.58'
version = '0.3.59'
dependencies = [
'sqlalchemy',
'zope.sqlalchemy',
......
......@@ -10,7 +10,7 @@ from ..models.banjar import (
)
from .default import (
Inquiry as BaseInquiry,
Reversal,
Reversal as BaseReversal,
AvailableInvoice as BaseAvailableInvoice,
)
from .base import get_db_session
......@@ -50,6 +50,11 @@ class Inquiry(BaseInquiry):
payment.denda_sppt = 0 # self.denda - self.discount
class Reversal(BaseReversal):
def get_invoice_model(self): # Override
return Sppt
class AvailableInvoice(BaseAvailableInvoice):
def get_invoice_model(self): # Override
return Sppt
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!