Use explicit index in plan name formatting

This commit is contained in:
PCoder 2018-10-03 09:35:20 +02:00
parent 27a92780a6
commit e1c91d886b

View file

@ -669,7 +669,7 @@ class OrderConfirmationView(DetailView):
2
)
)
plan_name = "generic-{}-{0:.2f}".format(
plan_name = "generic-{0}-{1:.2f}".format(
request.session['generic_payment_details']['product_id'],
amount_to_be_charged
)