43 lines
1.9 KiB
PHP
43 lines
1.9 KiB
PHP
<div class="layout_header mt-3">
|
|
<ul class="nav nav-tabs">
|
|
<li class="nav-item">
|
|
<span class="nav-item navbar-brand" aria-current="page">
|
|
<h4> <?= ICONS['CHART'] ?> 최신 신규 서비스 현황 </h4>
|
|
</span>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div style="border-left: 1px solid black; border-right: 1px solid black; padding:20px;">
|
|
<table class="table table-bordered table-hover align-middle">
|
|
<thead class="table-light">
|
|
<tr class="text-center">
|
|
<th>서비스코드</th>
|
|
<th>업체명</th>
|
|
<th>구분</th>
|
|
<th>
|
|
장비번호 / 스위치정보 / IP정보 / CS정보
|
|
<div class="float-end rounded border border-primary" style="cursor:pointer;" onclick="copyServerPartsToClipboard()">All COPY</div>
|
|
</th>
|
|
<th>등록자</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php foreach ($viewDatas['newServiceEntities'] as $entity): ?>
|
|
<?php $viewDatas['entity'] = $entity ?>
|
|
<tr class="text-center">
|
|
<td><?= $entity->getCode() ?></td>
|
|
<td><?= $viewDatas['service']->getHelper()->getFieldView('clientinfo_uid', $entity->getClientInfoUID(), $viewDatas) ?></td>
|
|
<td><?= $viewDatas['service']->getHelper()->getFieldView('type', $entity->getType(), $viewDatas) ?></td>
|
|
<td><?= view_cell("\App\Cells\Equipment\ServerPartCell::parttable", [
|
|
'serverinfo_uid' => $entity->getServerEntity()->getPK(),
|
|
'types' => SERVERPART['SERVICE_PARTTYPES'],
|
|
'template' => 'partlist_service'
|
|
]) ?></td>
|
|
<td><?= $viewDatas['service']->getHelper()->getFieldView('user_uid', $entity->getUserUID(), $viewDatas) ?></td>
|
|
</tr>
|
|
<?php endforeach ?>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
<div class="layout_footer"></div>
|
|
<script src="/js/admin/clipboard.js"></script>
|