<!-- 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/receipt.js"></script>
<body>
	<div class="mainLayout">
		<div class="mainMenu">
			<div class="menuItem">
				<a href="#" class="mLogo">CLD</a>
				<ul>
					<!-- include '../admin/menuReceipt' -->
				</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;">
				<!-- include 'receiptTrainApprovalForm' -->
				<div class="borad-news">
					<div class="subNav">
						<!-- include 'receiptTrainMenu' -->
					</div>
					<div class="saeaList">
						<p>
							<a href="#add-train" getReceiptLoan class="button" data-toggle="modal">添加借款</a>
						</p>
						<!-- if empty({{receiptLoanHtml}}) -->
						
						<!-- else -->
						<legend>
							<div class="fR"></div>
							借款
						</legend>
						{{receiptLoanHtml}}
						
						<!-- endif -->
					</div>
				</div>
			</div>
		</div>
		<!--弹出-->
		<div class="modal hide fade" id="add-train">
		<form action="/receiptTrainLoanEdiDo" method="post" class="nice-validator n-yellow" novalidate="novalidate">
			<input type="hidden" name="ridKey" value="{{receiptDetail.ridKey}}">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<h3>添加借款</h3>
					</div>
					<div class="modal-body">
						<div class="control-group">
							<div class="controls clearfix">
								<select name='ridLoanKey' receiptLoanSelect >
								</select>
							</div>
						</div>
					</div>
					<div class="modal-footer">
						<input type="submit" value="确定" class="button"> 
						<a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">取消</a>
					</div>
				</div>
			</div>
			</form>
		</div>
		<!--弹出内容-->
		<script type="text/javascript">
			autoFlashHeight();
		</script>
</body>