57 lines
2.5 KiB
Text
57 lines
2.5 KiB
Text
<%@ taglib uri="/WEB-INF/acxent.tld" prefix="acx" %>
|
|
<%@ page language="java" import="it.acxent.jsp.*" %>
|
|
<%-- DICHIARAZIONE BEAN --%>
|
|
<jsp:useBean id="lang" class="java.lang.String" type="java.lang.String" scope="session" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="bean" class="it.acxent.art.ArticoloVariante" type="it.acxent.art.ArticoloVariante" scope="request" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="df" class="it.acxent.util.SimpleDateFormat" scope="request" type="it.acxent.util.SimpleDateFormat" >
|
|
</jsp:useBean>
|
|
<%-- FINE DICHIARAZIONE BEAN --%>
|
|
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<table class="table table-bordered table-hover table-striped dataTable table-condensed">
|
|
<tr>
|
|
<th>Articolo</th>
|
|
<th>Seriale</th>
|
|
<acx:ifparm codice="TAGLIE" value="1" >
|
|
<th>Taglia</th>
|
|
</acx:ifparm>
|
|
<th>Costo Medio</th>
|
|
<th>Magazz.</th>
|
|
<acx:if wherecondition="<%= bean.getArticolo().getTipo().getTipologiaArticolo().getFlgUdm()==1%>">
|
|
<th>Nr. </th>
|
|
</acx:if>
|
|
<acx:if wherecondition="<%= bean.getArticolo().getTipo().getTipologiaArticolo().getFlgUdm()==2%>">
|
|
<th>Kg. </th>
|
|
</acx:if>
|
|
<acx:if wherecondition="<%= bean.getArticolo().getTipo().getTipologiaArticolo().getFlgUdm()==3%>">
|
|
<th>Mt. </th>
|
|
</acx:if>
|
|
</tr>
|
|
<acx:whilevec rowbeanclass="it.acxent.contab.RigaDocumento" vectumerator="listaDisponibilita">
|
|
<tr>
|
|
<td><%= rowBean.getArticoloVariante().getDescrizioneCompleta() %></td>
|
|
<td><%= rowBean.getSeriale() %></td>
|
|
<acx:ifparm codice="TAGLIE" value="1" >
|
|
<td><%= rowBean.getArticoloTaglia().getTaglia().getDescrizione() %></td>
|
|
</acx:ifparm>
|
|
<td> </td>
|
|
<td><%= rowBean.getMagFisico().getDescrizione() %></td>
|
|
<acx:if wherecondition="<%= bean.getArticolo().getTipo().getTipologiaArticolo().getFlgUdm()==1%>">
|
|
<td class="text-right"><%= nf.format(rowBean.getNr()) %></td>
|
|
</acx:if>
|
|
<acx:if wherecondition="<%= bean.getArticolo().getTipo().getTipologiaArticolo().getFlgUdm()==2%>">
|
|
<td class="text-right"><%= nf.format(rowBean.getKg()) %></td>
|
|
</acx:if>
|
|
<acx:if wherecondition="<%= bean.getArticolo().getTipo().getTipologiaArticolo().getFlgUdm()==3%>">
|
|
<td class="text-right"><%= nf.format(rowBean.getMt()) %></td>
|
|
</acx:if>
|
|
</tr>
|
|
</acx:whilevec>
|
|
</table>
|
|
</div>
|
|
</div>
|