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 f53f9a45
authored
Aug 28, 2024
by
aagusti
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Tasikmalaya
1 parent
790421d3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
CHANGES.txt
sismiop/models/tasik_kab.py
sismiop/services/tasik_kab.py
CHANGES.txt
View file @
f53f9a4
0.3.16 2024-08-28
-----------------
- Discount denda Kabupaten Tasikmalaya
0.3.15 2024-08-07
-----------------
- Kota Tangerang Selatan discount periode 1 September - 28 Desember.
...
...
sismiop/models/tasik_kab.py
View file @
f53f9a4
...
...
@@ -30,6 +30,10 @@ class PembayaranSppt(Base, BasePembayaranSpptMixin):
nip_rekam_byr_sppt
=
Column
(
String
(
18
))
kd_kanwil
=
Column
(
String
(
2
))
kd_kantor
=
Column
(
String
(
2
))
denda_sblm_diskon
=
Column
(
BigInteger
)
discount
=
Column
(
BigInteger
)
discount_denda
=
Column
(
BigInteger
)
discount_pokok
=
Column
(
BigInteger
)
class
Kelurahan
(
Base
,
KelurahanMixin
):
...
...
sismiop/services/tasik_kab.py
View file @
f53f9a4
...
...
@@ -17,8 +17,8 @@ from .base import (
)
AWAL_DISC
=
date
(
202
3
,
6
,
20
)
AKHIR_DISC
=
date
(
202
3
,
9
,
30
)
AWAL_DISC
=
date
(
202
4
,
8
,
29
)
AKHIR_DISC
=
date
(
202
4
,
10
,
31
)
class
Inquiry
(
BaseInquiry
):
...
...
@@ -63,8 +63,7 @@ class Inquiry(BaseInquiry):
def
hitung_discount
(
self
):
# Override
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
and
\
self
.
invoice
.
thn_pajak_sppt
>=
'2014'
and
\
self
.
invoice
.
thn_pajak_sppt
<=
'2022'
:
'2018'
<=
self
.
invoice
.
thn_pajak_sppt
<=
'2024'
:
self
.
discount
=
self
.
denda
else
:
self
.
discount
=
0
...
...
@@ -74,7 +73,7 @@ class Inquiry(BaseInquiry):
# Sekedar catatan
payment
.
denda_sblm_diskon
=
self
.
denda
payment
.
discount_denda
=
self
.
discount
payment
.
d
e
scount
=
self
.
discount
payment
.
d
i
scount
=
self
.
discount
class
Reversal
(
BaseReversal
):
...
...
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