Skip to content

Commit

Permalink
Aggiornamento mappa Voce IVA
Browse files Browse the repository at this point in the history
  • Loading branch information
mspasiano committed Feb 19, 2018
1 parent f38a5d1 commit 4c63cd5
Show file tree
Hide file tree
Showing 3 changed files with 100 additions and 100 deletions.
@@ -1,6 +1,6 @@
<bulkInfo
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://contab.cnr.it/schema/SIGLA"
<bulkInfo
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://contab.cnr.it/schema/SIGLA"
xsi:schemaLocation="https://contab.cnr.it/schema/SIGLA https://contab.cnr.it/schema/SIGLA/BulkInfo_1_5.xsd">

<fieldProperty
Expand All @@ -25,7 +25,14 @@
nullable="false"
caseSensitiveSearch="false"
enabledOnFreeSearch="true"/>


<form name="searchtool">
<formFieldProperty
name="cd_gruppo_iva" />
<formFieldProperty
name="ds_gruppo_iva"/>
</form>

<formFieldProperty
name="cd_gruppo_iva" />
<formFieldProperty
Expand Down
Expand Up @@ -9,6 +9,7 @@
property="gruppo_iva"
inputType="SEARCHTOOL"
label="Gruppo Iva"
formName="searchtool"
enabledOnSearch="false"
enabledOnEdit="true" />
<fieldProperty
Expand Down Expand Up @@ -107,7 +108,7 @@
property="naturaOperNonImpSdi"
keysProperty="naturaOperazioniNonImponibiliKeys"
label="Natura Operazioni non imponibili per invio SDI"
enabledOnEdit="true"
enabledOnEdit="true"
enabledOnInsert="true"
inputType="SELECT"
enabledOnSearch="true"
Expand Down
182 changes: 87 additions & 95 deletions sigla-web/src/main/webapp/docamm00/voceiva.jsp
Expand Up @@ -36,112 +36,104 @@ function escludiPrimo(index){
Voce_ivaBulk voce_iva = (Voce_ivaBulk) bp.getModel();
bp.openFormWindow(pageContext); %>

<div class="Group">

<table>
<div class="Group card p-2">
<table>
<tr>
<% bp.getController().writeFormField(out,"cd_voce_iva"); %>
<td colspan="5">
<% bp.getController().writeFormField(out,"ds_voce_iva"); %>
</td>
</tr>
<tr>
<% bp.getController().writeFormField(out,"percentuale"); %>
<% bp.getController().writeFormField(out,"dt_inizio_validita"); %>
</tr>
</table>
<table class="Panel" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2">
<div class="Group">
<table class="Panel" border="0" cellspacing="0" cellpadding="2">
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_detraibile");%>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_detraibile",false,null,"onclick=\"escludiPrimo(1);submitForm('doDefault')\"");%>
</td>
<% if (voce_iva!=null && voce_iva.isDetraibile()) { %>
<td>&nbsp;</td>
<% bp.getController().writeFormField(out,"percentuale_detraibilita"); %>
<% } %>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_non_imponibile"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_non_imponibile",false,null,"onclick=\"escludiPrimo(2);submitForm('doDefault')\""); %>
</td>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_esente"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_esente",false,null,"onclick=\"escludiPrimo(3);submitForm('doDefault')\""); %>
</td>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_non_soggetto"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_non_soggetto",false,null,"onclick=\"escludiPrimo(4);submitForm('doDefault')\""); %>
</td>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_escluso"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_escluso",false,null,"onclick=\"escludiPrimo(5);submitForm('doDefault')\""); %>
</td>
</tr>
</table>
</div>
</td>
</tr>
<tr>

<% bp.getController().writeFormField(out,"ti_applicazione"); %>
<% bp.getController().writeFormField(out,"ti_bene_servizio"); %>
<% bp.getController().writeFormField(out,"ti_bollo"); %>
</tr>
<tr>
<% bp.getController().writeFormLabel(out,"cd_gruppo_iva"); %>
<% bp.getController().writeFormInput(out,"cd_gruppo_iva"); %>
<% bp.getController().writeFormInput(out,"ds_gruppo_iva"); %>
<% bp.getController().writeFormInput(out,"gruppo_iva"); %>
</tr>
<tr>
<% bp.getController().writeFormField(out,"fl_default_istituzionale"); %>
<% bp.getController().writeFormField(out,"fl_solo_italia"); %>
<% bp.getController().writeFormField(out,"fl_obb_dichiarazione_intento"); %>
</tr>
<tr>
<% bp.getController().writeFormField(out,"fl_iva_non_recuperabile"); %>
<td><% bp.getController().writeFormLabel(out,"ds_voce_iva"); %></td>
<td class="w-100"><% bp.getController().writeFormInput(out,"ds_voce_iva"); %></td>
</tr>
<table>
<tr>
<% if (voce_iva != null && voce_iva.isOperazioneNonImponibile()) { %>
<td colspan="2">
<% bp.getController().writeFormField(out,"naturaOperNonImpSdi");%>
</td>
<% } %>
<% bp.getController().writeFormField(out,"percentuale"); %>
</tr>
<tr>
<% if (voce_iva != null && voce_iva.isOperazioneNonImponibile()) { %>
<td colspan="2">
<% bp.getController().writeFormField(out,"rifNormOperNonImpSdi");%>
</td>
<% } %>
<% bp.getController().writeFormField(out,"dt_inizio_validita"); %>
</tr>
</table>
</table>
<div class="Group border rounded border-info p-2 m-1">
<table class="Panel" cellspacing="0" cellpadding="2">
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_detraibile");%>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_detraibile",false,null,"onclick=\"escludiPrimo(1);submitForm('doDefault')\"");%>
</td>
<% if (voce_iva!=null && voce_iva.isDetraibile()) { %>
<td>&nbsp;</td>
<% bp.getController().writeFormField(out,"percentuale_detraibilita"); %>
<% } %>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_non_imponibile"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_non_imponibile",false,null,"onclick=\"escludiPrimo(2);submitForm('doDefault')\""); %>
</td>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_esente"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_esente",false,null,"onclick=\"escludiPrimo(3);submitForm('doDefault')\""); %>
</td>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_non_soggetto"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_non_soggetto",false,null,"onclick=\"escludiPrimo(4);submitForm('doDefault')\""); %>
</td>
</tr>
<tr>
<td>
<% bp.getController().writeFormLabel(out,"fl_escluso"); %>
</td>
<td>
<% bp.getController().writeFormInput(out,null,"fl_escluso",false,null,"onclick=\"escludiPrimo(5);submitForm('doDefault')\""); %>
</td>
</tr>
</table>
</div>
<table cellspacing="0" cellpadding="2">
<tr>
<% bp.getController().writeFormField(out,"ti_applicazione"); %>
<% bp.getController().writeFormField(out,"ti_bene_servizio"); %>
<% bp.getController().writeFormField(out,"ti_bollo"); %>
</tr>
</table>
<table cellspacing="0" cellpadding="2">
<tr>
<% bp.getController().writeFormField(out,"gruppo_iva"); %>
</tr>
</table>
<table cellspacing="0" cellpadding="2">
<tr>
<% bp.getController().writeFormField(out,"fl_default_istituzionale"); %>
<% bp.getController().writeFormField(out,"fl_solo_italia"); %>
<% bp.getController().writeFormField(out,"fl_obb_dichiarazione_intento"); %>
<% bp.getController().writeFormField(out,"fl_iva_non_recuperabile"); %>
</tr>
</table>
<% if (voce_iva != null && voce_iva.isOperazioneNonImponibile()) { %>
<div class="Group card p-1">
<table>
<tr>
<td><% bp.getController().writeFormLabel(out,"naturaOperNonImpSdi");%></td>
<td class="w-75"><% bp.getController().writeFormInput(out,"naturaOperNonImpSdi");%></td>
</tr>
<tr>
<% bp.getController().writeFormField(out,"rifNormOperNonImpSdi");%>
</tr>
</table>
</div>
<% } %>
</div>

<% bp.closeFormWindow(pageContext); %>
</body>
</html>

0 comments on commit 4c63cd5

Please sign in to comment.