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 7e4b60e7
authored
Dec 20, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah Kabupaten Lebak
1 parent
a6ca2137
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
1 deletions
CHANGES.txt
pyproject.toml
sismiop/services/lebak.py
CHANGES.txt
View file @
7e4b60e
0.3.24 2024-12-20
-----------------
- Tambah Kabupaten Lebak
0.3.23 2024-12-03
-----------------
- Di Kota Tangerang maksimum denda bukan 48% melainkan 24 bulan
...
...
pyproject.toml
View file @
7e4b60e
...
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name
=
'sismiop-models'
version
=
'
0.3.2
3
'
version
=
'
0.3.2
4
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
sismiop/services/lebak.py
0 → 100644
View file @
7e4b60e
from
.subang
import
(
Inquiry
as
BaseInquiry
,
Reversal
,
AvailableInvoice
as
BaseAvailableInvoice
,
)
class
Inquiry
(
BaseInquiry
):
def
hitung_discount_pokok
(
self
):
'''Berita Acara Hasil Pemeriksaan dengan Wajib Pajak Nomor:
B.900.1.3.2/277-Bid.Pengembangan/IX/2024 tanggal 30 Septetmber 2024.'''
if
self
.
invoice_id_raw
==
'3602170013024000102024'
:
potongan
=
0.3
*
self
.
tagihan
return
int
(
potongan
)
return
0
def
hitung_discount
(
self
):
# Override
self
.
discount
=
self
.
discount_pokok
=
self
.
hitung_discount_pokok
()
self
.
discount_denda
=
0
class
AvailableInvoice
(
BaseAvailableInvoice
):
def
get_inquiry_class
(
self
):
# Override
return
Inquiry
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