<form method="get">
  <input type="radio" name="mode" value="all" {{$mode == "all" || $mode == "" ? "checked" : ""}}>전체
  <input type="radio" name="mode" value="today" {{$mode == "today" ? "checked" : ""}}>당일
  <input type="radio" name="mode" value="1day" {{$mode == "1day" ? "checked" : ""}}>1일전
  <input type="radio" name="mode" value="2day" {{$mode == "2day" ? "checked" : ""}}>2일전
  <input type="radio" name="mode" value="3day" {{$mode == "3day" ? "checked" : ""}}>3일전
  <input type="submit" value="확인">
</form>
{{$message}} 미납리스트 <a class="btn btn-outline btn-default" href="IdcDepositNonPaymentListExcel.dep">엑셀</a>
<div class="table-responsive" id="table">
  <table class="table table-bordered table-hover table-striped">
    <thead>
      <tr>
        <th style="text-align:center;width:100px;">고객명</th>
        <th style="text-align:center;width:60px;">종류</th>
        <th style="text-align:center;width:130px;">장비명</th>
        <th style="text-align:center;width:120px;">IP</th>
        <th style="text-align:center;width:100px;">결제일</th>
        <th style="text-align:center;width:100px;">서비스 가격</th>
        <th style="text-align:center;width:100px;">과금상태</th>
        <th style="text-align:center;width:100px;">미납과금</th>
        <th style="text-align:center;width:200px;">비고</th>
      </tr>
    </thead>
    <tbody>
      @foreach($entities as $key=>$entity)
      <tr>
        <td style="text-align:center;"><a href="/IdcDepositNonPaymentList.dep?searchContent={{$entity->Client_Name}}">{{$entity->Client_Name}}</a></td>
        <td style="text-align:center;">{{$entity->addDB_case}}</td>
        <td style="text-align:center;">{{$entity->server_code}}</td>
        <td style="text-align:center;">{{$entity->service_ip}}</td>
        <!--<td>{{$entity->service_code}}</td>-->
        <td style="text-align:center;">{{$entity->service_payment_date}}</td>
        <td style="text-align:center;">{{$entity->service_amount}}</td>
        <!--<td>{{$entity->addDB_payment}}</td>-->
        <td style="text-align:center;">{{$entity->addDB_accountStatus}}</td>
        <td style="text-align:center;">{{$entity->addDB_nonpayment}}</td>
        <!--<td>{{$entity->addDB_accountStatus}}</td>-->
        <td>{{$entity->service_note}}</td>
        </td>
      </tr>
      @endforeach
    </tbody>
  </table>
  <div style="text-align:center">{!!$pagination->render(DBMS_SITE_URL . "/IdcDepositNonPaymentListMK.dep", ['mode' => $mode, 'curPage' => $curPage, 'perPage' => $perPage])!!}</div>