<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="cm" uri="/commons-tags" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>工资条计算过程</title>
<link href="../resources/style/base.css" rel="stylesheet" type="text/css"/>
<s:include value="../common/head.jsp" />
</head>

<body>
<s:include value="../common/body.jsp" />
<table width="915" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td valign="top">
	<div style="font-size:14px; font-weight:bold; color:#333333; padding:5px 0;"><span class="item">&nbsp;</span>薪资帐套变量计算</div>
	<table width="500" border="0" align="center" cellpadding="0" cellspacing="0" class="table_line">
     <tr class="list_title">
       <td>变量名</td>
       <td>变量值</td>
       <td>变量描述</td>
       <td>计算公式</td>
     </tr>
      <s:iterator value="varMap" status="st">
        <s:set name="row_cls" value=""/>
        <s:if test="#st.Even">
          <s:set name="row_cls" value="%{'row_a'}"/>
        </s:if>
		<s:if test='!top.value.inner && top.key.indexOf("A")==0'>
        <tr class="list_data <s:property value='#row_cls'/>">
		   <td width="66" align="center"><s:property value="top.key"/></td>
		   <td width="70" align="right"><s:property value="top.value.value"/></td>
	      <td width="165" align="left"><s:property value="top.value.descr"/></td>
	      <td width="297" align="left"><s:property value="top.value.script"/></td>
        </tr>
		</s:if>
      </s:iterator>
</table></td>
    <td width="15" valign="top">&nbsp;</td>
    <td valign="top">
		<div style="font-size:14px; font-weight:bold; color:#333333; padding:5px 0;"><span class="item">&nbsp;</span>其它变量计算</div>
	<table width="400" border="0" align="center" cellpadding="0" cellspacing="0" class="table_line">
     <tr class="list_title">
       <td>变量名</td>
       <td>变量值</td>
       <td>变量描述</td>
     </tr>	  
      <s:iterator value="varMap" status="st">
        <s:set name="row_cls" value=""/>
        <s:if test="#st.Even">
          <s:set name="row_cls" value="%{'row_a'}"/>
        </s:if>
		<s:if test='!top.value.inner && top.key.indexOf("A")!=0'>
        <tr class="list_data <s:property value='#row_cls'/>">
		   <td width="61" align="center"><s:property value="top.key"/></td>
		   <td width="61" align="right"><s:property value="top.value.value"/></td>
	      <td width="276" align="left"><s:property value="top.value.descr"/></td>
        </tr>
		</s:if>
      </s:iterator>	 
</table></td>
  </tr>
</table>


<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
      <td height="40" colspan="4" align="center">
        <!-- back begin -->
        <input name="winID" type="hidden" value="${param.winID}" />
        <input type="button" onclick="iframeWindowClose('${param.winID}')" name="button" id="button" value="返 回" />  
        <!-- back end -->
      </td>
    </tr>
</table>

</body>
</html>