This commit is contained in:
2026-04-07 14:50:23 +09:00
commit b4e485502b
4778 changed files with 2017091 additions and 0 deletions

View File

@@ -0,0 +1,95 @@
<div class="col-sm-12">
<div class="card">
<div class="card-block">
<div class="dt-responsive table-responsive">
<table id="multi-colum-dt" class="table table-striped table-bordered nowrap">
<thead>
<tr align="center">
<% for(var i=0; i<data[0].length; i++) {%>
<th align="center">
<%= data[0][i]%>
<% if (i === 2) { %>
<%i = 5 %>
<%} %>
</th>
<% } %>
<th>
담기
</th>
</tr>
</thead>
<tbody>
<% for(var i=1; i<data.length; i++) {%>
<tr>
<td style="display:none;">
<% if (data[i][0] === '블랜딩') { %>
<%- '['+ data[i][0] + '][' + data[i][1] + ']' %>
<%} else { %>
<%- '['+ data[i][0] + '][' + data[i][1] + '][' + data[i][2] + ']' %>
<%}%>
</td>
<td style="display:none;">
<% if (data[i][0] === '블랜딩') { %>
<%- data[i][0] + ' ' + data[i][1] %>
<%} else { %>
<%- data[i][2] %>
<%}%>
</td>
<% for(var j=0; j<data[i].length; j++) {%>
<% if (j === 6) { %>
<td align="right">
<%} else { %>
<td>
<%}%>
<%- data[i][j].replace(/\n/gi, '<br>')%>
<% if (j === 2) { %>
<% if (data[i][j+1] === '1') { %>
<label class="label label-primary">스페셜티</label>
<%} %>
<% if (data[i][j+2] === '1') { %>
<label class="label label-success">품절임박!</label>
<%} %>
<% if (data[i][j+3] === '1') { %>
<label class="label label-warning">신규입고!</label>
<%} %>
<% j = 5 %>
<%} %>
</td>
<% } %>
<td align="center">
<a href="#!" onclick="handleCustomEvent(event)"><i class="fa fa-shopping-cart f-w-600 f-16 text-c-blue"></i></a>
</td>
</tr>
<% } %>
</tbody>
</table>
</div>
</div>
</div>
</div>