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 b73b5194
authored
Sep 24, 2020
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah modul bekasi_kab
1 parent
12faf087
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
2 deletions
CHANGES.txt
setup.py
sismiop/scripts/inquiry.py
sismiop/services/bekasi_kab/__init__.py
sismiop/services/cilegon/__init__.py
CHANGES.txt
View file @
b73b519
0.1.10 2020-09-24
-----------------
- Tambah modul bekasi_kab
0.1.9 2020-08-30
----------------
- Perubahan rumus discount pokok dan discount denda pada modul tangsel sesuai
...
...
setup.py
View file @
b73b519
...
...
@@ -20,7 +20,7 @@ requires = [
'zope.sqlalchemy'
,
'psycopg2-binary'
,
'opensipkd-hitung @ '
'git+https://git.opensipkd.com/sugiana/opensipkd-hitung'
,
'git+https://git.opensipkd.com/sugiana/opensipkd-hitung
.git
'
,
]
...
...
sismiop/scripts/inquiry.py
View file @
b73b519
sismiop/services/bekasi_kab/__init__.py
0 → 100644
View file @
b73b519
from
datetime
import
date
from
sismiop.services.cilegon
import
(
Inquiry
as
BaseInquiry
,
Reversal
,
AvailableInvoice
,
)
AWAL_DISC
=
date
(
2020
,
9
,
1
)
AKHIR_DISC
=
date
(
2020
,
10
,
30
)
class
Inquiry
(
BaseInquiry
):
def
hitung_discount_denda
(
self
):
# Override
tgl_bayar
=
self
.
tgl_bayar
.
date
()
if
self
.
denda
<
1
or
tgl_bayar
<
AWAL_DISC
or
\
tgl_bayar
>
AKHIR_DISC
or
self
.
invoice
.
thn_pajak_sppt
>
'2020'
:
return
0
return
self
.
denda
sismiop/services/cilegon/__init__.py
View file @
b73b519
# File ini berdasarkan Surat Keputusan Walikota Cilegon Nomor 973/kep. -BPKAD/2020
# File ini berdasarkan Surat Keputusan Walikota Cilegon
# Nomor 973/kep. -BPKAD/2020
from
datetime
import
date
from
..default
import
(
Inquiry
as
BaseInquiry
,
...
...
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