전체구매건수 : <?= count($this->entities) ?>
<br>
<div class="table-responsive" id="table">
    <table class="table table-bordered table-hover table-striped">
        <thead>
            <tr>
                <th style="width:120px;text-align:center;">고객명</th>
                <th style="width:130px;text-align:center;">서비스코드</th>
                <th style="width:40px;text-align:center;">수량</th>
                <th style="width:100px;text-align:center;">결제금액</th>
                <th style="width:100px;text-align:center;">미납금액</th>
                <th style="width:100px;text-align:center;">신청일</th>
                <td style="width:100px;text-align:center;">결제일</td>
                <th style="text-align:center;">비 고</th>
                <th style="width:80px;text-align:center;">담당자</th>
            </tr>
        </thead>
        <tbody>
            <?php foreach ($this->entities as $entity) { ?>
                <tr>
                    <td style="text-align:center;"><?= $this->clients[$entity->getClientCode()]->getTitle() ?></td>
                    <td style="text-align:center;"><a href="/IdcDepositNonPaymentList.dep?searchContent=<?= $entity->getServiceCode() ?>"><?= $entity->getServiceCode() ?></a></td>
                    <td style="text-align:center;"><?= $entity->getTitle() ?></td>
                    <td style="text-align:center;"><?= $entity->getAmount() ?></td>
                    <td style="text-align:center;"><?= $entity->getNonPayment() ?></td>
                    <td style="text-align:center;"><?= $entity->getRequestDate() ?></td>
                    <td style="text-align:center;"><?= $entity->getPaymentDate() ?></td>
                    <td><?= $entity->getNote() ?></td>
                    </td>
                </tr>
            <?php } ?>
        </tbody>
    </table>
</div>
<div align='center'><?= $this->pagination->render(DBMS_SITE_URL . "/IdcDomainBuyListMK.cup", ['curPage' => $this->curPage, 'perPage' => $this->perPage]) ?></div>