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 438c9a48
authored
Sep 21, 2025
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kota Bogor
1 parent
c2fe7577
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
CHANGES.txt
pyproject.toml
sismiop/services/bogor_kota.py
CHANGES.txt
View file @
438c9a4
0.3.39 2025-09-21
-----------------
- Discount denda Kota Bogor
0.3.38 2025-08-31
-----------------
- Discount denda Kabupaten Kuningan untuk tahun pajak 2025
...
...
pyproject.toml
View file @
438c9a4
...
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name
=
'sismiop-models'
version
=
'
0.3.3
8
'
version
=
'
0.3.3
9
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/bogor_kota.py
View file @
438c9a4
...
...
@@ -20,8 +20,8 @@ DISC_POKOK = [
(
date
(
2025
,
5
,
28
),
date
(
2025
,
6
,
28
),
0.05
),
]
DISC_DENDA_AWAL
=
date
(
2025
,
4
,
28
)
DISC_DENDA_AKHIR
=
date
(
2025
,
6
,
28
)
DISC_DENDA_AWAL
=
date
(
2025
,
9
,
22
)
DISC_DENDA_AKHIR
=
date
(
2025
,
12
,
31
)
class
Common
(
Query
):
...
...
@@ -78,7 +78,7 @@ class Inquiry(BaseInquiry, Common):
def
hitung_discount_denda
(
self
):
if
not
self
.
is_e_sppt
():
return
if
self
.
invoice
.
thn_pajak_sppt
>
'202
4
'
:
if
self
.
invoice
.
thn_pajak_sppt
>
'202
5
'
:
return
if
DISC_DENDA_AWAL
<=
self
.
tgl_bayar
<=
DISC_DENDA_AKHIR
:
self
.
discount_denda
=
self
.
denda
...
...
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