Commit 8b189882 by Owo Sugiana

Di Tangsel discount pokok tidak memperhatikan faktor pengurang sppt

1 parent 2bbc05c6
0.1.40 2022-8-6
---------------
- Di Tangerang Selatan discount pokok tidak perlu memperhatikan nilai
field_pengurang_sppt
- Bug fixed available invoice di Tangerang Selatan
0.1.39 2022-8-4 0.1.39 2022-8-4
--------------- ---------------
- Rumus discount denda Kabupaten Subang - Rumus discount denda Kabupaten Subang
......
...@@ -66,9 +66,11 @@ class Inquiry(BaseInquiry): ...@@ -66,9 +66,11 @@ class Inquiry(BaseInquiry):
return 0 return 0
def hitung_discount_pokok(self): def hitung_discount_pokok(self):
faktor_pengurang = self.invoice.faktor_pengurang_sppt or 0 # Abaikan faktor_pengurang_sppt
if faktor_pengurang > 0: # (Kabid Jimmy via Eko Novianto, 6-8-2022)
return 0 # faktor_pengurang = self.invoice.faktor_pengurang_sppt or 0
# if faktor_pengurang > 0:
# return 0
if self.invoice.thn_pajak_sppt >= '2014' and \ if self.invoice.thn_pajak_sppt >= '2014' and \
self.invoice.thn_pajak_sppt <= '2021': self.invoice.thn_pajak_sppt <= '2021':
disc = 0.3 disc = 0.3
...@@ -129,11 +131,6 @@ class AvailableInvoice(BaseAvailableInvoice): ...@@ -129,11 +131,6 @@ class AvailableInvoice(BaseAvailableInvoice):
class AvailableInvoiceTangsel(AvailableInvoice): class AvailableInvoiceTangsel(AvailableInvoice):
def __init__(self, persen_denda, option):
AvailableInvoice.__init__(
self, persen_denda, option.count, option.tahun)
self.option = option
def get_msg(self, inq): def get_msg(self, inq):
s = AvailableInvoice.get_msg(self, inq) s = AvailableInvoice.get_msg(self, inq)
if inq.discount_pokok: if inq.discount_pokok:
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!