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 00d81116
authored
Jan 04, 2024
by
Owo Sugiana
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Bug fixed Kabupaten Cirebon saat payment
1 parent
c54fd3d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
opensipkd/pad/services/cirebon_kab.py
opensipkd/pad/services/cirebon_kab.py
View file @
00d8111
from
datetime
import
date
from
..models.cirebon_kab
import
Kohir
from
..models.kuningan
import
Payment
from
.default
import
(
Inquiry
as
BaseInquiry
,
Reversal
as
BaseReversal
,
...
...
@@ -34,10 +35,19 @@ class Inquiry(BaseInquiry):
def
get_kohir_model
(
self
):
# Override
return
Kohir
def
get_payment_model
(
self
):
# Override
return
Payment
class
Reversal
(
BaseReversal
):
invoice_id_structure
=
INVOICE_ID
def
get_kohir_model
(
self
):
# Override
return
Kohir
def
get_payment_model
(
self
):
# Override
return
Payment
class
AvailableInvoice
(
BaseAvailableInvoice
):
invoice_id_structure
=
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