dbmsv4/app/Views/cells/service/payment.php
2025-12-12 13:22:53 +09:00

28 lines
1.7 KiB
PHP

<table class="table m-0 p-0">
<tr>
<td colspan="2" nowrap class="text-start">
<?= form_open("/admin/customer/service/billingat/{$serviceEntity->getPK()}", $viewDatas['forms']['attributes'], $viewDatas['forms']['hiddens']) ?>
<span class="fw-bold">결제일</span> <?= $serviceCellDatas['helper']->getFieldForm('billing_at', $serviceEntity->getBillingAt(), ['entity' => $serviceEntity]) ?>
<?= form_submit('', '변경', array("class" => "btn btn-outline btn-primary")); ?>
<?= form_close(); ?>
</td>
</tr>
<tr>
<th class=" fw-bold text-info" nowrap>결제금</th>
<td nowrap><?= number_format(intval($serviceEntity->getAmount())) ?>원</td>
</tr>
<tr>
<th class="fw-bold text-danger" nowrap>미납금</th>
<td nowrap>
<?= $serviceCellDatas['helper']->getListButton('unpaid', '미납금', ['unPaids' => $serviceCellDatas['unPaids'], 'entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?>
</td>
</tr>
<tr>
<td nowrap class="text-center"><?= $serviceCellDatas['helper']->getListButton('onetime', '일회성 결제', ['entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?></td>
<td nowrap class="text-center"><?= $serviceCellDatas['helper']->getListButton('prepayment', '선결제', ['entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?></td>
</tr>
<tr>
<td nowrap class="text-center"><?= $serviceCellDatas['helper']->getListButton('coupon', '쿠폰 결제', ['entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?></td>
<td nowrap class="text-center"><?= $serviceCellDatas['helper']->getListButton('point', '포인트 결제', ['entity' => $serviceEntity], ['class' => 'btn btn-sm btn-primary']) ?></td>
</tr>
</table>