105 lines
4.3 KiB
Text
105 lines
4.3 KiB
Text
<%@ taglib uri="/WEB-INF/acxent.tld" prefix="acx" %>
|
|
<%@ page language="java" import="it.acxent.jsp.*" %>
|
|
<%-- DICHIARAZIONE BEAN --%>
|
|
<jsp:useBean id="nf" scope="request" type="java.text.NumberFormat" >
|
|
</jsp:useBean>
|
|
<jsp:useBean id="bean" class="it.acxent.art.Articolo" type="it.acxent.art.Articolo" 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">
|
|
<h3>
|
|
<acx:lang>DETTAGLIO COSTI</acx:lang>
|
|
</h3>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Manodopera</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<input name="costoManodopera" type="text" class="form-control input-sm" id="costoManodopera" value="<%= nf.format(bean.getCostoManodopera()) %>" size="10" maxlength="20">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Stiro</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<input name="costoStiro" type="text" class="form-control input-sm" id="costoStiro" value="<%= nf.format(bean.getCostoStiro()) %>" size="10" maxlength="20">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Spese Fisse</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<input name="costoSpeseFisse" type="text" class="form-control input-sm" id="costoSpeseFisse" value="<%= nf.format(bean.getCostoSpeseFisse()) %>" size="10" maxlength="20">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Accessori</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<input name="costoAccessori" type="text" class="form-control input-sm" id="costoAccessori" value="<%= nf.format(bean.getCostoAccessori()) %>" size="10" maxlength="20">
|
|
</div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Costo Tessuto</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<b><%=nf.format(bean.getCostoTessutoCalc())%></b> </div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Tot. Costo</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<b><%= nf.format(bean.getTotCostoConfezione()) %></b></div>
|
|
<div class="col-lg-2 col-xs-6">
|
|
<label>
|
|
<acx:lang>Perc. Ricarico%</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<input name="percRicarico" type="text" class="form-control input-sm" id="percRicarico" value="<%= nf.format(bean.getPercRicarico()) %>" size="10" maxlength="20" submit>
|
|
</div>
|
|
<div class="col-lg-4 col-xs-6">
|
|
<label>
|
|
<acx:lang>Prezzo Vendita Calcolato</acx:lang>
|
|
:</label>
|
|
<br>
|
|
<b><%=nf.format(bean.getPrezzoVenditaConfezioneCalcolatoSuCosto())%></b> </div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<table class="table table-bordered table-hover table-striped dataTable table-condensed">
|
|
<tbody>
|
|
<tr>
|
|
<th>PREZZI</th>
|
|
<th>Imponibile</th>
|
|
<th>con IVA</th>
|
|
<th>% sconto</th>
|
|
<th>Abbuono</th>
|
|
<th>Prezzo Finale al pubblico</th>
|
|
</tr>
|
|
<tr>
|
|
<td>Vendita</td>
|
|
<td ><acx:if wherecondition="<%=bean.usaPrezzoConIva()%>"> <strong><%=nf.format( bean.getPrezzoBase()) %></strong></acx:if>
|
|
<acx:else>
|
|
<input type="text" id="prezzoLA" <%=Ab.jsCrS()%> name="prezzoLA" size="10" maxlength="10" value="<%=nf.format( bean.getPrezzoBase()) %>">
|
|
</acx:else></td>
|
|
<td ><acx:if wherecondition="<%=bean.usaPrezzoConIva()%>">
|
|
<input type="text" class='<%= bean.getPrezzoPubblico()<0?"red":""%>' id="prezzoConIvaLA" <%=Ab.jsCrS()%> name="prezzoConIvaLA" size="10" maxlength="10" value="<%=nf.format( bean.getPrezzoBaseIva()) %>" style="text-align:right" onKeyUp="javascript:aggPrezzoFinale()">
|
|
</acx:if>
|
|
<acx:else> <strong><%=nf.format(bean.getPrezzoBase())%></strong></acx:else></td>
|
|
<td ><input name="percLA" type="text" id="percLA" value="<%= nf.format(bean.getPercSconto()) %>" size="3" maxlength="3" <%=Ab.jsCrS()%> ></td>
|
|
<td ><input type="text" id="abbuonoPrezzoPubblicoLA" <%=Ab.jsCrS()%> name="abbuonoPrezzoPubblicoLA" size="5" maxlength="10" value="<%=nf.format( bean.getAbbuonoPrezzoPubblico()) %>" style="text-align:right" ></td>
|
|
<td ><strong> <%=nf.format( bean.getPrice()) %> (<%=nf.format( bean.getPriceWVat()) %> con iva) </strong></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|