<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout"
      layout:decorate="~{admin/layout/layout}" th:with="title='',active='home'">

<th:block layout:fragment="content">

            <div class="container-fluid">
              <div class="page-name">
                  <h1>크레딧 거래 내역</h1>
                  <span  >소수점 자리는 첫째 자리에서 반올림 되어집니다.</span>
              </div>
              <ul class="tabletab">
              	 <li th:if="${mm >= 12}" th:class="${searchVO.startDate eq '12' } ? active : ''"  ><a th:href="|/stat/pot?startDate=12|">12월</a></li> 
               	 <li th:if="${mm >= 11}" th:class="${searchVO.startDate eq '11' } ? active : ''"><a th:href="|/stat/pot?startDate=11|">11월</a></li>
               	 <li th:if="${mm >= 10}" th:class="${searchVO.startDate eq '10' } ? active : ''"><a th:href="|/stat/pot?startDate=10|">10월</a></li>
               	 <li th:if="${mm >= 9}" th:class="${searchVO.startDate eq '09' } ? active : ''"><a th:href="|/stat/pot?startDate=09|">9월</a></li>
               	 <li th:if="${mm >= 8}" th:class="${searchVO.startDate eq '08' } ? active : ''"><a th:href="|/stat/pot?startDate=08|">8월</a></li>
               	 <li th:if="${mm >= 7}" th:class="${searchVO.startDate eq '07' } ? active : ''"><a th:href="|/stat/pot?startDate=07|">7월</a></li>
               	 <li th:if="${mm >= 6}" th:class="${searchVO.startDate eq '06' } ? active : ''"><a th:href="|/stat/pot?startDate=06|">6월</a></li>
               	 <li th:if="${mm >= 5}" th:class="${searchVO.startDate eq '05' } ? active : ''"><a th:href="|/stat/pot?startDate=05|">5월</a></li>       
               	 <li th:if="${mm >= 4}" th:class="${searchVO.startDate eq '04' } ? active : ''"><a th:href="|/stat/pot?startDate=04|">4월</a></li>       
               	 <li th:if="${mm >= 3}" th:class="${searchVO.startDate eq '03' } ? active : ''"><a th:href="|/stat/pot?startDate=03|">3월</a></li>       
               	 <li th:if="${mm >= 2}" th:class="${searchVO.startDate eq '02' } ? active : ''"><a th:href="|/stat/pot?startDate=02|">2월</a></li>       
               	 <li th:if="${mm >= 1}" th:class="${searchVO.startDate eq '01' } ? active : ''"><a th:href="|/stat/pot?startDate=01|">1월</a></li>               	        
              </ul>
              <h6 class="bg mb15"><span th:text="|${yyyy}년 ${mmm}월|"></span> 유통 통계</h6>
              <div class="table">
                <!--div class="head"><h6 class="bg">2022년 07월 유통 통계</h6><span class="text">소수점 자리는 첫째 자리에서 반올림 되어집니다.</span></div-->
                <div class="body">
                  <div class="table-responsive">
                    <table class="center">
                      <thead>
                        <tr>
                          <th>일자</th>
                          <th>충전받은 총액</th>
                          <th>하부에이전시유통한 총액</th>                          
                          <th>상위사이트지급(관)</th>
                          <th>상위사이트회수(관)</th>
                        </tr>
                      </thead>
                      <tbody>
                        <tr>
                          <td  th:text="|${yyyy}년 ${mmm}월  총합|">7월 총합</td>
                          <td th:text="${#numbers.formatInteger(list.inAmt, 0, 'COMMA')}">600,000,000 C</td>
                          <td th:text="${#numbers.formatInteger(list.outAmt, 0, 'COMMA')}">600,000,000 C</td>
                          <td th:text="${#numbers.formatInteger(list.inAmtA, 0, 'COMMA')}">600,000,000 C</td>
                          <td th:text="${#numbers.formatInteger(list.outAmtA, 0, 'COMMA')}">600,000,000 C</td>
                        </tr>
                      </tbody>
                    </table>
                    <!--ul class="totalBtn">
                    	<li><a>5월</a></li>
                    	<li><a>6월</a></li>
                    	<li><a>7월</a></li>
                    	<li><a>8월</a></li>
                    	<li><a>9월</a></li>
                    	<li><a>10월</a></li>
                    	<li><a>11월</a></li>
                    	<li class="on"><a>12월</a></li>
                    </ul-->
                  </div>
                </div>
              </div>
              <!--div class="btnwrap">
                <a class="btn">전월 통계 보기</a>
                <a class="btn">금월 통계 보기</a>
              </div-->
            </div><!-- container-fluid -->

</th:block>