Commit a9bb3db6 by Owo Sugiana

Discount denda Kabupaten Subang

1 parent b9181e60
0.6.8 2026-02-13
----------------
- Discount denda Kabupaten Subang
0.6.7 2026-01-02
----------------
- Discount denda Kabupaten Cirebon diperpanjang
......
......@@ -9,8 +9,8 @@ from .banjar import (
from opensipkd.hitung import hitung_denda
AWAL_DISC = date(2025, 2, 1)
AKHIR_DISC = date(2025, 4, 30)
AWAL_DISC = date(2026, 2, 13)
AKHIR_DISC = date(2026, 4, 30)
PREFIX = '3215'
INVOICE_ID = [('Prefix', 4, 'N')] + INVOICE_ID
......@@ -33,7 +33,7 @@ class Inquiry(BaseInquiry):
tgl_bayar = self.tgl_bayar.date()
if AWAL_DISC <= tgl_bayar <= AKHIR_DISC:
tgl = self.invoice.masadari.date()
if tgl.year <= 2024:
if tgl.year <= 2025:
return self.denda_pokok, self.opsen_denda
return 0, 0
......
......@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name = 'opensipkd-pad-models'
version = '0.6.7'
version = '0.6.8'
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!