<!-- 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="<?= receipt ?>"></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;">
				<legend>{{receiptTrainingDetail.trainName}}</legend>
				<div class="borad-news">
					<div class="subNav">
			    		<!-- include 'receiptTrainMenu' -->
					</div>
			  		<div class="saeaList">
			  			<!--支出项-->
			  			<div class="clearfix">
			  			<legend>培训班讲师</legend>
				  			<table class="table table-bordered table-condensed">
								<tbody>
									<tr>
									<th class="taC">类型</th>
									<th class="taC">讲师姓名</th>
									<th class="taC">授课日数</th>
									<th class="taC">日授课费</th>
									<th class="taC">合计应发授课费</th>
									</tr>
									<!-- loop RILecturerList -->
									<tr>
									
									<td>
									<!-- if {{RILecturerList' value.ltype}}=='OUTSIDE'  -->
									外聘
										<!-- if {{RILecturerList' value.taxation}}==0 -->
										(不计税)
										<!-- else -->
										(计税)
										<!-- endif -->
									<!-- else -->
									员工
									<!-- endif -->
									</td>
									
										<td>
										{{RILecturerList' value.lecturerName}}</td>
										<td>{{RILecturerList' value.schoolDay}}</td>
										<td>{{RILecturerList' value.price}}</td>
										<td>
										
										<!-- if {{RILecturerList' value.fees}}=='0.00' -->
										{{RILecturerList' value.sum}}
										<!-- else -->
										{{RILecturerList' value.fees}}
										<!-- endif -->
										
										</td>
										</tr>
									<!-- endloop -->
								</tbody>
							</table>
						</div>
					</div>
				</div>
		</div>
	</div>
	
<script type="text/javascript">

$(function() {
	$("select[ltype]").change(function() {
		var ltypeVal=$(this).val();
		var selectLecture=$("select[selectLecture]");
		
		if(ltypeVal=='INSIDE'){
			$("tr[node-taxation]").hide();
			selectLecture.html('{{INSIDEhtml}}');
		}else if(ltypeVal=='OUTSIDE'){
			$("tr[node-taxation]").show();
			selectLecture.html('{{OUTSIDEhtml}}');
		}
	});
	
})
autoFlashHeight();
</script>
</body>
