dbmsv4/app/Views/cells/service/payment.php
2025-12-08 12:25:20 +09:00

21 lines
951 B
PHP

<table class="table m-0 p-0">
<tr>
<th class="fw-bold" nowrap>결제일</th>
<td nowrap><?= $serviceEntity->getBillingAT() ?></td>
</tr>
<tr>
<th class="fw-bold" nowrap>결제금</th>
<td class="amount-green" nowrap><?= number_format(intval($serviceEntity->getAmount())) ?>원</td>
</tr>
<tr>
<th class="fw-bold" nowrap>미납금</th>
<td class="amount-red" nowrap>
<?php if (array_key_exists($serviceEntity->getPK(), $serviceCellDatas['unPaids'])): ?>
<?= $serviceCellDatas['helper']->getListButton('unpaid', '미납금', ['serviceCellDatas' => $serviceCellDatas, 'entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?>
<?php endif ?>
</td>
</tr>
<tr>
<td colspan="2" class="text-center"><?= $serviceCellDatas['helper']->getListButton('onetime', '일회성/선결제 추가', ['entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?></td>
</tr>
</table>