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 473a3488
authored
Sep 23, 2024
by
h2h
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Kota Cilegon discount denda periode 24 September - 31 Oktober
1 parent
e93b6a16
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
10 deletions
CHANGES.txt
pyproject.toml
sismiop/services/cilegon.py
CHANGES.txt
View file @
473a348
0.3.19 2024-09-23
-----------------
- Kota Cilegon discount denda periode 24 September - 31 Oktober
0.3.18 2024-09-11
0.3.18 2024-09-11
-----------------
-----------------
- Kota Tangerang Selatan tidak perlu lagi filter pembayaran negatif karena
- Kota Tangerang Selatan tidak perlu lagi filter pembayaran negatif karena
...
...
pyproject.toml
View file @
473a348
...
@@ -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.1
8
'
version
=
'
0.3.1
9
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/cilegon.py
View file @
473a348
...
@@ -9,11 +9,8 @@ from .base import get_db_session
...
@@ -9,11 +9,8 @@ from .base import get_db_session
from
..models.cilegon
import
PembayaranSppt
from
..models.cilegon
import
PembayaranSppt
# SK WALIKOTA CILEGON
AWAL_DISC
=
date
(
2024
,
9
,
24
)
# NOMOR 973/Kep.114-BPKAD/2022
AKHIR_DISC
=
date
(
2024
,
10
,
31
)
# 19 SEPTEMBER 2022
AWAL_DISC
=
date
(
2022
,
10
,
1
)
AKHIR_DISC
=
date
(
2022
,
12
,
31
)
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
...
@@ -23,11 +20,9 @@ class Inquiry(BaseInquiry):
...
@@ -23,11 +20,9 @@ class Inquiry(BaseInquiry):
return
1
return
1
def
hitung_discount_denda
(
self
):
def
hitung_discount_denda
(
self
):
if
self
.
tgl_bayar
<
AWAL_DISC
or
self
.
tgl_bayar
>
AKHIR_DISC
or
\
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
self
.
invoice
.
thn_pajak_sppt
<
'1990'
or
\
self
.
invoice
.
thn_pajak_sppt
>
'2022'
:
return
0
return
self
.
denda
return
self
.
denda
return
0
def
get_payment_model
(
self
):
# Override
def
get_payment_model
(
self
):
# Override
return
PembayaranSppt
return
PembayaranSppt
...
...
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