Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-pad-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 19648caa
authored
Jul 10, 2023
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah Kabupaten Lebak
1 parent
e32e29a7
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
5 deletions
CHANGES.txt
opensipkd/pad/scripts/inquiry.py
opensipkd/pad/services/lebak.py
CHANGES.txt
View file @
19648ca
0.4.10 2023-07-10
-----------------
- Tambah Kabupaten Lebak
0.4.9 2023-03-06
0.4.9 2023-03-06
----------------
----------------
- Tambah Ciamis
- Tambah
Kabupaten
Ciamis
0.4.8 2023-01-06
0.4.8 2023-01-06
----------------
----------------
...
...
opensipkd/pad/scripts/inquiry.py
View file @
19648ca
...
@@ -53,6 +53,7 @@ def show(inq):
...
@@ -53,6 +53,7 @@ def show(inq):
show_val
(
'Tahun Pajak'
,
inq
.
get_tahun
())
show_val
(
'Tahun Pajak'
,
inq
.
get_tahun
())
show_val
(
'Masa 1'
,
inq
.
get_masa_1
())
show_val
(
'Masa 1'
,
inq
.
get_masa_1
())
show_val
(
'Masa 2'
,
inq
.
get_masa_2
())
show_val
(
'Masa 2'
,
inq
.
get_masa_2
())
if
inq
.
get_kohir_model
():
show_val
(
'Tanggal Kohir'
,
inq
.
get_tgl_kohir
())
show_val
(
'Tanggal Kohir'
,
inq
.
get_tgl_kohir
())
show_val
(
'Kode Rekening'
,
inq
.
get_kode_rekening
())
show_val
(
'Kode Rekening'
,
inq
.
get_kode_rekening
())
show_val
(
'Nama Rekening'
,
inq
.
get_nama_rekening
())
show_val
(
'Nama Rekening'
,
inq
.
get_nama_rekening
())
...
@@ -69,10 +70,8 @@ def show(inq):
...
@@ -69,10 +70,8 @@ def show(inq):
show_val
(
'Jatuh Tempo'
,
inq
.
get_jatuh_tempo
())
show_val
(
'Jatuh Tempo'
,
inq
.
get_jatuh_tempo
())
show_val
(
'Jumlah Bulan Denda'
,
inq
.
bln_tunggakan
)
show_val
(
'Jumlah Bulan Denda'
,
inq
.
bln_tunggakan
)
show_rp
(
'Tagihan'
,
inq
.
tagihan
)
show_rp
(
'Tagihan'
,
inq
.
tagihan
)
try
:
show_field
(
inq
.
invoice
,
'pajak_terhutang'
)
show_rp
(
'Bunga'
,
inq
.
invoice
.
bunga
)
show_field
(
inq
.
invoice
,
'bunga'
)
except
AttributeError
:
pass
try
:
try
:
show_rp
(
'Denda Jatuh Tempo'
,
inq
.
denda_waktu
)
show_rp
(
'Denda Jatuh Tempo'
,
inq
.
denda_waktu
)
except
AttributeError
:
except
AttributeError
:
...
...
opensipkd/pad/services/lebak.py
0 → 100644
View file @
19648ca
from
datetime
import
date
from
.default
import
(
Inquiry
as
BaseInquiry
,
Reversal
as
BaseReversal
,
AvailableInvoice
as
BaseAvailableInvoice
,
)
PREFIX
=
'3602'
INVOICE_ID
=
[
(
'Prefix'
,
4
,
'N'
),
(
'Tahun'
,
4
,
'N'
),
(
'SptNo'
,
5
,
'N'
),
]
class
Inquiry
(
BaseInquiry
):
invoice_id_structure
=
INVOICE_ID
def
get_kohir_model
(
self
):
# Override
pass
class
Reversal
(
BaseReversal
):
invoice_id_structure
=
INVOICE_ID
class
AvailableInvoice
(
BaseAvailableInvoice
):
invoice_id_structure
=
INVOICE_ID
def
get_inquiry_class
(
self
):
# Override
return
Inquiry
def
get_invoice_id
(
self
,
row
):
# Override
invoice_id
=
super
()
.
get_invoice_id
(
row
)
invoice_id
[
'Prefix'
]
=
PREFIX
return
invoice_id
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