Commit 53b2fa77 by Owo Sugiana

Tambah Opsen Kabupaten Pangandaran

1 parent c0d3de24
from opensipkd.hitung import hitung_denda
from .banjar import (
Inquiry as BaseInquiry,
Reversal as BaseReversal,
......@@ -10,6 +11,12 @@ class Inquiry(BaseInquiry):
def get_kohir_model(self): # Override
return Kohir
def get_persen_denda(self): # Override
tahun_terbit = self.invoice.masadari.year
if tahun_terbit > 2023:
return 1
return 2
class Reversal(BaseReversal):
def get_kohir_model(self): # Override
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!