<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>
</table>