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 408c0a88
authored
Sep 02, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Perubahan yang mendapat discount pokok di Kota Cimahi
1 parent
36497e75
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
2 deletions
CHANGES.txt
pyproject.toml
sismiop/services/cimahi.py
CHANGES.txt
View file @
408c0a8
0.4.4 2026-09-02
----------------
- Perubahan yang mendapat discount pokok di Kota Cimahi
0.4.3 2026-09-01
0.4.3 2026-09-01
----------------
----------------
- Discount pokok Kota Cimahi
- Discount pokok Kota Cimahi
...
...
pyproject.toml
View file @
408c0a8
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
[project]
name
=
'sismiop-models'
name
=
'sismiop-models'
version
=
'
0.4.
3
'
version
=
'
0.4.
4
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/cimahi.py
View file @
408c0a8
...
@@ -23,7 +23,7 @@ class Inquiry(BaseInquiry):
...
@@ -23,7 +23,7 @@ class Inquiry(BaseInquiry):
def
hitung_discount_pokok
(
self
):
def
hitung_discount_pokok
(
self
):
if
self
.
invoice
.
thn_pajak_sppt
!=
'2026'
:
if
self
.
invoice
.
thn_pajak_sppt
!=
'2026'
:
return
return
if
self
.
invoice
.
status_tagihan_sppt
in
(
'5'
,
'
6'
,
'7
'
,
'9'
):
if
self
.
invoice
.
status_tagihan_sppt
in
(
'5'
,
'
7'
,
'8
'
,
'9'
):
return
return
if
AWAL_DISC_POKOK
<=
self
.
tgl_bayar
<=
AKHIR_DISC_POKOK
:
if
AWAL_DISC_POKOK
<=
self
.
tgl_bayar
<=
AKHIR_DISC_POKOK
:
self
.
discount_pokok
=
int
(
0.05
*
self
.
tagihan
)
self
.
discount_pokok
=
int
(
0.05
*
self
.
tagihan
)
...
...
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