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 51ae0b84
authored
Jan 18, 2023
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Bekasi
1 parent
3cdfb545
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
4 deletions
CHANGES.txt
sismiop/services/bekasi_kab.py
CHANGES.txt
View file @
51ae0b8
0.1.49 2022-01-18
-----------------
- Discount denda Kabupaten Bekasi
0.1.48 2022-01-17
-----------------
- Tambah Kota Serang
...
...
sismiop/services/bekasi_kab.py
View file @
51ae0b8
...
...
@@ -6,15 +6,22 @@ from .cilegon import (
)
# Permintaan
Pak Yasir tanggal 31 Januari 2022
AWAL_DISC
=
date
(
202
2
,
2
,
1
)
AKHIR_DISC
=
date
(
202
2
,
3
,
31
)
# Permintaan
Gilang, 18 Januari 2023
AWAL_DISC
=
date
(
202
3
,
1
,
20
)
AKHIR_DISC
=
date
(
202
3
,
3
,
31
)
class
Inquiry
(
BaseInquiry
):
# 2023 off dulu sampai pemberitahuan berikutnya
# Gilang, 12-1-2023
def
is_available
(
self
):
# Override
if
self
.
invoice
.
thn_pajak_sppt
>
'2022'
:
return
return
super
()
.
is_available
()
def
hitung_discount_denda
(
self
):
# Override
if
self
.
denda
<
1
or
self
.
tgl_bayar
<
AWAL_DISC
or
\
self
.
tgl_bayar
>
AKHIR_DISC
or
\
self
.
invoice
.
thn_pajak_sppt
>
'202
1
'
:
self
.
invoice
.
thn_pajak_sppt
>
'202
2
'
:
return
0
return
self
.
denda
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