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 d1fbdec1
authored
Jan 19, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Pangandaran 2004 - 2013 discount tanpa batas waktu
1 parent
a50a2292
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
sismiop/services/pangandaran.py
sismiop/services/pangandaran.py
View file @
d1fbdec
...
@@ -17,14 +17,15 @@ from .base import (
...
@@ -17,14 +17,15 @@ from .base import (
AWAL_DISC
=
date
(
2024
,
1
,
18
)
AWAL_DISC
=
date
(
2024
,
1
,
18
)
AKHIR_DISC
=
date
(
2024
,
9
,
30
)
AKHIR_DISC
=
date
(
2024
,
9
,
30
)
AWAL_THN
=
'2014'
AKHIR_THN
=
'2023'
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
def
hitung_discount_denda
(
self
):
def
hitung_discount_denda
(
self
):
# 2004 - 2013 tanpa batas waktu, Gilang, 18-1-2024
if
'2004'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2013'
:
return
self
.
denda
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
AWAL_THN
<=
self
.
invoice
.
thn_pajak_sppt
<=
AKHIR_THN
:
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2023'
:
return
self
.
denda
return
self
.
denda
return
0
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