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 82cd2bcf
authored
Aug 01, 2025
by
iWan Mustaqim
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Kuningan
1 parent
35746037
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
CHANGES.txt
pyproject.toml
sismiop/services/kuningan.py
CHANGES.txt
View file @
82cd2bc
0.3.36 2025-08-01
-----------------
- Discount denda Kabupaten Kuningan
0.3.35 2025-07-31
0.3.35 2025-07-31
-----------------
-----------------
- Discount pokok dan denda Kota Tangerang
- Discount pokok dan denda Kota Tangerang
...
...
pyproject.toml
View file @
82cd2bc
...
@@ -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
5
'
version
=
'
0.3.3
6
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/kuningan.py
View file @
82cd2bc
...
@@ -10,8 +10,8 @@ from .cilegon import (
...
@@ -10,8 +10,8 @@ from .cilegon import (
from
.base
import
get_db_session
from
.base
import
get_db_session
AWAL_DISC
=
date
(
202
4
,
9
,
5
)
AWAL_DISC
=
date
(
202
5
,
8
,
1
)
AKHIR_DISC
=
date
(
202
4
,
9
,
30
)
AKHIR_DISC
=
date
(
202
5
,
10
,
31
)
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
...
@@ -47,10 +47,9 @@ class Inquiry(BaseInquiry):
...
@@ -47,10 +47,9 @@ class Inquiry(BaseInquiry):
def
hitung_discount_denda
(
self
):
# Override
def
hitung_discount_denda
(
self
):
# Override
if
self
.
denda
<
1
:
if
self
.
denda
<
1
:
return
0
return
0
if
self
.
invoice
.
thn_pajak_sppt
!=
'2024'
:
return
0
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
return
self
.
denda
if
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2024'
:
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