Files
gateway-dbc-fx/gnpapp/script/modifiche_gnpgo.txt
2024-05-09 17:40:24 +02:00

154 lines
12 KiB
Plaintext

DA MENU A RIFIUTA
<rich:menuItem action="#{navigationMenu.nng_donating}" value="#{msg.menu_top_nng_donating_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'OD')}" />
<rich:menuItem action="#{navigationMenu.nng_returned}" value="#{msg.menu_top_search_nng_returned_link}" rendered="#{(user.codiceProfilo eq 'GG' ) or (user.codiceProfilo eq 'OC')}" />
NNG - RECIPIENT
<t:selectOneMenu id="idOperatore" value="#{nng_recipient.idOperatore}" style="width:220px;">
<a4j:support event="onchange"
immediate="true" onsubmit="Richfaces.showModalPanel('loadingPanel');"
oncomplete="Richfaces.hideModalPanel('loadingPanel');" />
<t:selectItems value="#{nng_recipient.listaOlo}" var="item"
itemLabel="#{item.olo}" itemValue="#{item.olo}"></t:selectItems>
</t:selectOneMenu>
<h:outputLabel for="idOperatore" style="color:black;font-weight:bold;" value="OP ID: " />
<t:inputText id="idOperatore" required="true" maxlength="3" value="#{nng_recipient.idOperatore}" />
<t:selectOneMenu value="#{nng_recipient.idOperatore}">
<f:selectItem itemLabel="--" itemValue="" />
<t:selectItems value="#{anag_olo.listaOloNng}" var="codOlo" itemLabel="#{codOlo.olo} - #{codOlo.descrizioneOlo}" itemValue="#{codOlo.descrizioneOlo}"></t:selectItems>
</t:selectOneMenu>
onclick="return confirm('Sei sicuro di volere rifiutare la richiesta?')"
action="#{nng_donating.rifiutaRichiesta}"
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_work_ko}"
onclick="Richfaces.showModalPanel('popup_storicoRichieste', {width:'700px',height:'270px'});"
title="Rifiuta" rendered="#{item.stato eq '0'}"/>
action="#{cruscotto_storico.loadStorico}" immediate="true"
action="Richfaces.showModalPanel('popup_storicoRichieste', {width:'700px',height:'270px'});"
<h:commandButton type="submit" style="cursor: pointer;" value="#{msg.button_work_ok}"
onclick="return confirm('Sei sicuro di volere accettare la richiesta?')"
action="#{nng_donating.accettaRichiesta}"
title="Accetta" rendered="#{item.stato eq '0'}"/>
<a4j:commandLink
immediate="true" rendered="#{item.stato eq '0'}">Rifiuta
<f:param name="selectedIdRichiesta" value="#{item.codiceOrdine}"/>
</a4j:commandLink>
<h:form id="idListCruscottoStoricoModal">
<rich:modalPanel id="popup_storicoRichieste" autosized="true" left="10px">
<f:facet name="header">
<h:panelGroup>
<a4j:commandLink ajaxSingle="true" onclick="Richfaces.hideModalPanel('popup_storicoRichieste');">
<h:outputText value="X" />
</a4j:commandLink>
<h:outputText value=" -- Dettaglio storico richiesta --" />
</h:panelGroup>
</f:facet>
</rich:modalPanel>
</h:form>
onclick="return confirm('Sei sicuro di volere accettare la richiesta?')"
action="#{nng_donating.accettaRichiesta}"
onclick="return confirm('Sei sicuro di volere rifiutare la richiesta?')"
action="#{nng_donating.rifiutaRichiesta}"
reRender="panelRifiutaRichiesta"
<td>
<t:selectOneMenu value="#{nng_donating.selectedRifiuto}" style="width:250px;" rendered="#{item.stato eq '0'}">
<f:selectItem itemLabel="1 - Numerazione non attiva presso il Donating" itemValue="1" />
<f:selectItem itemLabel="2 - Associazione tipo servizio / tipo numero non compatibile" itemValue="2" />
<f:selectItem itemLabel="3 - Errata associazione tra NNG e Codice Fiscale / Partita IVA" itemValue="3" />
<f:selectItem itemLabel="4 - Codice Operatore Recipient inesistente" itemValue="4" />
<f:selectItem itemLabel="5 - Codice Ordine Recipient duplicato" itemValue="5" />
<f:selectItem itemLabel="6 - DAC errata " itemValue="6" />
<f:selectItem itemLabel="7 - CODICE PROGETTO errato" itemValue="7" />
<f:selectItem itemLabel="8 - Altro ordine in corso" itemValue="8" />
<f:selectItem itemLabel="9 - Richiesta oltre DATA + 90 gg solari" itemValue="9" />
<f:selectItem itemLabel="10 - DATA ORDINE non corretta" itemValue="10" />
<f:selectItem itemLabel="11 - NNG non assegnato all'Operatore assegnatario della numerazione" itemValue="11" />
<f:selectItem itemLabel="12 - NNG già restituita" itemValue="12" />
<f:selectItem itemLabel="13 - NNG non portato" itemValue="13" />
</t:selectOneMenu>
<f:param name="selectedCodiceOrdine" value="#{item.codiceOrdine}"/>
</td>
oncomplete="Richfaces.showModalPanel('idPopupRifiutaRichiesta', {width:'700px',height:'270px'});"
<a4j:commandLink action="#{nng_donating.accettaRichiesta}" immediate="true" reRender="panelRifiutaRichiesta" oncomplete="Richfaces.showModalPanel('idPopupRifiutaRichiesta', {width:'700px',height:'270px'});" rendered="#{item.stato eq '0'}" >
<h:graphicImage value="/resources/images/document_edit.png" style="border: 0; margin: 4px" alt="Visualizza la richiesta"/>
<f:param name="selectedCodiceOrdine" value="#{item.codiceOrdine}"/>
</a4j:commandLink>
<a4j:actionparam assignTo="#{nng_donating.codiceOrdine}" value="#{item.codiceOrdine}" name="selectedOrdine"></a4j:actionparam>
<rich:column colspan="9" >
<rich:panel id="panelloAccettaRifiuta" style="display: none;" >
<h:form id="formRifiutaRichiesta">
<a4j:outputPanel ajaxRendered="true" >
<h:panelGrid cellspacing="5" id="panelRifiutaRichiesta" columns="2">
<rich:column width="30%">
<h:outputLabel style="color:black;font-weight:bold;" value="Codice Ordine:" />
</rich:column>
<rich:column>
<h:outputText style="color:black;font-weight:bold;" value="#{nng_donating.selectedOrdine.codiceOrdine}" />
</rich:column>
<rich:column width="30%">
<h:outputLabel style="color:black;font-weight:bold;" value="Tipo Scarto:" />
</rich:column>
<rich:column>
<t:selectOneMenu value="#{nng_donating.tipoScarto}" style="width:250px;">
<f:selectItem itemLabel="1 - Numerazione non attiva presso il Donating" itemValue="1" />
<f:selectItem itemLabel="2 - Associazione tipo servizio / tipo numero non compatibile" itemValue="2" />
<f:selectItem itemLabel="3 - Errata associazione tra NNG e Codice Fiscale / Partita IVA" itemValue="3" />
<f:selectItem itemLabel="4 - Codice Operatore Recipient inesistente" itemValue="4" />
<f:selectItem itemLabel="5 - Codice Ordine Recipient duplicato" itemValue="5" />
<f:selectItem itemLabel="6 - DAC errata " itemValue="6" />
<f:selectItem itemLabel="7 - CODICE PROGETTO errato" itemValue="7" />
<f:selectItem itemLabel="8 - Altro ordine in corso" itemValue="8" />
<f:selectItem itemLabel="9 - Richiesta oltre DATA + 90 gg solari" itemValue="9" />
<f:selectItem itemLabel="10 - DATA ORDINE non corretta" itemValue="10" />
<f:selectItem itemLabel="11 - NNG non assegnato all'Operatore assegnatario della numerazione" itemValue="11" />
<f:selectItem itemLabel="12 - NNG già restituita" itemValue="12" />
<f:selectItem itemLabel="13 - NNG non portato" itemValue="13" />
</t:selectOneMenu>
</rich:column>
</h:panelGrid>
</a4j:outputPanel>
<h:panelGrid align="center" cellspacing="5" columns="2">
<rich:column colspan="2">
<h:commandButton type="submit" style="cursor: pointer;" value="Rifiuta"
action="#{nng_donating.rifiutaRichiesta}"
title="Rifiuta Richiesta"/>
</rich:column>
</h:panelGrid>
</h:form>
</rich:panel>
</rich:column>
<t:outputLabel value="Tipo Servizio 0 o 1: #{nng_recipient.dacIdeale01}" /></div>
<t:outputLabel value="Tipo Servizio 0 o 2: #{nng_recipient.dacIdeale02}" /></div>
<rich:column>
<h:outputText id="showLink" value="#{item.codiceOrdine}"
onclick="showDiv#{item.rowId}();hideShowLink#{item.rowId}();showHideLink#{item.rowId}()"
styleClass="myLink1"/>
<h:outputText id="hideLink" value="#{item.codiceOrdine}"
onclick="hideDiv#{item.rowId}();hideHideLink#{item.rowId}();showShowLink#{item.rowId}()"
styleClass="myLink2" style="display: none;"/>
<rich:effect name="hideShowLink#{item.rowId}" for="showLink" type="Fade" />
<rich:effect name="showShowLink#{item.rowId}" for="showLink" type="Appear" params="delay:1.5,duration:0.7" />
<rich:effect name="showHideLink#{item.rowId}" for="hideLink" params="delay:1.5,duration:0.7" type="Appear" />
<rich:effect name="hideHideLink#{item.rowId}" for="hideLink" type="Fade" />
<rich:effect name="hideDiv#{item.rowId}" params="duration:0.8" type="BlindUp" for="panelloDettaglio" />
<rich:effect name="showDiv#{item.rowId}" for="panelloDettaglio" type="BlindDown" params="duration:0.8"/>
</rich:column>