Commit 3c4c7165 by Yvon

admin makeups : remove minus btn for ftop

parent 55ca2075
Pipeline #3184 failed with stage
in 1 minute 7 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 = ``;
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