dbmsv2/app/Views/admin/welcome/new_service.php
2025-09-26 18:21:04 +09:00

40 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>&nbsp;&nbsp;<?= ICONS['CHART'] ?> 최신 신규 서비스 현황&nbsp;&nbsp;</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>
<span class="float-start rounded border border-primary" style="cursor:pointer;" onclick="copyServerPartsToClipboard()">ALL 📋</span> 장비번호 / 스위치정보 / IP정보 / CS정보
</th>
<th>등록자</th>
</tr>
</thead>
<tbody>
<?php foreach ($viewDatas['newServiceEntities'] as $entity): ?>
<?php $viewDatas['entity'] = $entity ?>
<tr class="text-center">
<td><?= SITES[$entity->getSite()] ?></td>
<td nowrap><?= $viewDatas['service']->getHelper()->getFieldView('clientinfo_uid', $entity->getClientInfoUID(), $viewDatas) ?></td>
<td class="text-start"><?= view_cell("\App\Cells\Equipment\ServerPartCell::parttable", [
'serverinfo_uid' => $entity->getServerEntity()->getPK(),
'types' => SERVERPART['SERVICE_PARTTYPES'],
'template' => 'partlist_service'
]) ?></td>
<td nowrap><?= $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>