Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Owo Sugiana
/
opensipkd-bphtb-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 a2df7594
authored
Aug 14, 2023
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah Kota Serang
1 parent
b4e3d38f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
1 deletions
CHANGES.txt
opensipkd/bphtb/services/serang_kota/__init__.py
opensipkd/bphtb/services/serang_kota/structure.py
CHANGES.txt
View file @
a2df759
0.4.6 2023-08-14
----------------
- Tambah Kota Serang
0.4.5 2023-03-15
----------------
- Tambah
BPHTB
Kabupaten Ciamis
- Tambah Kabupaten Ciamis
- Bug fixed available invoice Kota Banjar
0.4.4 2022-12-22
...
...
opensipkd/bphtb/services/serang_kota/__init__.py
0 → 100644
View file @
a2df759
from
...models.banjar
import
(
Invoice
,
Kecamatan
,
Kelurahan
,
)
from
..banjar
import
(
Inquiry
as
BaseInquiry
,
Reversal
,
AvailableInvoice
as
BaseAvailableInvoice
,
)
from
.structure
import
(
INVOICE_ID
,
INVOICE_ID_LENGTH
,
)
class
Inquiry
(
BaseInquiry
):
invoice_model
=
Invoice
kecamatan_model
=
Kecamatan
kelurahan_model
=
Kelurahan
invoice_id_structure
=
INVOICE_ID
invoice_id_length
=
INVOICE_ID_LENGTH
class
AvailableInvoice
(
BaseAvailableInvoice
):
invoice_model
=
Invoice
inquiry_cls
=
Inquiry
invoice_id_structure
=
INVOICE_ID
invoice_id_length
=
INVOICE_ID_LENGTH
opensipkd/bphtb/services/serang_kota/structure.py
0 → 100644
View file @
a2df759
INVOICE_ID
=
[
[
'Tahun'
,
4
,
'N'
],
[
'SSPD No'
,
6
,
'N'
],
[
'Kode'
,
2
,
'N'
],
]
INVOICE_ID_LENGTH
=
0
for
nama
,
size
,
tipe
in
INVOICE_ID
:
INVOICE_ID_LENGTH
+=
size
# Ini adalah komponen Kode pada Invoice ID tergolong kurang bayar
KODE_KURANG_BAYAR
=
[
'2'
,
'4'
]
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