<div class="table-responsive">
  <form method="post" action="<?= DBMS_SITE_HOST ?>/dbms/client/coupon/insert/service_code/<?= $this->service->getServiceCode() ?>/mkid/<?= $this->member->getPK() ?>">
    <table class="table table-bordered table-hover table-striped">
      <thead></thead>
      <tbody>
        <tr>
          <td>고객명</td>
          <td colspan="5"><?= $this->client->getTitle() ?></td>
        </tr>
        <tr>
          <td>서비스코드</td>
          <td colspan="5"><?= $this->service->getServiceCode() ?></td>
        </tr>
        <tr>
          <td>장비번호</td>
          <td colspan="5"><?= $this->service->getServerCode() ?></td>
        </tr>
        <tr>
          <td>도메인 구매 수량</td>
          <td colspan="5">
            <select name="coupon" id="coupon">
              <?php for ($i = 1; $i < $this->service->getCoupon(); $i++) { ?>
                <option value="<?= $i ?>"><?= $i ?>개</option>
              <?php } ?>
            </select> (개별 서버에 할당된 남은 쿠폰 수량 : <?= $this->service->getCoupon() ?>)
          </td>
        </tr>
        <tr>
          <td>서비스 금액</td>
          <td colspan="3">도메인 쿠폰 사용</td>
        </tr>
        <tr>
          <td>도메인 신청일</td>
          <td><?= $this->today ?></td>
          <td>쿠폰 사용일</td>
          <td colspan="3"><?= $this->today ?></td>
        </tr>
        <tr>
          <td>도메인 리스트</td>
          <td colspan="5"><textarea cols="100" rows="4" type="text" name="note" id="note"></textarea>
            <br>(공백을 허용하지 않습니다. 예제처럼 붙여쓰기 하세요 / 예제 : test.com/123.com/idcjp.jp)
          </td>
        </tr>
      </tbody>
      <tfoot>
        <tr>
          <td colspan="6">
            <input class="btn btn-outline btn-primary" type="submit" value="저장하기">
            <input class="btn btn-outline btn-default" type="button" value="취소" onclick="location.href='/IdcCouponUseMK.cup?client_code=<?= $this->service->getClientCode() ?>'">
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
</div>