<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>

	<head>
		<meta charset="UTF-8">
		<title>工资详单</title>
		<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<link href="<?php echo HOME_PUC ?>css/index.css?v=797979" rel="stylesheet" />
        <script type="text/javascript"  src="/salary/Public/laydate/jquery.min.js"></script>
	</head>
	<body>		
		<div class="d-head">
        	<div style="float:left;height:50px;line-height:60px;">
          <img href="javascript:;" onClick="javascript:history.back();" src="<?php echo HOME_PUC ?>img/back.png" title="返回首页" style="width:20px;margin-left:50%;"/>
            </div>
			<div class="d-bt">
			    <ul>
			   	   <li style="float:left;" class="selecteds"><a href="javascript:;" onClick="openjb()" style="text-decoration:none;color:#ffffff;"><b>工资详单</b></a></li>
                   <li style="float:right;"><a href="javascript:;" onClick="openjx()"  style="text-decoration:none;color:#ffffff;"><b>计薪标准</b></a></li>
			    </ul>
			</div>				
		</div>
        <div id="jbgz" style="display:block;">	
		<div class="dqyf">
			<div>当前月份<?php echo ($info["per_month"]); ?></div>
		</div>
		<div class="dqxz">
			<div>薪资</div>
		</div>
		<div class="gzjl">
			<div><font class="left">基本工资</font><font class="right zhen">+<?php echo ($info["per_ijiben"]); ?></font></div>			
		</div>	
		<div class="dqxz">
			<div>扣除</div>
		</div>
		<div class="gzjl">
			<div><font class="left">宿舍水电</font><font class="right chu">-<?php echo ($info["per_eshuidian"]); ?></font></div>			
		</div>	
		<div class="gzjl">
			<div><font class="left">工会会费</font><font class="right chu">-<?php echo ($info["per_ehuifei"]); ?></font></div>			
		</div>	
        <div class="gzjl">
			<div><font class="left">自助餐消费</font><font class="right chu">-<?php echo ($info["per_ezizhu"]); ?></font></div>			
		</div>	
        <div class="gzjl">
			<div><font class="left">物品损失费</font><font class="right chu">-<?php echo ($info["per_esunshi"]); ?></font></div>			
		</div>	
        <div class="gzjl">
			<div><font class="left">财务借款</font><font class="right chu">-<?php echo ($info["per_eloan"]); ?></font></div>			
		</div>	
        <div class="gzjl">
			<div><font class="left">商业保险</font><font class="right chu">-<?php echo ($info["per_ebaoxian"]); ?></font></div>			
		</div>
        <div class="gzjl">
			<div><font class="left">个税</font><font class="right chu">-<?php echo ($info["per_eshui"]); ?></font></div>			
		</div>	
		<div class="dqxz">
			<div>实发</div>
		</div>
		<div class="gzjl">
			<div><font class="left">薪资-扣除</font><font class="right zhen">+<?php echo ($info["per_esalary"]); ?></font></div>			
		</div>	
        </div>
		<!-- 计薪标准 -->	
		 <div id="jxbz" style="display:none;">
	
		<div class="dqyf">
			<div>当地最新记薪标准</div>
		</div>
		<div class="dqxz">
			<div>计薪标准</div>
		</div>
		<div class="gzjl">
			<div><font class="left">基本工资</font><font class="right"><?php echo ($info["per_ijiben"]); ?></font></div>			
		</div>
        <div class="gzjl">
			<div><font class="left">小时工资</font><font class="right"><?php echo ($info["per_bhpay"]); ?></font></div>			
		</div>	
		<div class="gzjl">
			<div><font class="left">计薪天数</font><font class="right"><?php echo ($info["per_bjxday"]); ?></font></div>			
		</div>	
		<div class="gzjl">
			<div><font class="left">满勤天数</font><font class="right"><?php echo ($info["per_bmday"]); ?></font></div>			
		</div>	
		<div class="gzjl">
			<div><font class="left">加班工时</font><font class="right"><?php echo ($info["per_bjiaban"]); ?></font></div>			
		</div>	
		<div class="gzjl">
			<div><font class="left">法定加班工时</font><font class="right"><?php echo ($info["per_bfajia"]); ?></font></div>			
		</div>	
		<div class="gzjl">
			<div><font class="left">合计工时</font><font class="right"><?php echo ($info["per_bheji"]); ?></font></div>			
		</div>	
         </div>   
	</body>

</html>

<script>
    var jxbz=document.getElementById("jxbz");
	var jbgz=document.getElementById("jbgz");
	    function openjx(){
			 jxbz.style.display="block";
			 jbgz.style.display="none";
			}
		function openjb(){
			 jxbz.style.display="none";
			 jbgz.style.display="block";
			}
</script>

<script language="javascript" type="text/javascript"> 
$(document).ready(function(){ 
           $("ul li").click(function(){ 
                 $("ul li").removeClass("selecteds"); 
                   $(this).addClass("selecteds"); 
              }); 
       }); 
</script>