@if ($client)

고객명 : {{$client->getTitle()}} / 쿠폰발급대상 : {{count($entities)}} 대 / 전체 남은 수량 : {{$total_coupon}} 개

@endif
@php $i=0 @endphp @foreach($entities as $entity) @php $i++ @endphp @endforeach
No 서비스코드 장비명 서버IP 서비스개시일 회선종류 쿠폰 누적수 쿠폰 잔량수 쿠폰 사용수 사용
{{$total-(($curPage-1)*$perPage+$i)}} {{$entity->getServiceCode()}} {{$entity->getServerCode()}} {{$entity->service_ip}} {{$entity->service_open_date}} {{$entity->service_line}} {{$entity->getCoupon() + $entity->getUsedCoupon()}} {{$entity->getCoupon()}} {{$entity->getUsedCoupon()}} {{!$entity->getCoupon() ? "사용완료" : "사용하기"}}
{!!$pagination->render(DBMS_SITE_URL . "/IdcCouponUseMK.cup", ['client_code' => $client ? $client->getClientCode() : "", 'mkid' => $member ? $member->getPK() : "", 'curPage' => $curPage, 'perPage' => $perPage])!!}