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 c2fe7577
authored
Aug 31, 2025
by
iWan Mustaqim
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Kuningan untuk tahun pajak 2025
1 parent
94e3e49b
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
1 deletions
CHANGES.txt
pyproject.toml
sismiop/services/kuningan.py
CHANGES.txt
View file @
c2fe757
0.3.38 2025-08-31
-----------------
- Discount denda Kabupaten Kuningan untuk tahun pajak 2025
0.3.37 2025-08-16
0.3.37 2025-08-16
-----------------
-----------------
- Discount pokok dan denda Kabupaten Cirebon
- Discount pokok dan denda Kabupaten Cirebon
...
...
pyproject.toml
View file @
c2fe757
...
@@ -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.3
7
'
version
=
'
0.3.3
8
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/kuningan.py
View file @
c2fe757
...
@@ -13,6 +13,9 @@ from .base import get_db_session
...
@@ -13,6 +13,9 @@ from .base import get_db_session
AWAL_DISC
=
date
(
2025
,
8
,
1
)
AWAL_DISC
=
date
(
2025
,
8
,
1
)
AKHIR_DISC
=
date
(
2025
,
10
,
31
)
AKHIR_DISC
=
date
(
2025
,
10
,
31
)
AWAL_DISC_2025
=
date
(
2025
,
9
,
1
)
AKHIR_DISC_2025
=
date
(
2025
,
9
,
7
)
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
def
get_payment_model
(
self
):
# Override
def
get_payment_model
(
self
):
# Override
...
@@ -50,6 +53,9 @@ class Inquiry(BaseInquiry):
...
@@ -50,6 +53,9 @@ class Inquiry(BaseInquiry):
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
if
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2024'
:
if
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2024'
:
return
self
.
denda
return
self
.
denda
if
AWAL_DISC_2025
<=
self
.
tgl_bayar
<=
AKHIR_DISC_2025
:
if
self
.
invoice
.
thn_pajak_sppt
==
'2025'
:
return
self
.
denda
return
0
return
0
def
before_save
(
self
,
payment
):
# Override
def
before_save
(
self
,
payment
):
# Override
...
...
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