Regalamiunsorriso/www/admin/contab/documentoPagamentoList.jsp
2026-04-07 18:02:17 +02:00

52 lines
No EOL
3.2 KiB
Text

<!--documentoPagamentoList.jsp -->
<%@ taglib uri="/WEB-INF/acxent.tld" prefix="acx" %>
<%@ page language="java" import="it.acxent.jsp.*" %>
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" ></jsp:useBean>
<jsp:useBean id="df" class="it.acxent.util.SimpleDateFormat" scope="request" type="it.acxent.util.SimpleDateFormat" ></jsp:useBean>
<br>
<div class="box">
<div class="box-body table-responsive mobileSwitch" name="lista" id="no-more-tables">
<table class="table table-bordered table-hover table-striped dataTable table-condensed ">
<thead>
<tr>
<th colspan="7">Elenco Fatture Aperte</th>
</tr>
<tr>
<th width="61">Sel.Tutto<br /> <input class="minimal" type="checkbox" name="ckflgSelezionaTutto" id="ckflgSelezionaTutto" onChange="selezionaTutto()">
<input type="hidden" name="flgSelezionaTutto" id="flgSelezionaTutto" ></th>
<th width="192" >Doc.</th>
<th width="130" >Data</th>
<th width="153" >Totale Fattura</th>
<th width="153" > Saldo</th>
<th width="159" >Importo Pagato</th>
<th width="159" >A saldo</th>
</tr>
</thead>
<acx:whilevec rowbeanclass="it.acxent.contab.DocumentoPagamento" vectumerator="listaPagamenti">
<tr>
<td align="center">
<table border="0">
<tr>
<td >
<input type="checkbox" name="ckflgServizio_<%= rowBean.getId_documento() %>" id="ckflgServizio_<%= rowBean.getId_documento() %>" onChange="selezionaCheck(this)">
<input type="hidden" name="flgServizio_<%= rowBean.getId_documento() %>"id="flgServizio_<%= rowBean.getId_documento() %>">
</td>
</tr>
</table>
</td>
<td align="center" ><a href="javascript:loadDocument(<%=rowBean.getId_documento()%>);"> <acx:if wherecondition='<%=rowBean.getDocumento().getTipoDocumento().getFlgClienteFornitore().equals("F")%>'><%= rowBean.getDocumento().getTipoDocumento().getDescrizione() %> <%=rowBean.getDocumento().getRiferimento() %> del <%= df.format(rowBean.getDocumento().getDataRiferimento()) %></acx:if><acx:else> <%= rowBean.getDocumento().getNumeroDocumentoCompleto() %> </acx:else></a></td>
<td align="center" ><%= df.format(rowBean.getDocumento().getDataDocumento()) %></td>
<td align="right" ><%= nf.format(Math.abs(rowBean.getImporto())) %></td>
<td align="right" ><%= nf.format(Math.abs(rowBean.getSaldoByDocumento(rowBean.getId_documento()))) %></td>
<td align="center" >
<input name="saldo_<%= rowBean.getId_documento() %>" type="hidden" id="saldo_<%= rowBean.getId_documento() %>" value="<%= nf.format(Math.abs(rowBean.getSaldoByDocumento(rowBean.getId_documento()))) %>" size="10" maxlength="10" <%=Ab.jsNumberInput("")%>>
<input name="importo_<%= rowBean.getId_documento() %>" type="text" id="importo_<%= rowBean.getId_documento() %>" value="0" size="10" maxlength="10" <%=Ab.jsNumberInput()%> onblur="calcolaResidui(this)" style="display: none;">
</td>
<td align="center" ><input type="checkbox" name="ckflgTipoIncasso_<%= rowBean.getId_documento() %>" id="ckflgTipoIncasso_<%= rowBean.getId_documento() %>" style="display:none"></td>
</tr>
</acx:whilevec>
</table>
</div></div>