<!-- include 'header' -->
<script src="<?= WEB_SITE_GLOBAL ?>js/receipt.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">
					<ul>
						<!-- include 'receipt_menu' -->
					</ul>
				</div>
			</div>
			<div class="adminContent autoHeight" style="height: 821px;">
				<legend><div class="fR"><a class="button" href="/saeaCreate">创建新报销单</a></div>待提交报销单</legend>
	  		<div class="saeaList">
	  		<!-- loop receiptDetail -->
	  			<div class="entry">
	  				<div class="seTable">
	  					<table class="table table-bordered table-condensed ">
	  					<tr>
	  						<th width="100" class="taC">报销单号</th><td class="colOrange"><b>{{receiptDetail' value.receiptOrder}}</b></td>
	  						<th width="100" class="taC">报销总金额</th><td class="taR colOrange"><b>￥{{receiptDetail' value.sum}}</b></td>
	  						</tr>
	  					</table>
	  					<table class="table table-bordered table-condensed " style="margin:1px 0">
	  					<tbody>
	  						
	  						<tr>
		  						<th width="100">费用组成</th>
		  						<th class="taC" width="100">日常相关费用</th>
		  						<th class="taC" width="100">差旅相关费用</th>
		  						<th class="taC" width="100">培训班费用</th>
		  						<th class="taC" width="100">其他</th>
		  						<!-- <th class="taC" width="100">合计</th> -->
	  						</tr>
	  						<tr>
	  						<th class="taC">合计</th>
		  						<td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.agencySum}}</td>
		  						<td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.travelSum}}</td>
		  						<td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.trainSum}}</td>
		  						<td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.otherSum}}</td>
		  						<!-- <td class="colGreen taR">￥{{receiptDetail' value.sum}}</td>  -->
	  						</tr>
	  						
	  					<!-- 
	  						<tr><th colspan="2" class="taC">日常相关费用</th></tr>
	  						<!-- loop receiptDetail' value.accountItem.日常相关费用 -->
	  							<tr><th>{{receiptDetail' value' value.name}}</th><td  width="200" class="taR">￥{{receiptDetail' value' value.price}}</td></tr>
	  						<!-- endloop -->
	  						<tr><th class="taR">合计</th><td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.agencySum}}</td></tr>
	  						
	  						<tr><th colspan="2" class="taC">差旅相关费用</th></tr>
	  						<!-- loop receiptDetail' value.accountItem.差旅相关费用 -->
	  						<tr><th>{{receiptDetail' value' value.name}}</th><td  width="200" class="taR">￥{{receiptDetail' value' value.price}}</td></tr>
	  						<!-- endloop -->
	  						<tr><th class="taR">合计</th><td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.travelSum}}</td></tr>
	  						
	  						<tr><th colspan="2" class="taC">培训班费用</th></tr>
	  						<!-- loop receiptDetail' value.accountItem.培训班费用 -->
	  						<tr><th>{{receiptDetail' value' value.name}}</th><td  width="200" class="taR">￥{{receiptDetail' value' value.price}}</td></tr>
	  						<!-- endloop -->
	  						<tr><th class="taR">合计</th><td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.trainSum}}</td></tr>
	  						
	  						<tr><th colspan="2" class="taC">其他</th></tr>
	  						<!-- loop receiptDetail' value.accountItem.其他 -->
	  						<tr><th>{{receiptDetail' value' value.name}}</th><td  width="200" class="taR">￥{{receiptDetail' value' value.price}}</td></tr>
	  						<!-- endloop -->
	  						<tr><th class="taR">合计</th><td class="colGreen taR">￥{{receiptDetail' value.accountItem.cSum.otherSum}}</td></tr>
	  						
	  						<tr class="warning"><td class="taR"><b>本次报销费用合计</b></td>
	  						<td class="colGreed taR"><b style="font-size:24px">￥{{receiptDetail' value.sum}}</b></td></tr>
	  						
	  						
	  						
	  						<tr><th colspan="2" class="taC">选择审批组</th></tr>
	  						<tr>
	  								<th>
	  								<!-- loop receiptDetail' value.staff -->
	  								<div class="avtra"><img src="{{receiptDetail' value' value.2}}_2.jpg">{{receiptDetail' value' value.1}}</div>
	  								<!-- endloop -->
	  								
	  								</th><td  width="200" class="taR">{{receiptDetail' value' value.2}}</td></tr>
	  								
	  							
	  						
	  						<tr><th colspan="2" class="taC">报销说明</th></tr>
	  						<tr><td colspan="2"><pre>{{receiptDetail' value.explanation}}</pre></td></tr>
	  						</tbody>
	  						
	  						-->
	  						
	  					</table>
	  					
	  					<table class="table table-bordered table-condensed" >
	  						<tbody><tr><th width="215" class="taC">费用所在办事处</th><th class="taC">报销说明</th></tr>
	  						<tr><td>{{receiptDetail' value.category}}</td><td rowspan="3"><pre>{{receiptDetail' value.explanation}}</pre></td></tr>
	  						<tr><th class="taC">审批人</th></tr>
	  						<tr><td>
	  							<!-- loop receiptDetail' value.staff -->
	  								<div class="avtra"><img src="{{receiptDetail' value' value.2}}_2.jpg">{{receiptDetail' value' value.1}}</div>
	  								<!-- endloop -->
	  								</td></tr>
	  					</tbody></table>
	  					
	  					<!-- 
	  					<table class="table">
	  						<tr><th><a href="/editReceipt/{{receiptDetail' value.rid}}" class="button btn-gray"><< 返回编辑</a></th>
	  						<td><a href="/approvedReceipt/{{receiptDetail' value.rid}}" class="button">提交审批 >></a></td></tr>
	  					</table>
	  					 -->
	  				</div>
	  				<div class="seCensor">
	  					<div class="title">
	  					创建日期：{{receiptDetail' value.date}}
	  					</div>
	  					<div class="detail">
	  						<p>*<b>提交审批</b> 后，您的报销单就不能再更改了;</p>
	  						<div class="btnList">
		  					<a href="/editReceipt/{{receiptDetail' value.rid}}" class="button btn-gray"><< 返回编辑</a>
		  					<a onclick="return check();" href="/approvedReceipt/{{receiptDetail' value.rid}}" class="button">提交审批 >></a>
		  					</div>
	  					</div>
	  				</div>
	  			</div>
	  			
	  			
	  			<!-- endloop -->
	  			
			</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>