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 6e5c24eb
authored
Jun 08, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Pangandaran
1 parent
dad5c2b1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
9 deletions
CHANGES.txt
pyproject.toml
sismiop/services/pangandaran.py
CHANGES.txt
View file @
6e5c24e
0.3.57 2026-06-08
-----------------
- Discount denda Kabupaten Pangandaran
0.3.56 2026-05-30
0.3.56 2026-05-30
-----------------
-----------------
- Discount denda di Kota Bogor
- Discount denda di Kota Bogor
...
...
pyproject.toml
View file @
6e5c24e
...
@@ -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.5
6
'
version
=
'
0.3.5
7
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/pangandaran.py
View file @
6e5c24e
...
@@ -15,9 +15,8 @@ from .base import (
...
@@ -15,9 +15,8 @@ from .base import (
)
)
AWAL_DISC
=
date
(
2024
,
11
,
1
)
AWAL_DISC
=
date
(
2026
,
6
,
8
)
AKHIR_DISC
=
date
(
2024
,
12
,
31
)
AKHIR_DISC
=
date
(
2026
,
9
,
30
)
AWAL_DISC_UNLIMITED
=
date
(
2024
,
1
,
19
)
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
...
@@ -27,12 +26,10 @@ class Inquiry(BaseInquiry):
...
@@ -27,12 +26,10 @@ class Inquiry(BaseInquiry):
return
1
return
1
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'
:
if
self
.
tgl_bayar
>=
AWAL_DISC_UNLIMITED
and
\
'2004'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2013'
:
return
self
.
denda
return
self
.
denda
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2024
'
:
if
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2025
'
:
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