<!-- include 'header' -->
<link rel=stylesheet href="<?= WEB_SITE_GLOBAL ?>css/jquery.validator.css">
<script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/jquery.validator.min.js"></script>
<script type="text/javascript" src="<?= WEB_SITE_GLOBAL ?>js/zh-CN.js"></script>
<script src="<?= WEB_SITE_GLOBAL ?>js/invoice.validator.js"></script>
<script src="<?= WEB_SITE_GLOBAL ?>js/invoice.js"></script>
<link href="<?= WEB_SITE_GLOBAL ?>css/datepicker.min.css" rel="stylesheet" type="text/css">
<script src="<?= WEB_SITE_GLOBAL ?>js/datepicker.min.js"></script>
<script src="<?= WEB_SITE_GLOBAL ?>js/datepicker.zh.js"></script>
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include 'menuReceipt' -->
				</ul>
			</div>
			
		</div>
		<div class="warpContent">
			<div class="subMenu fL">
				<div class="menuItem">
					<!-- include 'invoiceMenu' -->
				</div>
			</div>
			<div class="adminContent autoHeight">
				<legend>
				
				{{staffDetail.username}}收款汇总 <a href="/invoiceAggregateStaffDetail?&sidKey={{sidKey}}">{{staffDetail.username}}开票汇总</a>
				
				</legend>
				<div class="demandCate">
				<form action="/invoiceAggregateStaffReceivablesDetail/1/{{status}}?&sidKey={{sidKey}}" id="iaa" method="get">
					<ul class="cateList">
					<li>
						<a <!-- if {{status}}=='All' --> class="now" <!-- endif --> href="/invoiceAggregateStaffReceivablesDetail/1/All?&sidKey={{sidKey}}&timeType=CREATE">所有</a>
	  					
	  					<a <!-- if {{status}}=='Unclaimed' --> class="now" <!-- endif --> title="未入账" href="/invoiceAggregateStaffReceivablesDetail/1/Unclaimed?&sidKey={{sidKey}}&timeType=CREATE" >未入账</a>
	  					
	  					<a <!-- if {{status}}=='Credited'  --> class="now" <!-- endif --> title="已入账" href="/invoiceAggregateStaffReceivablesDetail/1/Credited?&sidKey={{sidKey}}&timeType=BIND" >已入账</a>
	  					<a <!-- if {{status}}=='BBN' --> class="now" <!-- endif --> title="部分入账" href="/invoiceAggregateStaffReceivablesDetail/1/BBN?&sidKey={{sidKey}}&timeType=BIND" >部分入账</a>
	  					
	  				</li>
					
					
					<li>
	  						<select name="sidKey" node-invoicetype>
	  						<!-- loop staffList -->
	  							<option <!-- if {{staffList' value.sid}}=={{staffDetail.sid}} --> selected <!-- endif --> value="{{staffList' value.sidKey}}">{{staffList' value.username}}</option>
	  						<!-- endloop -->
	  						</select>
	  					</li>
					
	  					<li>
	  					<div class="search">
	  					<input type="radio" <!-- if {{timeType}}=='CREATE' --> checked <!-- endif --> refreshData=time name="timeType"  value="CREATE">按录入时间
	  					<input type="radio" <!-- if {{timeType}}=='BIND' --> checked <!-- endif --> refreshData=time name="timeType" value="BIND">按入账时间
	  					<div class="input-append">
	  					
	  					<input class="datepicker-here span3" name="date" value="{{date}}" placeholder="按出票时间筛选" data-range="true" data-multiple-dates-separator=" : " data-language="zh" type="text">
	  					<button class="btn btn-small" type="submit">查询</button>
	  					</div>
	  					</div>
	  					
	  					</li>
	  					
						<li><div class="search"><div class="input-append">
									<input class="span3" data-irmMebSea placeholder="收款金额，收款信息" name="MebSea" value="{{MebSeaEn}}" type="text">
									<button class="btn btn-small" node-irmMebSea type="submit">搜索</button>
								</div>
							</div></li>
					</ul>
					</form>
	  			</div>
				<div class="saeaList">
		  		<table class="table table-hover">
		  		
		  		<tr class="thead">
								<th>收款金额</th>
								<th>收款信息</th>
								<th>到帐银行/到帐时间</th>
								<th>录入收款</th>
								<th>收款认领</th>
								<th>发票入账</th>
								<th>开票流水号</th>
							</tr>
		  		
					<!-- loop list -->
						<tr>
						<td><b>￥{{list' value.receivablesPrice}}</b></td>
						<td>{{list' value.receivablesMessage}}</td>
						<td>{{list' value.receivablesBank}}<br/>{{list' value.receivablesDate}}</td>
						<td>{{list' value.inputStaff}} <br>{{list' value.date}}</td>
						<td>
						<!-- if {{list' value.receivablesCategory}}!='PUBLIC' -->
						{{list' value.irolg.operation}}<br/>{{list' value.confirmTime}}
						<!-- endif -->
						</td>
						<td>
						<!-- if {{list' value.bindStatus}}==1 -->
						{{list' value.accountClerk}}&nbsp;入账<br/>{{list' value.bindDate}}
						<!-- elseif {{list' value.bindStatus}}==0&&{{list' value.untreadStatus}}==1 -->
						{{list' value.untreadStaff}}&nbsp;退票<br/>{{list' value.unbundlingTime}}
						<!-- endif -->
						</td>
						<td>
						<!-- loop list' value.invoiceList -->
							<a href="#invdetail" node-invoice='INFO' data-isKey="{{halfList' value' key}}" data-toggle="modal">{{halfList' value' value}}</a>&nbsp;
						<!-- endloop -->
						</td>
						
						</tr>
					<!-- endloop -->
					
					
		  		</table>
					</div>
		  						<!--翻页-->
				<div class="demandPage">
					<ul class="pagination fL">
	  							<!-- if {{page.previous}}==0 -->
								<li><a href="javascript:void(0)" title="上一页">&lt;</a></li>
								<!-- else -->
								<li><a href="/invoiceAggregateStaffReceivablesDetail/{{page.previous}}{{get}}" title="上一页">&lt;</a></li>
								<!-- endif -->	
								
	  							<!-- if {{page.on_page}}>=3 -->
	  							<li><a href="/invoiceReceivablesAS/1{{get}}" title="上一页">1</a></li>
	  							<li class="point"><span>...</span></li>
	  							<!-- endif -->
	  							
	  							{{page.page}}
	  							
	  							<!-- if {{page.on_page}}<3 && {{page.total_page}}>5 -->
	  							<li><a href="/invoiceAggregateStaffReceivablesDetail/4{{get}}" >4</a></li>
	  							<li><a href="/invoiceAggregateStaffReceivablesDetail/5{{get}}" >5</a></li>
	  							<!-- endif -->
	  							
	  							<!-- if {{page.total_page}}>3 -->
	  							<li class="point"><span>...</span></li>
			  					<!-- endif -->
			  					
			  					<!-- if {{page.next}}=={{page.on_page}} -->
								<li><a href="javascript:void(0)" title="下一页">&gt;</a></li>
								<!-- else -->
								<li><a href="/invoiceAggregateStaffReceivablesDetail/{{page.next}}{{get}}" title="下一页">&gt;</a></li>
								<!-- endif -->
			  					
			  		</ul>
			  	</div>			
			</div>
		</div>
	</div>

<div loading-msg='true' style="position:absolute;  left:50%;  top:50%;  "></div>
	
	<div class="modal  fade" id="invdetail">
		
		<div id="nc"></div>
	</div>



	
	<!--弹出内容-->
<script type="text/javascript">autoFlashHeight();</script>	
</body>