home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
61.19.244.139
/
61.19.244.139.zip
/
61.19.244.139
/
2015-03-03
/
views
/
package-setup-cover-table.jsp
< prev
next >
Wrap
Text File
|
2015-03-03
|
4KB
|
90 lines
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://tiles.apache.org/tags-tiles" prefix="tiles"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="table_content">
<table class="data-tbl-striped table table-striped table-bordered dataTable">
<thead>
<tr role="row">
<th class="sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 100px;">ความคุ้มครอง</th>
<th class=" " role="columnheader" rowspan="1" colspan="1" style="width: 87px;">ทุนประกันทั้งกรมธรรม์</th>
<th class=" " role="columnheader" rowspan="1" colspan="1" style="width: 87px;">ทุนประกันภัยต่อครั้ง</th>
<th class=" " role="columnheader" rowspan="1" colspan="1" style="width: 87px;">ทุนประกันภัยต่อคน</th>
<th class=" " role="columnheader" rowspan="1" colspan="1" style="width: 53px;">จำนวนคน</th>
<th class=" " role="columnheader" rowspan="1" colspan="1" style="width: 152px;">Deduct</th>
</tr>
</thead>
<tbody role="alert" aria-live="polite" aria-relevant="all">
<c:forEach var="listValue" items="${coverages}" varStatus="loop">
<tr class="odd">
<td class="span6">${listValue.covCode}:${listValue.covName}
<input type="hidden" name="coverages[${loop.index}].covCode" value="${listValue.covCode}"/>
<input type="hidden" name="coverages[${loop.index}].covName" value="${listValue.covName}"/>
</td>
<td class=" "><c:choose>
<c:when test="${not listValue.enableSumOfPol}">
<input type="text" class="input-small" name="coverages[${loop.index}].sumOfPol" value="" readonly="readonly" />
</c:when>
<c:when test="${listValue.enableSumOfPol}">
<input type="text" class="autoPol input-small" name="coverages[${loop.index}].sumOfPol" value="${listValue.sumOfPol}" />
</c:when>
</c:choose></td>
<td class="center "><c:choose>
<c:when test="${not listValue.enableSumOfTimes}">
<input type="text" class="input-small" name="coverages[${loop.index}].sumOfTimes" value="" readonly="readonly" />
</c:when>
<c:when test="${listValue.enableSumOfTimes}">
<input type="text" class="autoTime input-small" name="coverages[${loop.index}].sumOfTimes" value="${listValue.sumOfTimes}" />
</c:when>
</c:choose></td>
<td class="center "><c:choose>
<c:when test="${not listValue.enableSumOfPerson}">
<input type="text" class="input-small" name="coverages[${loop.index}].sumOfPerson" value="" readonly="readonly" />
</c:when>
<c:when test="${listValue.enableSumOfPerson}">
<input type="text" class="autoPerson input-small" name="coverages[${loop.index}].sumOfPerson" value="${listValue.sumOfPerson}" />
</c:when>
</c:choose></td>
<td class="center "><c:choose>
<c:when test="${not listValue.enableNoPerson}">
<input type="text" class=" input-mini" name="coverages[${loop.index}].noPerson" value="" readonly="readonly" />
</c:when>
<c:when test="${listValue.enableNoPerson}">
<input type="text" class="autoNoPerson input-mini" name="coverages[${loop.index}].noPerson" value="${listValue.noPerson}" />
</c:when>
</c:choose></td>
<td class="center sdate "><c:choose>
<c:when test="${not listValue.enableDeduct}">
<input type="text" class="input-mini" name="coverages[${loop.index}].deduct" value="" readonly="readonly" />
</c:when>
<c:when test="${listValue.enableDeduct}">
<input type="text" class="autoDeduct input-mini" name="coverages[${loop.index}].deduct" value="${listValue.deduct}" />
</c:when>
</c:choose></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>