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 8f625f70
authored
Jan 23, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed Kota Bekasi saat denda melebihi 48%
1 parent
8e37f31f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletions
sismiop/services/bekasi_kota.py
sismiop/services/pangandaran.py
sismiop/services/bekasi_kota.py
View file @
8f625f7
...
@@ -35,6 +35,8 @@ def hitung_denda(tagihan, jatuh_tempo, tgl_hitung):
...
@@ -35,6 +35,8 @@ def hitung_denda(tagihan, jatuh_tempo, tgl_hitung):
bulan1persen
=
bulan_tunggakan_berdasarkan_tgl
(
bulan1persen
=
bulan_tunggakan_berdasarkan_tgl
(
jatuh_tempo_januari
,
tgl_hitung
)
jatuh_tempo_januari
,
tgl_hitung
)
persen
=
bulan2persen
*
2
+
bulan1persen
persen
=
bulan2persen
*
2
+
bulan1persen
if
persen
>
48
:
persen
=
48
bulan
=
bulan2persen
+
bulan1persen
bulan
=
bulan2persen
+
bulan1persen
denda
=
float
(
persen
)
/
100
*
tagihan
denda
=
float
(
persen
)
/
100
*
tagihan
return
bulan
,
denda
return
bulan
,
denda
...
...
sismiop/services/pangandaran.py
View file @
8f625f7
...
@@ -21,7 +21,7 @@ AWAL_DISC_UNLIMITED = date(2024, 1, 19)
...
@@ -21,7 +21,7 @@ AWAL_DISC_UNLIMITED = date(2024, 1, 19)
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
# 2024 ditutup dulu, Gilang, 19-1-2024
# 2024 ditutup dulu, Gilang, 19-1-2024
def
is_available
(
self
):
def
is_available
(
self
):
if
self
.
invoice
.
thn_pajak_sppt
>
'2023'
:
if
self
.
invoice
.
thn_pajak_sppt
>
'2023'
:
return
return
...
...
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