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 6a70bb2b
authored
Jan 02, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Cirebon
1 parent
d800c0af
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
16 deletions
CHANGES.txt
pyproject.toml
sismiop/services/cirebon_kab.py
CHANGES.txt
View file @
6a70bb2
0.3.46 2026-01-02
-----------------
- Discount denda Kabupaten Cirebon untuk tahun pajak 2009 - 2025 periode 1
Januari - 31 Desember 2026
0.3.45 2025-12-31
-----------------
- Di Kabupaten Tasikmalaya ada perubahan perhitungan denda dari berdasarkan
...
...
pyproject.toml
View file @
6a70bb2
...
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name
=
'sismiop-models'
version
=
'
0.3.4
5
'
version
=
'
0.3.4
6
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/cirebon_kab.py
View file @
6a70bb2
...
...
@@ -10,8 +10,8 @@ from .default import (
)
AWAL_DISC
=
date
(
202
5
,
8
,
17
)
AKHIR_DISC
=
date
(
202
5
,
9
,
30
)
AWAL_DISC
=
date
(
202
6
,
1
,
1
)
AKHIR_DISC
=
date
(
202
6
,
12
,
31
)
class
Inquiry
(
BaseInquiry
):
...
...
@@ -41,19 +41,9 @@ class Inquiry(BaseInquiry):
def
hitung_discount
(
self
):
# Override
self
.
discount_pokok
=
self
.
discount_denda
=
0
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
self
.
discount_denda
=
self
.
denda
if
'1994'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2024'
:
if
'1994'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2008'
:
disc
=
0.75
elif
'2009'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2013'
:
disc
=
0.5
elif
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2023'
:
disc
=
0.25
else
:
disc
=
0.1
self
.
discount_pokok
=
int
(
disc
*
self
.
tagihan
)
self
.
discount
=
self
.
discount_pokok
+
self
.
discount_denda
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
'2009'
<=
self
.
invoice
.
thn_pajak_sppt
<
'2025'
:
self
.
discount
=
self
.
discount_denda
=
self
.
denda
def
before_save
(
self
,
payment
):
# Override
# Catat sebagai bruto, ujar Gilang
...
...
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