Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
chris
repanier
Commits
fc9a5506
Commit
fc9a5506
authored
Mar 23, 2017
by
Patrick
Browse files
Always disable order confirmation buton if permanence is not open
parent
a601664a
Changes
1
Hide whitespace changes
Inline
Side-by-side
repanier/tools.py
View file @
fc9a5506
...
...
@@ -1211,7 +1211,7 @@ def my_order_confirmation(permanence, customer_invoice, is_basket=False,
"""
%
(
msg_delivery
,
msg_confirmation2
,
basket_message
)
else
:
msg_html
=
None
btn_disabled
=
EMPTY_STRING
btn_disabled
=
EMPTY_STRING
if
permanence
.
status
==
PERMANENCE_OPENED
else
"disabled"
msg_confirmation2
=
EMPTY_STRING
if
apps
.
REPANIER_SETTINGS_CUSTOMERS_MUST_CONFIRM_ORDERS
:
if
is_basket
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
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 comment