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 327322b7
authored
Sep 08, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Tambah Kabupaten Tasikmalaya
1 parent
9cab1ca6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
1 deletions
CHANGES.txt
opensipkd/pad/services/tasik_kabupaten.py
pyproject.toml
CHANGES.txt
View file @
327322b
0.5.14 2024-09-08
-----------------
- Tambah Kabupaten Tasikmalaya
0.5.13 2024-09-05
-----------------
- Kabupaten Kuningan discount denda 100% periode 5 - 30 September
...
...
opensipkd/pad/services/tasik_kabupaten.py
0 → 100644
View file @
327322b
from
.banjar
import
(
Inquiry
as
BaseInquiry
,
Reversal
as
BaseReversal
,
AvailableInvoice
as
BaseAvailableInvoice
,
)
from
..models.ciamis
import
Kohir
PREFIX
=
'3208'
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
return
Kohir
class
Reversal
(
BaseReversal
):
invoice_id_structure
=
INVOICE_ID
def
get_kohir_model
(
self
):
# Override
return
Kohir
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
pyproject.toml
View file @
327322b
...
...
@@ -3,7 +3,7 @@ requires = ['setuptools >= 64']
[project]
name
=
'opensipkd-pad-models'
version
=
'
0.5.1
3
'
version
=
'
0.5.1
4
'
dependencies
=
[
'sqlalchemy'
,
'zope.sqlalchemy'
,
...
...
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