Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
sismiop-models
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 16967303
authored
Apr 21, 2021
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda untuk Kabupaten Kuningan
1 parent
10b96aac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
CHANGES.txt
sismiop/services/kuningan.py
CHANGES.txt
View file @
1696730
0.1.24 2021-04-21
-----------------
- Discount denda untuk Kabupaten Kuningan
0.1.23 2021-04-12
-----------------
- Penambahan Kabupaten Subang
...
...
sismiop/services/kuningan.py
View file @
1696730
...
...
@@ -7,7 +7,9 @@ from .cilegon import (
)
AKHIR_DISC
=
date
(
2020
,
12
,
31
)
# SK Bupati nomor 973/KPTS.210-Bappenda/2021, 20 April 2021
AKHIR_DISC
=
date
(
2021
,
12
,
31
)
DISC_THN_PAJAK
=
(
'2016'
,
'2017'
,
'2018'
,
'2019'
,
'2020'
)
class
Inquiry
(
BaseInquiry
):
...
...
@@ -16,7 +18,7 @@ class Inquiry(BaseInquiry):
def
hitung_discount_denda
(
self
):
if
self
.
denda
>
0
and
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
self
.
invoice
.
thn_pajak_sppt
in
(
'2019'
,
'2020'
)
:
self
.
invoice
.
thn_pajak_sppt
in
DISC_THN_PAJAK
:
return
self
.
denda
return
0
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment