Create flag to use alternate configuration directive
This commit is contained in:
parent
0c374d9a15
commit
e53721da8c
|
@ -291,11 +291,14 @@ class Markets(util.Base):
|
||||||
ad = ad.replace("\\t", "\t")
|
ad = ad.replace("\\t", "\t")
|
||||||
return ad
|
return ad
|
||||||
|
|
||||||
def format_payment_details(self, currency, payment_details):
|
def format_payment_details(self, currency, payment_details, real=False):
|
||||||
"""
|
"""
|
||||||
Format the payment details.
|
Format the payment details.
|
||||||
"""
|
"""
|
||||||
payment = settings.Platform.PaymentDetails
|
if real:
|
||||||
|
payment = settings.Platform.PaymentDetailsReal
|
||||||
|
else:
|
||||||
|
payment = settings.Platform.PaymentDetails
|
||||||
|
|
||||||
payment_text = ""
|
payment_text = ""
|
||||||
for field, value in payment_details.items():
|
for field, value in payment_details.items():
|
||||||
|
|
Loading…
Reference in New Issue