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 0b6aae6c
authored
Mar 26, 2022
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Rumus discount Kabupaten Bekasi
1 parent
766663fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
CHANGES.txt
sismiop/services/bekasi_kab.py
CHANGES.txt
View file @
0b6aae6
0.1.36 2022-3-26
----------------
- Rumus discount Kabupaten Bekasi
0.1.35 2022-3-9
---------------
- Rumus discount Kota Bekasi
...
...
sismiop/services/bekasi_kab.py
View file @
0b6aae6
...
...
@@ -6,15 +6,15 @@ from .cilegon import (
)
#
SK Bupati No. 973/Kep-446-BAPENDA/2020 tanggal 11-11-2020
AWAL_DISC
=
date
(
202
0
,
11
,
20
)
AKHIR_DISC
=
date
(
202
0
,
12
,
20
)
#
Permintaan Pak Yasir tanggal 31 Januari 2022
AWAL_DISC
=
date
(
202
2
,
2
,
1
)
AKHIR_DISC
=
date
(
202
2
,
3
,
31
)
class
Inquiry
(
BaseInquiry
):
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
0
'
:
self
.
invoice
.
thn_pajak_sppt
>
'202
1
'
:
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