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 22358d3d
authored
Oct 01, 2026
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Discount denda Kabupaten Lebak
1 parent
4b73490b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
3 deletions
CHANGES.txt
pyproject.toml
sismiop/services/lebak.py
CHANGES.txt
View file @
22358d3
0.4.6 2026-10-01
----------------
- Discount denda Kabupaten Lebak
0.4.5 2026-09-30
0.4.5 2026-09-30
----------------
----------------
- Discount denda Kota Cimahi diperpanjang hingga 28 Desember
- Discount denda Kota Cimahi diperpanjang hingga 28 Desember
...
...
pyproject.toml
View file @
22358d3
...
@@ -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.
5
'
version
=
'
0.4.
6
'
dependencies
=
[
dependencies
=
[
'sqlalchemy'
,
'sqlalchemy'
,
'zope.sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/lebak.py
View file @
22358d3
from
datetime
import
date
from
.subang
import
(
from
.subang
import
(
Inquiry
as
BaseInquiry
,
Inquiry
as
BaseInquiry
,
Reversal
,
Reversal
,
...
@@ -5,6 +6,10 @@ from .subang import (
...
@@ -5,6 +6,10 @@ from .subang import (
)
)
AWAL_DISC
=
date
(
2026
,
10
,
1
)
AKHIR_DISC
=
date
(
2026
,
12
,
31
)
class
Inquiry
(
BaseInquiry
):
class
Inquiry
(
BaseInquiry
):
def
hitung_discount_pokok
(
self
):
def
hitung_discount_pokok
(
self
):
'''Berita Acara Hasil Pemeriksaan dengan Wajib Pajak Nomor:
'''Berita Acara Hasil Pemeriksaan dengan Wajib Pajak Nomor:
...
@@ -14,9 +19,16 @@ class Inquiry(BaseInquiry):
...
@@ -14,9 +19,16 @@ class Inquiry(BaseInquiry):
return
int
(
potongan
)
return
int
(
potongan
)
return
0
return
0
def
hitung_discount_denda
(
self
):
if
AWAL_DISC
<=
self
.
tgl_bayar
<=
AKHIR_DISC
:
if
self
.
invoice
.
thn_pajak_sppt
==
'2026'
:
return
self
.
denda
return
0
def
hitung_discount
(
self
):
# Override
def
hitung_discount
(
self
):
# Override
self
.
discount
=
self
.
discount_pokok
=
self
.
hitung_discount_pokok
()
self
.
discount_pokok
=
self
.
hitung_discount_pokok
()
self
.
discount_denda
=
0
self
.
discount_denda
=
self
.
hitung_discount_denda
()
self
.
discount
=
self
.
discount_pokok
+
self
.
discount_denda
class
AvailableInvoice
(
BaseAvailableInvoice
):
class
AvailableInvoice
(
BaseAvailableInvoice
):
...
...
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