Commit fc9a5506 authored by Patrick's avatar Patrick
Browse files

Always disable order confirmation buton if permanence is not open

parent a601664a
......@@ -1211,7 +1211,7 @@ def my_order_confirmation(permanence, customer_invoice, is_basket=False,
""" % (msg_delivery, msg_confirmation2, basket_message)
msg_html = None
btn_disabled = EMPTY_STRING
btn_disabled = EMPTY_STRING if permanence.status == PERMANENCE_OPENED else "disabled"
msg_confirmation2 = EMPTY_STRING
if is_basket:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment