Commit 0e47a9d6 by Owo Sugiana

Bug fixed Kabupaten Lebak saat payment

1 parent 18b2f955
from datetime import date from datetime import date
from ..models.banjar import Payment
from .default import ( from .default import (
Inquiry as BaseInquiry, Inquiry as BaseInquiry,
Reversal as BaseReversal, Reversal as BaseReversal,
...@@ -17,6 +18,9 @@ INVOICE_ID = [ ...@@ -17,6 +18,9 @@ INVOICE_ID = [
class Inquiry(BaseInquiry): class Inquiry(BaseInquiry):
invoice_id_structure = INVOICE_ID invoice_id_structure = INVOICE_ID
def get_payment_model(self): # Override
return Payment
def get_kohir_model(self): # Override def get_kohir_model(self): # Override
pass pass
...@@ -30,6 +34,9 @@ class Inquiry(BaseInquiry): ...@@ -30,6 +34,9 @@ class Inquiry(BaseInquiry):
class Reversal(BaseReversal): class Reversal(BaseReversal):
invoice_id_structure = INVOICE_ID invoice_id_structure = INVOICE_ID
def get_payment_model(self): # Override
return Payment
class AvailableInvoice(BaseAvailableInvoice): class AvailableInvoice(BaseAvailableInvoice):
invoice_id_structure = INVOICE_ID invoice_id_structure = INVOICE_ID
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!