<!-- include '../header' -->
<script src="<?= WEB_SITE_GLOBAL ?>js/receipt.js"></script>
<script src="<?= WEB_SITE_GLOBAL ?>js/payments.js"></script>
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include '../menu' -->
				</ul>
			</div>
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<!-- include '../admin/receipt_menu' -->
				</div>
			</div>
			<div class="adminContent autoHeight" style="height: 821px;">
			<form action="/paymentsCollect" id="up" method="post">
				<legend>日常收支 全年汇总</legend>
				<div class="demandCate">
					<ul class="cateList">
	  					<li>
	  					
	  					<select name="year" id="Y" onchange="receiptYear();">
	  					{{dateHtml}}
	  					</select> 
	  					
	  					
	  					<select onchange="javascript:location.href='paymentsCollectDay?year={{year}}&&month='+this.value;" >
	  					<option value="">所有月份</option>
	  					{{mothHtml}}
	  					</select>
	  					
	  					
						</li>
	  					<li>收入总计：￥{{inSum}}</li>
	  					<li>支出总计：<span class="colRed">￥{{paySum}}</span></li>
	  			</ul>
	  			</div>
	  		</form>	
	  			
	  		<div class="saeaList">
	  			<div class="entry">
					<table class="table table-bordered table-condensed table-hover">
	  					<tbody>
	  						
	  						{{html}}
	  						{{payHtml}}
	  						
	  						{{dayHtml}}
	  						{{lastBalanceHtml}}
	  						{{inComeHtml}}
	  						{{payBalanceHtml}}
	  						{{BalanceHtml}}
	  						</tbody>
  					</table>
	  			</div>
			</div>
		</div>
	</div>
	<!--弹出-->
<div class="modal hide fade" id="addCallout">
    <div class="modal-header">
    <h3>添加批注</h3>
    </div>
    <div class="modal-body">
    <form class="">
	    	<div class="control-group">
				<div class="controls clearfix">
					<label>
	                	批注内容
	              	</label>
	              	<textarea rows="8" class="span6"></textarea>
				</div>
	    	</div>
    </form>
    </div>
	<div class="modal-footer">
	    <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">取消</a>
	   	<a href="#" class="button">确定</a>
	</div>
</div>
    <!--弹出内容-->
<script type="text/javascript">autoFlashHeight();</script>
</body>
