Commit 9c68e15e by Damien Moulard

Merge branch…

Merge branch '5496-Empecher-la-suppression-des-rattrapages-volants-depuis-admin-bdm' into 'dev_cooperatic'

admin makeups : remove minus btn for ftop

See merge request !253
parents 55ca2075 977ae651
Pipeline #3187 failed with stage
in 1 minute 10 seconds
...@@ -115,11 +115,12 @@ function display_makeups_members() { ...@@ -115,11 +115,12 @@ function display_makeups_members() {
className: "dt-body-center", className: "dt-body-center",
width: "10%", width: "10%",
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') {
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>`;
if(full.shift_type == 'standard') {
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>
......
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