dbms_primeidc/extdbms/lib/Views/dbms/client/point/index.php
2025-04-21 09:28:28 +09:00

42 lines
1.7 KiB
PHP

<div class="table-responsive" id="table">
<input type="hidden" id="token">
<table class="table table-bordered table-hover table-striped" style="text-align:center;">
<thead>
<tr>
<th style="text-align:center;">No</th>
<th style="text-align:center;">고객명</th>
<th style="text-align:center;">형식</th>
<th style="text-align:center;">제목</th>
<th style="text-align:center;">금액</th>
<th style="text-align:center;">상태</th>
<th style="text-align:center;">작업일</th>
</tr>
</thead>
<tbody>
<?php $i = 0; ?>
<?php foreach ($this->entities as $entity) { ?>
<?php $num = count($this->entities) - $i; ?>
<tr>
<td><?= $num ?></td>
<td><?= $this->client->getServiceCode() ?></td>
<td><?= $service->getServerCode() ?></td>
<td><?= $service->service_ip ?></td>
<td><?= $service->service_open_date ?></td>
<td><?= $service->service_line ?></td>
<td><?= $service->getCoupon() + $service->getUsedCoupon() ?></td>
<td><?= $service->getCoupon() ?></td>
<td><?= $service->getUsedCoupon() ?></td>
</tr>
<?php $i++; ?>
<?php } ?>
</tbody>
</table>
<div align='center'><?= $this->pagination->render(DBMS_SITE_URL . "/IdcClientPointList.cup", ['curPage' => $this->curPage, 'perPage' => $this->perPage]) ?></div>
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<div class="form-group">
<div class="col-sm-12 col-md-12 col-lg-12">
<button type="button" class="btn btn-primary" onclick="location.href='<?= $this->url->baseUrl() ?>/insert_form'">포인트 추가</button>
</div>
</div>
</div>