Commit 422a6e0a by Administrator

Merge branch…

Merge branch '5673-CAGETTE-bdm-bug-fix-bloquer-action-decrementer-rattrapage-sous-zero' into 'dev_cooperatic'

5673 cagette bdm bug fix bloquer action decrementer rattrapage sous zero

See merge request !261
parents 53aec0df 8514873e
Pipeline #3282 failed with stage
in 1 minute 9 seconds
...@@ -121,10 +121,12 @@ function display_makeups_members() { ...@@ -121,10 +121,12 @@ function display_makeups_members() {
render: function (data, type, full) { render: function (data, type, full) {
var html = `<b>${data}</b>` var html = `<b>${data}</b>`
if(full.shift_type == 'standard') { if(full.shift_type == 'standard') {
if(data > 0) {
html += ` html += `
<button class="decrement_makeup btn--primary" id="decrement_member_${full.id}"> <button class="decrement_makeup btn--primary" id="decrement_member_${full.id}">
<i class="fas fa-minus"></i> <i class="fas fa-minus"></i>
</button>`; </button>`;
}
html += ` html += `
<button class="increment_makeup btn--primary" id="increment_member_${full.id}"> <button class="increment_makeup btn--primary" id="increment_member_${full.id}">
<i class="fas fa-plus"></i> <i class="fas fa-plus"></i>
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
<div class="page_content"> <div class="page_content">
<div id="table_top_area"> <div id="table_top_area">
<h3>Liste des membres ayant au moins un rattrapage à choisir dans leur espace</h3> <h3>Liste des membres ayant au moins un rattrapage à faire</h3>
<div class="table_grouped_action"> <div class="table_grouped_action">
<button type="button" class="btn--primary" id="decrement_selected_members_makeups"> <button type="button" class="btn--primary" id="decrement_selected_members_makeups">
-1 rattrapage pour les membres sélectionnés -1 rattrapage pour les membres sélectionnés
......
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