Commit 6fb0d1a8 by François C.

#5673 Fix bug selection service dans planning

parent 5b6883fb
Pipeline #3260 failed with stage
in 1 minute 5 seconds
...@@ -13,7 +13,7 @@ var calendar = null, ...@@ -13,7 +13,7 @@ var calendar = null,
* @returns boolean * @returns boolean
*/ */
function can_exchange_shifts() { function can_exchange_shifts() {
return partner_data.makeups_to_do == 0 && (partner_data.is_associated_people === "False" || (partner_data.is_associated_people === "True" && block_actions_for_attached_people === "False")); return partner_data.makeups_to_do <= 0 && (partner_data.is_associated_people === "False" || (partner_data.is_associated_people === "True" && block_actions_for_attached_people === "False"));
} }
/** /**
......
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