Commit 7e4b60e7 by Owo Sugiana

Tambah Kabupaten Lebak

1 parent a6ca2137
0.3.24 2024-12-20
-----------------
- Tambah Kabupaten Lebak
0.3.23 2024-12-03 0.3.23 2024-12-03
----------------- -----------------
- Di Kota Tangerang maksimum denda bukan 48% melainkan 24 bulan - Di Kota Tangerang maksimum denda bukan 48% melainkan 24 bulan
......
...@@ -3,7 +3,7 @@ requires = ['setuptools >= 64'] ...@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project] [project]
name = 'sismiop-models' name = 'sismiop-models'
version = '0.3.23' version = '0.3.24'
dependencies = [ dependencies = [
'sqlalchemy', 'sqlalchemy',
'zope.sqlalchemy', 'zope.sqlalchemy',
......
from .subang import (
Inquiry as BaseInquiry,
Reversal,
AvailableInvoice as BaseAvailableInvoice,
)
class Inquiry(BaseInquiry):
def hitung_discount_pokok(self):
'''Berita Acara Hasil Pemeriksaan dengan Wajib Pajak Nomor:
B.900.1.3.2/277-Bid.Pengembangan/IX/2024 tanggal 30 Septetmber 2024.'''
if self.invoice_id_raw == '3602170013024000102024':
potongan = 0.3 * self.tagihan
return int(potongan)
return 0
def hitung_discount(self): # Override
self.discount = self.discount_pokok = self.hitung_discount_pokok()
self.discount_denda = 0
class AvailableInvoice(BaseAvailableInvoice):
def get_inquiry_class(self): # Override
return Inquiry
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!