Regalamiunsorriso/rus/admin/anag/_inc_clifor_con.jsp
2026-03-14 20:04:39 +01:00

56 lines
No EOL
2 KiB
Text

<%@ taglib uri="/WEB-INF/ablia.tld" prefix="ab" %>
<%@ page language="java" import="com.ablia.jsp.*" %>
<%-- DICHIARAZIONE BEAN --%>
<jsp:useBean id="bean" class="com.ablia.anag.Clifor" type="com.ablia.anag.Clifor" scope="request" >
</jsp:useBean>
<jsp:useBean id="df" class="com.ablia.util.SimpleDateFormat" scope="request" type="com.ablia.util.SimpleDateFormat" >
</jsp:useBean>
<%-- FINE DICHIARAZIONE BEAN --%>
<div class="row">
<div class="col-lg-12 text-center">
<a class="btn btn-success" href="javascript:nuovoContratto();">NUOVO CONTRATTO</a>
</div>
</div>
<%-- RIGA 1 --%>
<div class="row">
<div class="col-lg-12" id="no-more-tables">
<table class="table table-bordered table-hover table-striped dataTable table-condensed">
<thead>
<tr>
<th>&nbsp;</th>
<th>Tipo contratto</th>
<th>Data Inizio</th>
<th>Data Scad.</th>
<th>Tel. associati</th>
</tr>
</thead>
<ab:whilevec rowbeanclass="com.ablia.anag.Contratto" vectumerator="listaContratti">
<tr>
<td class="comandi" align="center"><div class="inline text-center hidden-print">
<a href="Contratto.abl?cmd=md&id_contratto=<%=rowBean.getId_contratto()%>">
<i class="fa fa-pencil-square-o" aria-hidden="true"></i>
</a>
</td>
<td data-title="Tipo contratto">
<ab:if wherecondition="<%=rowBean.getFlgStato()==1%>">
<i class="fa fa-check" aria-hidden="true" title="Attivo"></i>
</ab:if>
<%= rowBean.getTipoContratto().getDescrizione() %>
</td>
<td data-title="Data Inizio">
<%= df.format(rowBean.getDataInizioContratto()) %>
</td>
<td data-title="Data Scad.">
<%= df.format(rowBean.getDataScadenzaContratto()) %>
</td>
<td data-title="Tel. associati">
<%= rowBean.getTelefoniAssociati() %>
</td>
</tr>
</ab:whilevec>
</table>
</div>
</div>