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 8b189882
authored
Aug 06, 2022
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Di Tangsel discount pokok tidak memperhatikan faktor pengurang sppt
1 parent
2bbc05c6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
CHANGES.txt
sismiop/services/tangsel.py
CHANGES.txt
View file @
8b18988
0.1.40 2022-8-6
---------------
- Di Tangerang Selatan discount pokok tidak perlu memperhatikan nilai
field_pengurang_sppt
- Bug fixed available invoice di Tangerang Selatan
0.1.39 2022-8-4
---------------
- Rumus discount denda Kabupaten Subang
...
...
sismiop/services/tangsel.py
View file @
8b18988
...
...
@@ -66,9 +66,11 @@ class Inquiry(BaseInquiry):
return
0
def
hitung_discount_pokok
(
self
):
faktor_pengurang
=
self
.
invoice
.
faktor_pengurang_sppt
or
0
if
faktor_pengurang
>
0
:
return
0
# Abaikan faktor_pengurang_sppt
# (Kabid Jimmy via Eko Novianto, 6-8-2022)
# faktor_pengurang = self.invoice.faktor_pengurang_sppt or 0
# if faktor_pengurang > 0:
# return 0
if
self
.
invoice
.
thn_pajak_sppt
>=
'2014'
and
\
self
.
invoice
.
thn_pajak_sppt
<=
'2021'
:
disc
=
0.3
...
...
@@ -129,11 +131,6 @@ class AvailableInvoice(BaseAvailableInvoice):
class
AvailableInvoiceTangsel
(
AvailableInvoice
):
def
__init__
(
self
,
persen_denda
,
option
):
AvailableInvoice
.
__init__
(
self
,
persen_denda
,
option
.
count
,
option
.
tahun
)
self
.
option
=
option
def
get_msg
(
self
,
inq
):
s
=
AvailableInvoice
.
get_msg
(
self
,
inq
)
if
inq
.
discount_pokok
:
...
...
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