Commit 3408c38b by Damien Moulard

re-enable shift buttons after selecting makeup

parent 9305e1ab
Pipeline #1480 passed with stage
in 1 minute 30 seconds
......@@ -136,7 +136,7 @@ function init_shifts_list() {
} else {
shift_line_template.find(".selectable_shift_line").removeClass("btn");
shift_line_template.find(".selectable_shift_line").addClass("btn--primary");
shift_line_template.find(".checkbox").removeProp("disabled");
shift_line_template.find(".checkbox").prop("disabled", false);
shift_line_template.find(".checkbox").prop("value", shift.id);
}
......
......@@ -124,7 +124,7 @@ def get_list_shift_calendar(request, partner_id):
if company_code != "lacagette" and len(value['address_id']) == 2 and ',' in value['address_id'][1]:
title_prefix = str(value['address_id'][1]).split(",")[1] + " --"
elif company_code == "lacagette":
title_prefix = " -- "
title_prefix = " - "
event["title"] = title_prefix + str(value['seats_reserved']) + "/" + str(smax)
......
Markdown is supported
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