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 70911dc7
authored
Jan 03, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Struktur tabel Kota Banjar
1 parent
93219176
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
opensipkd/pad/services/banjar.py
opensipkd/pad/services/banjar.py
View file @
70911dc
...
...
@@ -7,16 +7,24 @@ from .default import (
from
..models.banjar
import
(
Invoice
,
Kohir
,
Payment
,
)
class
Inquiry
(
BaseInquiry
):
# Cekal 2024, Pak Yasir, 3-1-2024
def
is_available
(
self
):
return
super
()
.
is_available
()
and
self
.
tahun_terbit
<
2024
def
get_invoice_model
(
self
):
# Override
return
Invoice
def
get_kohir_model
(
self
):
# Override
return
Kohir
def
get_payment_model
(
self
):
# Override
return
Payment
def
get_kohir
(
self
):
# Override
DBSession
=
get_db_session
()
Kohir
=
self
.
get_kohir_model
()
...
...
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