First commit
This commit is contained in:
parent
cf97b64877
commit
cc69770608
1468 changed files with 265316 additions and 128 deletions
54
www/admin/tessuto/_inc_articoloTessuto_componenti.jsp
Normal file
54
www/admin/tessuto/_inc_articoloTessuto_componenti.jsp
Normal file
|
|
@ -0,0 +1,54 @@
|
|||
<!--_inc_articoloTessuto_componenti.jsp-->
|
||||
<%@ 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.tex.anag.ArticoloTessuto" type="it.acxent.tex.anag.ArticoloTessuto" 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="beanAC" class="it.acxent.tex.anag.ArticoloTessutoComponente" type="it.acxent.tex.anag.ArticoloTessutoComponente" scope="request" >
|
||||
</jsp:useBean>
|
||||
<%-- FINE DICHIARAZIONE BEAN --%>
|
||||
|
||||
<div class="row" id="no-more-tables">
|
||||
<div class="col-lg-3" >
|
||||
<label><acx:lang>Componente</acx:lang>:</label>
|
||||
<input type="hidden" class="form-control input-sm" name="id_articoloTessutoComponente" id="id_articoloTessutoComponente" maxlength="2" value="<%= beanAC.getId_articoloTessutoComponente() %>">
|
||||
<select class="form-control input-sm select2" style="width: 100%;" name="id_componente" id="id_componente">
|
||||
<acx:optionvec boundcolumn="id_componente" desccolumn="descrizioneCompleta" lang="<%=lang%>" vectumerator="listaComponenti" value="<%=beanAC.getId_componente()%>"> </acx:optionvec>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-lg-3" >
|
||||
<label><acx:lang>Percentuale</acx:lang>:</label>
|
||||
<br>
|
||||
<input type="text" class="form-control input-sm numberinput" name="percentuale" id="percentuale" value="<%= nf.format(beanAC.getPercentuale()) %>" <%= Ab.jsCrS("addComponente()") %>>
|
||||
</div>
|
||||
<div class="col-lg-2" > <br>
|
||||
<a href="javascript:addComponente()" class="btn btn-primary pull-right"><acx:lang>Inserisci</acx:lang></a> </div>
|
||||
<div class="col-lg-3" > <br><acx:if wherecondition="<%=bean.getTotPercentualeComponenti()>0 && bean.getTotPercentualeComponenti()!=100%>"><i class="fa fa-warning fa-2x" style="color:darkorange"></i> <span class="text-red"><acx:lang>Attenzione! Percentuale diversa da 100%</acx:lang></span></acx:if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="box-body table-responsive">
|
||||
<table class="table table-bordered table-hover table-striped dataTable table-condensed">
|
||||
<thead>
|
||||
<tr>
|
||||
<th> </th>
|
||||
<th><acx:lang>Componente</acx:lang></th>
|
||||
<th><acx:lang>Percentuale</acx:lang></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<acx:whilevec rowbeanclass="it.acxent.tex.anag.ArticoloTessutoComponente" vectumerator="listaTessutoComponenti">
|
||||
<tr>
|
||||
<td class="text-center comandi" ><div class="inline text-center hidden-print"> <a href="javascript:delComponente(<%=rowBean.getId_articoloTessutoComponente()%>,'<%= rowBean.getLastUpdTmstString() %>');"><i class="fa fa-trash-o fa-2x" title="<acx:lang>Cancella Record</acx:lang>"></i></a></div></td>
|
||||
<td data-title="<acx:lang>Componente</acx:lang>"><%= rowBean.getComponente().getDescrizioneCompleta(lang) %></td>
|
||||
<td data-title="<acx:lang>Percentuale</acx:lang>" class="text-right"><%= nf.format(rowBean.getPercentuale()) %></td>
|
||||
</tr>
|
||||
</acx:whilevec>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue