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 6638aa07
authored
Dec 31, 2025
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Di Kabupaten Tasikmalaya ada perubahan perhitungan denda dari berdasarkan tanggal menjadi bulan
1 parent
44926b32
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
3 deletions
CHANGES.txt
pyproject.toml
sismiop/services/tasik_kab.py
CHANGES.txt
View file @
6638aa0
0.3.45 2025-12-31
-----------------
- Di Kabupaten Tasikmalaya ada perubahan perhitungan denda dari berdasarkan
tanggal menjadi berdasarkan bulan.
0.3.44 2025-12-30
0.3.44 2025-12-30
-----------------
-----------------
- Discount pokok Kota Tangerang Selatan
- Discount pokok Kota Tangerang Selatan
...
...
pyproject.toml
View file @
6638aa0
...
@@ -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.4
4
'
version
=
'
0.3.4
5
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/tasik_kab.py
View file @
6638aa0
from
datetime
import
date
from
datetime
import
(
date
,
datetime
,
)
from
sqlalchemy
import
func
from
sqlalchemy
import
func
from
opensipkd.hitung
import
round_up
from
opensipkd.hitung
import
(
round_up
,
hitung_denda
,
bulan_tunggakan_berdasarkan_bln
,
)
from
..models.tasik_kab
import
(
from
..models.tasik_kab
import
(
ObjekPajak
,
ObjekPajak
,
Sppt
,
Sppt
,
...
@@ -61,6 +68,16 @@ class Inquiry(BaseInquiry):
...
@@ -61,6 +68,16 @@ class Inquiry(BaseInquiry):
else
:
else
:
self
.
tagihan
=
round_up
(
tagihan
)
self
.
tagihan
=
round_up
(
tagihan
)
def
hitung_denda
(
self
):
# override
if
isinstance
(
self
.
tgl_bayar
,
datetime
):
tgl_bayar
=
self
.
tgl_bayar
.
date
()
else
:
tgl_bayar
=
self
.
tgl_bayar
self
.
bln_tunggakan
,
denda
=
hitung_denda
(
self
.
tagihan
,
self
.
get_jatuh_tempo
(),
self
.
persen_denda
,
tgl_bayar
,
bulan_tunggakan_berdasarkan_bln
)
self
.
denda
=
round_up
(
denda
)
def
hitung_discount
(
self
):
# Override
def
hitung_discount
(
self
):
# Override
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2025'
:
'2014'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2025'
:
...
...
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