245 lines
13 KiB
Text
245 lines
13 KiB
Text
<%@ taglib uri="/WEB-INF/acxent.tld" prefix="acx" %>
|
|
<%@ page language="java" import="it.acxent.jsp.*" %>
|
|
<%-- DICHIARAZIONE BEAN --%>
|
|
<jsp:useBean id="bean" class="it.acxent.contab.Documento" type="it.acxent.contab.Documento" scope="request" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="df" class="it.acxent.util.SimpleDateFormat" scope="request" type="it.acxent.util.SimpleDateFormat" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="nf4" scope="request" type="java.text.NumberFormat" >
|
|
</jsp:useBean>
|
|
<%-- FINE DICHIARAZIONE BEAN --%>
|
|
<div class="row">
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Spese Trasporto:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" <%=Ab.jsCr("speseIncasso")%> id="speseTrasporto" name="speseTrasporto" maxlength="10" value="<%= nf.format(bean.getSpeseTrasporto() )%>">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Spese Incasso:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" <%=Ab.jsCr("speseAltre")%> id="speseIncasso" name="speseIncasso" maxlength="10" value="<%= nf.format(bean.getSpeseIncasso() )%>">
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Descrizione altre spese:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" <%=Ab.jsCr("id_ivaDoc")%> id="descSpeseAltre" name="descSpeseAltre" maxlength="60" value="<%= bean.getDescSpeseAltre()%>">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Altre Spese:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" <%=Ab.jsCr("descSpeseAltre")%> id="speseAltre" name="speseAltre" maxlength="10" value="<%= nf.format(bean.getSpeseAltre() )%>">
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Iva Spese:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="id_ivaDoc" id="id_ivaDoc" <%=Ab.jsCr("notePagamento")%>>
|
|
<acx:optionvec boundcolumn="id_iva" desccolumn="descrizione" vectumerator="listaIva" value="<%=bean.getId_ivaDoc()%>"> </acx:optionvec>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<!-- solo per fatture -->
|
|
<acx:if wherecondition="<%=bean.isDocumentoTrasporto()%>">
|
|
<div class="row">
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Numero Colli (Q.ta: <%=nf.format(bean.getQuantitaTotaleDocumento())%> Nr.: ${listaRigheDocumento.getTotNumberOfRecords()}):</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="nColli" name="nColli" maxlength="10" value="<%= nf.format(bean.getNColli() )%>">
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Peso netto Kg:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="kgNetto" name="kgNetto" maxlength="10" value="<%= nf.format(bean.getKgNetto() )%>">
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Peso lordo (Kg. <%=nf.format(bean.getPesoKg())%>):</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="kgLordo" name="kgLordo" maxlength="10" value="<%= nf.format(bean.getKgLordo() )%>">
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Volume (Mq. <%=nf4.format(bean.getVolumeM3())%>):</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="volume" name="volume" maxlength="10" value="<%= nf4.format(bean.getVolume() )%>">
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Causale trasporto: </label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="id_causaleTrasporto" id="id_causaleTrasporto">
|
|
<acx:optionvec boundcolumn="id_causaleTrasporto" desccolumn="descrizione" vectumerator="listaCausaleTrasporto" value="<%=bean.getId_causaleTrasporto()%>"> </acx:optionvec>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Trasporto a cura del:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgTrasporto" id="flgTrasporto" <%=Ab.jsCr("id_vettore")%>>
|
|
<option value="0" <%=bean.getFlgTrasporto()==0?"selected":""%> ></option>
|
|
<option value="1" <%=bean.getFlgTrasporto()==1?"selected":""%> ><%=bean.getTrasporto(1)%></option>
|
|
<option value="2" <%=bean.getFlgTrasporto()==2?"selected":""%> ><%=bean.getTrasporto(2)%></option>
|
|
<option value="3" <%=bean.getFlgTrasporto()==3?"selected":""%> ><%=bean.getTrasporto(3)%></option>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Vettore:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="id_vettore" id="id_vettore" <%=Ab.jsCr("id_aspetto")%> >
|
|
<acx:optionvec boundcolumn="id_vettore" desccolumn="descrizione" vectumerator="listaVettore" value="<%=bean.getId_vettore()%>"> </acx:optionvec>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Aspetto est. dei beni: </label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="id_aspetto" id="id_aspetto" <%=Ab.jsCr("id_porto")%>>
|
|
<acx:optionvec boundcolumn="id_aspetto" desccolumn="descrizione" vectumerator="listaAspetto" value="<%=bean.getId_aspetto()%>"> </acx:optionvec>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Porto: </label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="id_porto" id="id_porto" <%=Ab.jsCr("speseTrasporto")%>>
|
|
<acx:optionvec boundcolumn="id_porto" desccolumn="descrizione" vectumerator="listaPorto" value="<%=bean.getId_porto()%>"> </acx:optionvec>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Note Pagamento :</label>
|
|
<br>
|
|
<input name="notePagamento" type="text" class="form-control input-sm" id="notePagamento" value="<%= bean.getNotePagamento()%>" maxlength="254" >
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Note Spedizione :</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="notaSpedizione" name="notaSpedizione2" maxlength="254" value="<%= bean.getNotaSpedizione()%>">
|
|
</div>
|
|
</div>
|
|
|
|
<!-- bartolini -->
|
|
<div class="row">
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Export Bartolini:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgBartolini" id="flgBartolini" >
|
|
<acx:optionflg boundcolumn="flgBartolini" valuelist="0,1,2,3"> </acx:optionflg>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Assicurata:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgTrasportoAssicurato" id="flgTrasportoAssicurato" >
|
|
<acx:optionflg boundcolumn="flgTrasportoAssicurato" valuelist="0,1"> </acx:optionflg>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Tipo Ritiro:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgTipoRitiro" id="flgTipoRitiro" >
|
|
<acx:optionflg boundcolumn="flgTipoRitiro" valuelist="0,1"> </acx:optionflg>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Tipo Spedizione:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgDeliveryType" id="flgDeliveryType" >
|
|
<acx:optionflg boundcolumn="flgDeliveryType" valuelist="0,1,2"> </acx:optionflg>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Codice PUDO :</label>
|
|
<br>
|
|
<input name="pudoId" type="text" class="form-control input-sm" id="pudoId" value="<%= bean.getPudoId()%>" maxlength="254">
|
|
</div> <div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Desc. Pudo:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="pudoDesc" name="pudoDesc" maxlength="254" value="<%= bean.getPudoDesc()%>">
|
|
</div>
|
|
<div class="col-lg-1 col-xs-6">
|
|
<label for="txtRicerca">Tipo Consegna:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgAvvisoConsegna" id="flgAvvisoConsegna" >
|
|
<acx:optionflg boundcolumn="flgAvvisoConsegna" valuelist="0,1,2,3,4"> </acx:optionflg>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-1 col-xs-6">
|
|
<label for="txtRicerca">Valore Dichiarato:</label>
|
|
<br>
|
|
<input name="valoreDichiarato" type="text" class="form-control input-sm" id="valoreDichiarato" value="<%= nf.format(bean.getValoreDichiarato())%>" >
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Costo Eff. Sped:</label>
|
|
<br>
|
|
<input name="costoEffettivoSped" type="text" class="form-control input-sm" id="costoEffettivoSped" value="<%= nf.format(bean.getCostoEffettivoSped())%>" >
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Modalita di Accredito:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="flgModoAccredito" id="flgModoAccredito" >
|
|
<acx:optionflg boundcolumn="flgModoAccredito" valuelist="0,1,2,3,4"> </acx:optionflg>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="descrizione">Data Spedizione:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm datemask datapicker" id="dataSpedizione" name="dataSpedizione" maxlength="10" value="<%= df.format(bean.getDataSpedizione()) %>" >
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="descrizione">Data Invio Mail Spedizione:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm datemask datapicker" id="dataInvioMailSped" name="dataInvioMailSped" maxlength="10" value="<%= df.format(bean.getDataInvioMailSped()) %>" readonly >
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Tracking Spedizione
|
|
<acx:if wherecondition="<%=!bean.getTrackingSpedizione().isEmpty()%>"> <a href="<%=bean.getVettore().getLinkTracking() + bean.getTrackingSpedizione()%>" target="_blank">(Vedi)</a></acx:if>
|
|
:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="trackingSpedizione" name="trackingSpedizione" maxlength="40" value="<%= bean.getTrackingSpedizione()%>">
|
|
</div>
|
|
</div>
|
|
</acx:if>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-6 col-xs-12">
|
|
<label for="txtRicerca">Causale(Fatt. Elett. max 200):</label>
|
|
<br>
|
|
<textarea id="causale" name="causale" cols="60" rows="4"><%= bean.getCausale() %></textarea>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-6 col-xs-12">
|
|
<b>Altri dati gestionali FE che si ripetono su ogni righa!</b>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Tipo Dato FE:</label>
|
|
<br>
|
|
<select class="form-control input-sm select2" name="FERiferimentoTipoDato" id="FERiferimentoTipoDato" >
|
|
<option value="" <%=bean.getFERiferimentoTipoDato().isEmpty()?"selected":""%>></option>
|
|
<option value="NUMSCONTR" <%=bean.getFERiferimentoTipoDato().equals("NUMSCONTR")?"selected":""%>>Scontrino</option>
|
|
<option value="INTENTO" <%=bean.getFERiferimentoTipoDato().equals("INTENTO")?"selected":""%>>Letera Intento</option>
|
|
</select>
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Riferimento testo FE <i class="fa fa-info-circle" title="Riferimento Testo: codice scontrino o protocollo di ricezione della dichiarazione e il suo progressivo separato dal segno - es 08060120341224567-000001" onClick="Ab.swalInfo('Riferimento Testo','codice scontrino o protocollo di ricezione della dichiarazione e il suo progressivo separato dal segno - es 08060120341224567-000001')"></i>
|
|
:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="FERiferimentoTesto" name="FERiferimentoTesto" maxlength="254" value="<%= bean.getFERiferimentoTesto()%>">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label for="txtRicerca">Riferimento Numero FE <i class="fa fa-info-circle" title="Riferimento Numero: Numero scontrino o lasciare vuoto" onClick="Ab.swalInfo('Riferimento Numero','Numero scontrino o lasciare vuoto')"></i>:</label>
|
|
<br>
|
|
<input type="text" class="form-control input-sm" id="FERiferimentoNumero" name="FERiferimentoNumero" maxlength="10" value="<%= nf.format(bean.getFERiferimentoNumero() )%>">
|
|
</div>
|
|
<div class="col-lg-3 col-xs-6">
|
|
<label for="txtRicerca">Riferimento Data FE <i class="fa fa-info-circle" title="Riferimento Data: Data scontrino o data ricevuta telematica della ag. entrate con il protocollo dich. intento" onClick="Ab.swalInfo('Riferimento Data','Data scontrino o data ricevuta telematica della ag. entrate con il protocollo dich. intento')"></i>:</label>
|
|
<br>
|
|
<div class="input-group">
|
|
<input name="FERiferimentoData" type="text" class="form-control input-sm datemask datepicker" id="FERiferimentoData" value="<%= df.format(bean.getFERiferimentoData()) %>" maxlength="10">
|
|
<div class="input-group-addon"> <i class="fa fa-calendar"></i> </div>
|
|
</div>
|
|
</div>
|
|
</div>
|