<!-- 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>
<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">
				<div class="borad-menu">
				</div>
				<div class="borad-news">
					<div class="saeaList">
						<div class="clearfix">
							
							<legend><div class="fR"></div>公共·待认领款项</legend>
							<!-- if !empty({{receivablesList.csClaim}}) -->
							<table class="table table-bordered table-condensed">
								<tbody>
								<tr><th class="taC" width="70">收款金额</th><th class="taC">银行到账信息</th><th class="taC">到账银行/到账时间</th><th class="taC">收款录入</th><th class="taC" width="120">操作</th></tr>
								<!-- loop receivablesList.csClaim -->
								<tr>
									<td><b>￥{{csClaim' value.receivablesPrice}}</b></td>
									<td>{{csClaim' value.receivablesMessage}}</td>
									<td>{{csClaim' value.receivablesBank}} {{csClaim' value.receivablesDate}}</td>
									<td>{{csClaim' value.inputStaff}} {{csClaim' value.date}}</td>
									<td><a class="button btn-block" node-receivables="true" data-key="{{csClaim' value.iidKey}}" href="#receive" data-toggle="modal">认领收款</a></td>
								</tr>
								<!-- endloop -->
								
								</tbody>
							</table>
							<!-- else -->
							<blockquote><p class="colGray">暂时没有需要处理的收款</p></blockquote>
							<!-- endif -->
						</div>
						<div class="clearfix">
							
							<legend><div class="fR"></div>办事处·待认领款项</legend>
							<!-- if !empty({{receivablesList.sClaim}}) -->
							<table class="table table-bordered table-condensed">
								<tbody>
								<tr><th class="taC" width="70">收款金额</th><th class="taC">银行到账信息</th><th class="taC">到账银行/到账时间</th><th class="taC">收款录入</th><th class="taC" width="120">操作</th></tr>
								<!-- loop receivablesList.sClaim -->
								<tr>
									<td><b>￥{{csClaim' value.receivablesPrice}}</b></td>
									<td>{{csClaim' value.receivablesMessage}}</td>
									<td>{{csClaim' value.receivablesBank}} {{csClaim' value.receivablesDate}}</td>
									<td>{{csClaim' value.inputStaff}} {{csClaim' value.date}}</td>
									<td><a class="button btn-block" node-receivables="true" data-key="{{csClaim' value.iidKey}}" href="#receive" data-toggle="modal">认领收款</a></td>
								</tr>
								<!-- endloop -->
								</tbody>
							</table>
							<!-- else -->
							<blockquote><p class="colGray">暂时没有需要处理的收款</p></blockquote>
							<!-- endif -->
						</div>
						<div class="clearfix">
						
							<legend>最近认领</legend>
<!-- if !empty({{receivablesList.arClaim}}) -->
							<table class="table table-bordered table-condensed">
								<tbody>
								<tr><th class="taC" width="70">收款金额</th><th class="taC">银行到账信息</th><th class="taC">银行/到账时间</th><th class="taC">收款录入</th><th class="taC">收款认领</th>
								<th class="taC">单位名称</th><th class="taC">操作</th>
								</tr>
								<!-- loop receivablesList.arClaim -->
								<tr>
									<td><b>￥{{csClaim' value.receivablesPrice}}</b></td>
									<td>{{csClaim' value.receivablesMessage}}</td>
									<td>{{csClaim' value.receivablesBank}} {{csClaim' value.receivablesDate}}</td>
									<td>{{csClaim' value.inputStaff}} {{csClaim' value.date}}</td>
									<td>{{csClaim' value.username}} {{csClaim' value.confirmTime}}</td>
									<td>{{csClaim' value.recepitTitleMark}}</td>
									<td><a data-toggle="modal" node-rtm data-key="{{csClaim' value.iridKey}}" data-title="{{csClaim' value.recepitTitleMark}}" href="#company-edit">编辑</a></td>
								</tr>
								<!-- endloop -->
								
								</tbody>
							</table>
							<!-- else -->
							<blockquote><p class="colGray">暂时没有已认领的收款</p></blockquote>
							<!-- endif -->
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>


<div class="modal hide fade" id="company-edit">
<form action="/invoiceReceivablesTitleMarkSet" name="receivablesAscription" method="post" >
<input type="hidden" id="iridKey" name="iridKey" value="">
	<div class="modal-dialog ">
		<div class="modal-content">
    <div class="modal-header">
    <h3>修改单位名称</h3>
    </div>
			<div class="modal-body saeaList">
				<table class="table table-bordered table-condensed">
					<tbody>
					<tr>
						<th class="taC">单位名称</th>
						<td><input type="text" name="recepitTitleMark" id="recepitTitleMark" value="" aria-required="true" aria-invalid="true"></td>
					</tr>
					</tbody>
				</table>
			</div>
	<div class="modal-footer">
		<input type="submit" class="button"  value="确认修改">
	    
	    <a href="#" class="button btn-gray" data-dismiss="modal" aria-hidden="true">关闭</a>
	</div>
			</div></div>
</form>
</div>

	<!--弹出（录入收款）-->
<div class="modal hide fade" id="receive">
<form action="/invoiceReceivablesAscription" name="receivablesAscription" method="post" >
	<input type="hidden" name="key" value="">
	<div class="modal-dialog ">
		<div class="modal-content">
    <div class="modal-header">
    <h3>认领收款</h3>
    </div>
			<div class="modal-body saeaList">
				<table class="table table-bordered table-condensed">
					<tbody>
					<tr><th class="taC" colspan="4">收款详情</th></tr>
					<tr>
						<th class="taC">收款流水号</th><td node-receivablesSerial </td>
						<th class="taC">录入收款</th><td node-inputStaff ></td>
					</tr>
					<tr>
						<th class="taC">收款金额</th><td node-price ></td>
						<th class="taC">收款信息</th><td node-message ></td>
					</tr>
					<tr>
						<th class="taC">收款银行</th><td node-bank ></td>
						<th class="taC">银行到账</th><td node-date ></td>
					</tr>
					<tr>
						<th class="taC"><span class="colRed">*</span>单位名称</th>
						<td colspan="3"><input type="text" name="recepitTitleMark" placeholder="输入开票单位名称"></td>
					</tr>
					</tbody></table>
			</div>
	<div class="modal-footer">
	<input type="submit" class="button"  value="确认认领">
	    <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>