<!-- include 'header' -->
<script src="<?= WEB_SITE_GLOBAL ?>js/invoice.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>
					已打印发票
				</legend>
				<div class="demandCate">
					<ul class="cateList">
						<li><a <!-- if {{date}}=='MONTHO' --> class="now" <!-- endif --> href="/invoicePrintAchieve/1/MONTHO/{{MebSea}}">最近一个月</a>
	  					<a <!-- if {{date}}=='MONTHT' --> class="now" <!-- endif --> href="/invoicePrintAchieve/1/MONTHT/{{MebSea}}">最近三个月</a>
	  					<a <!-- if {{date}}=='MONTHY' --> class="now" <!-- endif --> href="/invoicePrintAchieve/1/MONTHY/{{MebSea}}" >今年</a>
	  					<a <!-- if {{date}}=='MONTHA' --> class="now" <!-- endif --> href="/invoicePrintAchieve/1/MONTHA/{{MebSea}}" >更旧</a></li>
						<li>
							<div class="search">
								<div class="input-append">
									<form action="/invoicePrintAchieve/1/{{date}}" id="iaa" method="get" >
								<input class="span3" type="text"  data-irmMebSea value="{{MebSeaEn}}" placeholder="发票抬头、开票金额">
								<button class="btn btn-small" node-iramMebSea type="button">搜索</button>
								</form>
								</div>
							</div></li>
					</ul>
				</div>
				<div class="saeaList">
					<table class="table table-hover">
						<tbody>
						<tr class="thead"><th>开票流水号</th><th>开票单位（抬头）</th> <th>纳税人识别码</th> <th>注册地址`电话</th><th>开户银行`账号</th> <th>开票金额</th><th>提交开票</th><th>发票号</th><th>打印发票</th></tr>
						
						<!-- loop list -->
						<tr>
							<td><a href="#invdetail" node-invoice='INFO' data-isKey="{{pendingInvoice' value.iidKeyK}}" data-toggle="modal">{{list' value.invoiceSerial}}</a></td>
							<td><!-- if !empty({{list' value.invoiceType}}) -->
	                                   	{{list' value.invoiceCompany}}
	                                    <!-- else -->
	                                    {{list' value.invoiceTitle}}
	                                    <!-- endif --></td>
	                                    
	                          <td>{{list' value.TIN}}</td>   
	                          <td>{{list' value.address}} {{list' value.phone}}</td>             
	                           <td>{{list' value.bank}} {{list' value.bankAccount}}</td>                      
	                                    
							<td>
							<!-- if !empty({{list' value.invoiceType}}) -->
	                        <b>￥{{list' value.invoicePrice}}</b><sup>专</sup>
	                          <!-- else -->
	                          <b>￥{{list' value.invoicePrice}}</b>
	                          <!-- endif -->
							</td>
							
							
							
							<td>{{list' value.categoryName}}{{list' value.userName}} {{list' value.date}}</td>
							<td>
							  {{invoiceList' value.invoiceNo}}
							</td>
							<td>{{invoiceList' value.operationLog.username}}&nbsp;{{invoiceList' value.printTime}}</td>
						</tr>
						<!-- endloop -->
						
						
						</tbody>
					</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="/invoicePrintAchieve/{{page.previous}}{{get}}" title="上一页">&lt;</a></li>
								<!-- endif -->	
								
	  							<!-- if {{page.on_page}}>=3 -->
	  							<li><a href="/invoicePrintAchieve/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="/invoicePrintAchieve/4{{get}}" >4</a></li>
	  							<li><a href="/invoicePrintAchieve/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="/invoicePrintAchieve/{{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>