first commit
This commit is contained in:
commit
4d332ef662
27586 changed files with 3281783 additions and 0 deletions
65
rus/admin/contab/_inc_documento_pagamenti.jsp
Normal file
65
rus/admin/contab/_inc_documento_pagamenti.jsp
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
<%@ taglib uri="/WEB-INF/ablia.tld" prefix="ab" %>
|
||||
<%@ page language="java" import="com.ablia.jsp.*" %>
|
||||
<%-- DICHIARAZIONE BEAN --%>
|
||||
<jsp:useBean id="bean" class="com.ablia.contab.Documento" type="com.ablia.contab.Documento" scope="request" >
|
||||
</jsp:useBean>
|
||||
<jsp:useBean id="df" class="com.ablia.util.SimpleDateFormat" scope="request" type="com.ablia.util.SimpleDateFormat" >
|
||||
</jsp:useBean>
|
||||
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" >
|
||||
</jsp:useBean>
|
||||
<jsp:useBean id="listaPagamenti" class="com.ablia.util.Vectumerator" type="com.ablia.util.Vectumerator" scope="request" >
|
||||
</jsp:useBean>
|
||||
<%-- FINE DICHIARAZIONE BEAN --%>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="box-body " id="no-more-tables" >
|
||||
<table class="table table-bordered table-hover table-striped dataTable table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="2"><a href="javascript:vediPagamenti()">VAI ALLA PAGINA DEI PAGAMENTI</a></th>
|
||||
<th colspan="2"><a href="javascript:loadCliente()">VAI ALLA PAGINA DEL CLIENTE</a></th>
|
||||
<th colspan="3"><a href="javascript:addPagamento()">INSERISCI NUOVO PAGAMENTO</a></th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th width="20%">Cliente/Fornitore</th>
|
||||
<th width="14%">Documento</th>
|
||||
<th width="11%">Data Documento</th>
|
||||
<th width="20%">Tipo Documento</th>
|
||||
<th>Acconto/Saldo</th>
|
||||
<th width="10%">Importo</th>
|
||||
<th width="25%">Nota</th>
|
||||
</tr></thead>
|
||||
<ab:whilevec rowbeanclass="com.ablia.contab.DocumentoPagamento" vectumerator="listaPagamenti" rowbeanname="row" columntosum="importo" headercolumn="id_documento">
|
||||
<ab:wvheader vectumerator="listaPagamenti">
|
||||
<% listaPagamenti.resetAllPartialResults(); %>
|
||||
</ab:wvheader>
|
||||
<tr>
|
||||
<td><ab:if wherecondition="<%= row.getFlgTipoMovimento() == 1 %>"> <%= row.getDocumento().getClifor().getNominativoCompleto() %> </ab:if>
|
||||
<ab:else> </ab:else></td>
|
||||
<td><ab:if wherecondition="<%= row.getFlgTipoMovimento() == 1 %>"> <%= row.getDocumento().getNumeroDocumentoCompleto() %> </ab:if>
|
||||
<ab:else> </ab:else></td>
|
||||
<td align="center"><ab:if wherecondition="<%= row.getFlgTipoMovimento() == 1 %>"> <%= df.format(row.getDocumento().getDataDocumento()) %> </ab:if>
|
||||
<ab:else> <%= df.format(row.getData()) %> </ab:else></td>
|
||||
<td><ab:if wherecondition="<%= row.getFlgTipoMovimento() == 1 %>"> <%= row.getDocumento().getTipoDocumento().getDescrizione() %> </ab:if>
|
||||
<ab:else> Pagamento - <%= row.getTipoPagamento().getDescrizione() %> </ab:else></td>
|
||||
<td align="left"><ab:if wherecondition="<%= row.getFlgTipoMovimento()!=1 %>"> <%= row.getDescrizioneFlgTipoIncasso() %> </ab:if></td>
|
||||
<td align="right"><span class='<%= row.getImporto() < 0 ? "red" : "" %>'> <%= nf.format(row.getImporto()) %> </span></td>
|
||||
<td><%= row.getNota() %></td>
|
||||
</tr>
|
||||
<ab:wvfooter vectumerator="listaPagamenti">
|
||||
<tr>
|
||||
<td><b>Totale</b></td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td> </td>
|
||||
<td align="right"><b> <%= nf.format(listaPagamenti.getSumPartialResult("importo")) %> </b></td>
|
||||
<td> </td>
|
||||
</tr>
|
||||
</ab:wvfooter>
|
||||
</ab:whilevec>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue