|
|
|
@ -1,5 +1,5 @@
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
|
|
<!--
|
|
|
|
<!--
|
|
|
|
Document : ListaPlanos
|
|
|
|
Document : ListaPlanos
|
|
|
|
Created on : Aug 29, 2008, 2:57:16 PM
|
|
|
|
Created on : Aug 29, 2008, 2:57:16 PM
|
|
|
|
Author : lluis
|
|
|
|
Author : lluis
|
|
|
|
@ -11,7 +11,8 @@
|
|
|
|
xmlns:jsp="http://java.sun.com/JSP/Page"
|
|
|
|
xmlns:jsp="http://java.sun.com/JSP/Page"
|
|
|
|
xmlns:webuijsf="http://www.sun.com/webui/webuijsf"
|
|
|
|
xmlns:webuijsf="http://www.sun.com/webui/webuijsf"
|
|
|
|
xmlns:a4j="http://richfaces.org/a4j"
|
|
|
|
xmlns:a4j="http://richfaces.org/a4j"
|
|
|
|
xmlns:rich="http://richfaces.org/rich">
|
|
|
|
xmlns:rich="http://richfaces.org/rich"
|
|
|
|
|
|
|
|
xmlns:t="http://myfaces.apache.org/tomahawk">
|
|
|
|
|
|
|
|
|
|
|
|
<jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"/>
|
|
|
|
<jsp:directive.page contentType="text/html;charset=ISO-8859-1" pageEncoding="ISO-8859-1"/>
|
|
|
|
<f:view>
|
|
|
|
<f:view>
|
|
|
|
@ -20,248 +21,245 @@
|
|
|
|
<webuijsf:head id="head1" title="Planos Actuacao">
|
|
|
|
<webuijsf:head id="head1" title="Planos Actuacao">
|
|
|
|
<webuijsf:link id="link1" url="/resources/stylesheet.css"/>
|
|
|
|
<webuijsf:link id="link1" url="/resources/stylesheet.css"/>
|
|
|
|
<script type="text/javascript">
|
|
|
|
<script type="text/javascript">
|
|
|
|
function checkEmptyTables()
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var tableId1 = "_form1:table1:tableRowGroup1:_emptyDataColumn:_emptyDataText";
|
|
|
|
|
|
|
|
var tableId2 = "_form1:table2:tableRowGroup2:_emptyDataColumn:_emptyDataText";
|
|
|
|
|
|
|
|
var tableId3 = "_form1:table3:tableRowGroup3:_emptyDataColumn:_emptyDataText";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var t1 = document.getElementById(tableId1);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(t1 != null)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
//alert( t1.innerHTML );
|
|
|
|
|
|
|
|
t1.innerHTML = '';
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
function alertOnDeactivate()
|
|
|
|
function alertOnDeactivate()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return confirm( 'Tem a certeza que pretende desactivar o plano ?\nEsta acção é irreversível e passará o plano para o estado Concluído.' );
|
|
|
|
return confirm( 'Tem a certeza que pretende desactivar o plano ?\nEsta acção é irreversível e passará o plano para o estado Concluído.' );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
|
</webuijsf:head>
|
|
|
|
</webuijsf:head>
|
|
|
|
<webuijsf:body id="body1" onLoad="checkEmptyTables();">
|
|
|
|
<webuijsf:body id="body1">
|
|
|
|
|
|
|
|
|
|
|
|
<!-- form1 -->
|
|
|
|
<div style="height: 24px; left: 0px; top: 0px; width: 100%">
|
|
|
|
|
|
|
|
<jsp:directive.include file="Header.jspf"/>
|
|
|
|
<div style="height: 24px; left: 0px; top: 0px; width: 100%">
|
|
|
|
</div>
|
|
|
|
<jsp:directive.include file="Header.jspf"/>
|
|
|
|
<h:panelGrid columns="1" id="gridBaseLayout" lang="pt" style="height: 96px; width: 100%" styleClass="centerBlock" width="336">
|
|
|
|
</div>
|
|
|
|
<h:panelGrid columns="1" id="gridLayout" style="height: 24px; width: 80%" styleClass="centerBlock">
|
|
|
|
<h:panelGrid columns="1" id="gridBaseLayout" lang="pt" style="height: 96px; width: 100%" styleClass="centerBlock" width="336">
|
|
|
|
|
|
|
|
<h:panelGrid columns="1" id="gridLayout" style="height: 24px; width: 80%" styleClass="centerBlock">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText4" style="font-size: 36px" text="&nbsp;"/>
|
|
|
|
<webuijsf:staticText escape="false" id="staticText4" style="font-size: 36px" text="&nbsp;"/>
|
|
|
|
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridMsg" style="height: 24px; width: 100%">
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridMsg" style="height: 24px; width: 100%">
|
|
|
|
<webuijsf:staticText id="lblMsg" styleClass="labelMsg "/>
|
|
|
|
<webuijsf:staticText id="lblMsg" styleClass="labelMsg" />
|
|
|
|
</h:panelGrid>
|
|
|
|
</h:panelGrid>
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridActual}" columnClasses="gridColCenter" columns="1" id="gridActual"
|
|
|
|
|
|
|
|
style="height: 24px; width: 100%" styleClass="gridPlanosList">
|
|
|
|
|
|
|
|
<webuijsf:staticText id="staticText1" style="font-size: 18px" text="Actual"/>
|
|
|
|
<!-- grid actual -->
|
|
|
|
<webuijsf:staticText escape="false" id="staticText2" style="font-size: 14px" text=" "/>
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridActual}" columnClasses="gridColCenter" columns="1" id="gridActual"
|
|
|
|
<webuijsf:staticText id="staticText3" styleClass="label" text="Processos com dados pendentes"/>
|
|
|
|
style="height: 24px; width: 100%" styleClass="gridPlanosList">
|
|
|
|
|
|
|
|
<webuijsf:staticText id="staticText1" style="font-size: 18px" text="Actual"/>
|
|
|
|
<webuijsf:form id="form1">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText2" style="font-size: 14px" text=" "/>
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridPanelFilterActual}" columns="4" id="gridPanelFilterActual" style="" styleClass="centerBlock">
|
|
|
|
<webuijsf:staticText id="staticText3" styleClass="label" text="Processos com dados pendentes"/>
|
|
|
|
<webuijsf:panelGroup binding="#{ListaPlanos.groupPanelFilterActual}" id="groupPanelFilterActual" style="">
|
|
|
|
|
|
|
|
<webuijsf:staticText id="labelFilterNameActual" style="" text="Nome:" />
|
|
|
|
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterNameActual}" id="textFilterNameActual" />
|
|
|
|
<webuijsf:form id="form1">
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridPanelFilterActual}" columns="4" id="gridPanelFilterActual" style="" styleClass="centerBlock">
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<webuijsf:panelGroup binding="#{ListaPlanos.groupPanelFilterActual}" id="groupPanelFilterActual" style="">
|
|
|
|
<webuijsf:staticText id="labelFilterEstabelecimentoActual" style="" text="Estabelecimento:" />
|
|
|
|
<webuijsf:staticText id="labelFilterNameActual" style="" text="Nome:" />
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterEstabelecimentoActual}" id="textFilterEstabelecimentoActual" />
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterNameActual}" id="textFilterNameActual" />
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<webuijsf:staticText id="labelFilterDateActual" text="Data da Visita:" />
|
|
|
|
<webuijsf:staticText id="labelFilterEstabelecimentoActual" style="" text="Estabelecimento:" />
|
|
|
|
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterEstabelecimentoActual}" id="textFilterEstabelecimentoActual" />
|
|
|
|
<rich:calendar datePattern="yyyy/MM/dd" value="#{ListaPlanos.calFilterDate}"></rich:calendar>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<!-- <webuijsf:calendar binding="#{ListaPlanos.calFilterDateActual}" dateFormatPattern="yyyy/MM/dd" id="calFilterDateActual" /> -->
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
|
|
|
|
<webuijsf:staticText id="labelFilterDateActual" text="Data da Visita:" />
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
|
|
|
|
<webuijsf:button binding="#{ListaPlanos.buttonFilterActual}" id="buttonFilterActual" actionExpression="#{ListaPlanos.buttonFilterActual_action}" text="Pesquisar" />
|
|
|
|
<t:inputDate id="calFilterDate" value="#{ListaPlanos.calFilterDate}" type="date" ampm="false" />
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
|
|
|
|
<webuijsf:button binding="#{ListaPlanos.buttonFilterActual}" id="buttonFilterActual" actionExpression="#{ListaPlanos.buttonFilterActual_action}" text="Pesquisar" />
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</webuijsf:form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h:panelGrid columns="1" id="gridPanel1" style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
|
|
|
|
|
|
|
|
<webuijsf:form id="form2">
|
|
|
|
|
|
|
|
<webuijsf:table augmentTitle="false" binding="#{ListaPlanos.table1}" id="table1" style="width: 100%"
|
|
|
|
|
|
|
|
styleClass="centerBlock" width="100%">
|
|
|
|
|
|
|
|
<webuijsf:tableRowGroup binding="#{ListaPlanos.tableRowGroup1}" id="tableRowGroup1" rows="10"
|
|
|
|
|
|
|
|
sourceData="#{SessionBean1.planosActualDataProvider}" sourceVar="currentRow">
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Data da visita" id="tableColumn1" sort="data_visita">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkDataActivo" text="#{currentRow.value['data_visita_str']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Técnico de HST" id="tableColumn2" sort="tecnicos_nomes">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkTecnicoHsActivo" text="#{currentRow.value['tecnicos_nomes']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Fase" id="tableColumn3" sort="fase">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkFaseActivo" text="#{currentRow.value['fase_nome']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Plano" id="tableColumn10">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlano_action}" id="lnkPlanoActivo"
|
|
|
|
|
|
|
|
style="color: #008000;" text="imprimir"/>
|
|
|
|
|
|
|
|
<webuijsf:staticText id="staticTextActivosSeparator" text=" | " />
|
|
|
|
|
|
|
|
<webuijsf:staticText id="lnkPlanoImprimirPatrimoniais" text="imprimir (Patrimoniais)" />
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Loja" id="tableColumn13" sort="loja_nome">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkLojaActivo" text="#{currentRow.value['nome_estabelecimento']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="" id="tableColumn55" binding="#{ListaPlanos.tableColumn55}">
|
|
|
|
|
|
|
|
<webuijsf:button id="btnDesactivar" text="Desactivar Plano" onClick="return alertOnDeactivate();"
|
|
|
|
|
|
|
|
actionExpression="#{ListaPlanos.goDesactivarPlano_action}" binding="#{ListaPlanos.buttonDesactivar}" />
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
</webuijsf:tableRowGroup>
|
|
|
|
|
|
|
|
</webuijsf:table>
|
|
|
|
</webuijsf:form>
|
|
|
|
</webuijsf:form>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
<!-- eof grid actual -->
|
|
|
|
|
|
|
|
|
|
|
|
<h:panelGrid columns="1" id="gridPanel1" style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<webuijsf:form id="form2">
|
|
|
|
|
|
|
|
<webuijsf:table augmentTitle="false" binding="#{ListaPlanos.table1}" id="table1" style="width: 100%"
|
|
|
|
|
|
|
|
styleClass="centerBlock" width="100%">
|
|
|
|
<!-- grid seguimento -->
|
|
|
|
<webuijsf:tableRowGroup binding="#{ListaPlanos.tableRowGroup1}" id="tableRowGroup1" rows="10"
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridSeguimento1" style="height: 24px; width: 100%" styleClass="gridPlanosList">
|
|
|
|
sourceData="#{SessionBean1.planosActualDataProvider}" sourceVar="currentRow">
|
|
|
|
<webuijsf:staticText id="staticText7" style="font-size: 18px" text="Em seguimento"/>
|
|
|
|
<webuijsf:tableColumn headerText="Data da visita" id="tableColumn1" sort="data_visita">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText8" style="font-size: 14px" text=" "/>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkDataActivo" text="#{currentRow.value['data_visita_str']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Técnico de HST" id="tableColumn2" sort="tecnicos_nomes">
|
|
|
|
<webuijsf:form id="form3">
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkTecnicoHsActivo" text="#{currentRow.value['tecnicos_nomes']}"/>
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridPanelFilterSeg}" columns="4" id="gridPanelFilterSeg" style="" styleClass="centerBlock">
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:panelGroup binding="#{ListaPlanos.groupPanelFilterSeg}" id="groupPanelFilterSeg" style="">
|
|
|
|
<webuijsf:tableColumn headerText="Fase" id="tableColumn3" sort="fase">
|
|
|
|
<webuijsf:staticText id="labelFilterNameSeg" style="" text="Nome:" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkFaseActivo" text="#{currentRow.value['fase_nome']}"/>
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterNameSeg}" id="textFilterNameSeg" />
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:tableColumn headerText="Plano" id="tableColumn10">
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlano_action}" id="lnkPlanoActivo"
|
|
|
|
<webuijsf:staticText id="labelFilterEstabelecimentoSeg" style="" text="Estabelecimento:" />
|
|
|
|
style="color: #008000;" text="imprimir"/>
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterEstabelecimentoSeg}" id="textFilterEstabelecimentoSeg" />
|
|
|
|
<webuijsf:staticText id="staticTextActivosSeparator" text=" | " />
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:staticText id="lnkPlanoImprimirPatrimoniais" text="imprimir (Patrimoniais)" />
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<!--
|
|
|
|
<webuijsf:staticText id="labelFilterDateSeg" text="Data da Visita:" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoPatrimoniais_action}" id="lnkPlanoImprimirPatrimoniais"
|
|
|
|
|
|
|
|
style="color: #008000;" text="imprimir (Patrimoniais)"/>
|
|
|
|
<t:inputDate id="calFilterDateSeguimento" value="#{ListaPlanos.calFilterDateSeguimento}" />
|
|
|
|
-->
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:tableColumn headerText="Loja" id="tableColumn13" sort="loja_nome">
|
|
|
|
<webuijsf:button binding="#{ListaPlanos.buttonFilterSeg}" id="buttonFilterSeg" actionExpression="#{ListaPlanos.buttonFilterSeg_action}" text="Pesquisar" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goEditarPlano_action}" id="lnkLojaActivo" text="#{currentRow.value['nome_estabelecimento']}"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</webuijsf:form>
|
|
|
|
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="" id="tableColumn55" binding="#{ListaPlanos.tableColumn55}">
|
|
|
|
|
|
|
|
<webuijsf:button id="btnDesactivar" text="Desactivar Plano" onClick="return alertOnDeactivate();"
|
|
|
|
<h:panelGrid columns="1" id="gridPanel2" style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
|
|
|
|
actionExpression="#{ListaPlanos.goDesactivarPlano_action}" binding="#{ListaPlanos.buttonDesactivar}"
|
|
|
|
<webuijsf:form id="form4">
|
|
|
|
/>
|
|
|
|
<webuijsf:table augmentTitle="false" id="table2" style="width: 100%" styleClass="centerBlock" width="100%">
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:tableRowGroup binding="#{ListaPlanos.tableRowGroup2}" id="tableRowGroup2" rows="10"
|
|
|
|
|
|
|
|
sourceData="#{SessionBean1.planosSeguimentoDataProvider}" sourceVar="currentRow">
|
|
|
|
</webuijsf:tableRowGroup>
|
|
|
|
<webuijsf:tableColumn headerText="Data da visita" id="tableColumn4" sort="data_visita_str">
|
|
|
|
</webuijsf:table>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink1" text="#{currentRow.value['data_visita_str']}"/>
|
|
|
|
</webuijsf:form>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Técnico de HST" id="tableColumn5" sort="tecnicos_nomes">
|
|
|
|
</h:panelGrid>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink2" text="#{currentRow.value['tecnicos_nomes']}"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridSeguimento1" style="height: 24px; width: 100%" styleClass="gridPlanosList">
|
|
|
|
<webuijsf:tableColumn headerText="Fase" id="tableColumn6" sort="fase_nome">
|
|
|
|
<webuijsf:staticText id="staticText7" style="font-size: 18px" text="Em seguimento"/>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink3" text="#{currentRow.value['fase_nome']}"/>
|
|
|
|
<webuijsf:staticText escape="false" id="staticText8" style="font-size: 14px" text=" "/>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<h:panelGrid columns="1" id="gridPanel2" style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
|
|
|
|
<webuijsf:tableColumn headerText="Plano" id="tableColumn11">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoFromSeguimento_action}" id="hyperlink4"
|
|
|
|
<webuijsf:form id="form3">
|
|
|
|
style="color: #008000;" text="imprimir" />
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridPanelFilterSeg}" columns="4" id="gridPanelFilterSeg" style="" styleClass="centerBlock">
|
|
|
|
<webuijsf:staticText id="staticTextSeguimentoSeparator" text=" | " />
|
|
|
|
<webuijsf:panelGroup binding="#{ListaPlanos.groupPanelFilterSeg}" id="groupPanelFilterSeg" style="">
|
|
|
|
<webuijsf:staticText id="lnkPlanoImprimirSeguimentoPatrimoniais" text="imprimir (Patrimoniais)" />
|
|
|
|
<webuijsf:staticText id="labelFilterNameSeg" style="" text="Nome:" />
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterNameSeg}" id="textFilterNameSeg" />
|
|
|
|
<webuijsf:tableColumn headerText="Loja" id="tableColumn14" sort="nome_estabelecimento">
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink5" text="#{currentRow.value['nome_estabelecimento']}"/>
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:staticText id="labelFilterEstabelecimentoSeg" style="" text="Estabelecimento:" />
|
|
|
|
<webuijsf:tableColumn headerText="" id="tableColumn56" binding="#{ListaPlanos.tableColumn56}">
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterEstabelecimentoSeg}" id="textFilterEstabelecimentoSeg" />
|
|
|
|
<webuijsf:button id="btnDesactivarSeguimento" text="Desactivar Plano" onClick="return alertOnDeactivate();"
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
actionExpression="#{ListaPlanos.goDesactivarPlanoSeguimento_action}" binding="#{ListaPlanos.buttonDesactivarSeguimento}" />
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:staticText id="labelFilterDateSeg" text="Data da Visita:" />
|
|
|
|
</webuijsf:tableRowGroup>
|
|
|
|
|
|
|
|
</webuijsf:table>
|
|
|
|
<rich:calendar datePattern="yyyy/MM/dd" value="#{ListaPlanos.calFilterDateSeguimento}"></rich:calendar>
|
|
|
|
</webuijsf:form>
|
|
|
|
<!-- <webuijsf:calendar binding="#{ListaPlanos.calFilterDateSeg}" dateFormatPattern="yyyy/MM/dd" id="calFilterDateSeg" /> -->
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<!-- eof grid seguimento -->
|
|
|
|
<webuijsf:button binding="#{ListaPlanos.buttonFilterSeg}" id="buttonFilterSeg" actionExpression="#{ListaPlanos.buttonFilterSeg_action}" text="Pesquisar" />
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</webuijsf:form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<webuijsf:form id="form4">
|
|
|
|
<!-- grid concluidos -->
|
|
|
|
<webuijsf:table augmentTitle="false" id="table2" style="width: 100%" styleClass="centerBlock" width="100%">
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridConcluidos" style="height: 24px; width: 100%" styleClass="gridPlanosList">
|
|
|
|
<webuijsf:tableRowGroup binding="#{ListaPlanos.tableRowGroup2}" id="tableRowGroup2" rows="10"
|
|
|
|
<webuijsf:staticText escape="false" id="staticText14" style="font-size: 18px" text="Conclu&iacute;dos"/>
|
|
|
|
sourceData="#{SessionBean1.planosSeguimentoDataProvider}" sourceVar="currentRow">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText15" style="font-size: 14px" text=" "/>
|
|
|
|
<webuijsf:tableColumn headerText="Data da visita" id="tableColumn4" sort="data_visita_str">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink1" text="#{currentRow.value['data_visita_str']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:form id="form5">
|
|
|
|
<webuijsf:tableColumn headerText="Técnico de HST" id="tableColumn5" sort="tecnicos_nomes">
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridPanelFilterConc}" columns="4" id="gridPanelFilterConc" style="" styleClass="centerBlock">
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink2" text="#{currentRow.value['tecnicos_nomes']}"/>
|
|
|
|
<webuijsf:panelGroup binding="#{ListaPlanos.groupPanelFilterConc}" id="groupPanelFilterConc" style="">
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:staticText id="labelFilterNameConc" style="" text="Nome:" />
|
|
|
|
<webuijsf:tableColumn headerText="Fase" id="tableColumn6" sort="fase_nome">
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterNameConc}" id="textFilterNameConc" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink3" text="#{currentRow.value['fase_nome']}"/>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<webuijsf:tableColumn headerText="Plano" id="tableColumn11">
|
|
|
|
<webuijsf:staticText id="labelFilterEstabelecimentoConc" style="" text="Estabelecimento:" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoFromSeguimento_action}" id="hyperlink4"
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterEstabelecimentoConc}" id="textFilterEstabelecimentoConc" />
|
|
|
|
style="color: #008000;" text="imprimir" />
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:staticText id="staticTextSeguimentoSeparator" text=" | " />
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
<webuijsf:staticText id="lnkPlanoImprimirSeguimentoPatrimoniais" text="imprimir (Patrimoniais)" />
|
|
|
|
<webuijsf:staticText id="labelFilterDateConc" text="Data da Visita:" />
|
|
|
|
<!-- <webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoSeguimentoPatrimoniais_action}" id="lnkPlanoImprimirSeguimentoPatrimoniais"
|
|
|
|
|
|
|
|
style="color: #008000;" text="imprimir (Patrimoniais)"/>
|
|
|
|
<t:inputDate id="calFilterDateConcluidos" value="#{ListaPlanos.calFilterDateConcluidos}" />
|
|
|
|
-->
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:tableColumn headerText="Loja" id="tableColumn14" sort="nome_estabelecimento">
|
|
|
|
<webuijsf:button binding="#{ListaPlanos.buttonFilterConc}" id="buttonFilterConc" actionExpression="#{ListaPlanos.buttonFilterConc_action}" text="Pesquisar" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromSeguimento_action}" id="hyperlink5" text="#{currentRow.value['nome_estabelecimento']}"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</webuijsf:form>
|
|
|
|
<webuijsf:tableColumn headerText="" id="tableColumn56" binding="#{ListaPlanos.tableColumn56}">
|
|
|
|
|
|
|
|
<webuijsf:button id="btnDesactivarSeguimento" text="Desactivar Plano" onClick="return alertOnDeactivate();"
|
|
|
|
|
|
|
|
actionExpression="#{ListaPlanos.goDesactivarPlanoSeguimento_action}" binding="#{ListaPlanos.buttonDesactivarSeguimento}" />
|
|
|
|
<h:panelGrid columns="1" id="gridPanel4" style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:form id="form6">
|
|
|
|
</webuijsf:tableRowGroup>
|
|
|
|
<webuijsf:table augmentTitle="false" id="table3" style="width: 100%" styleClass="centerBlock" width="100%">
|
|
|
|
</webuijsf:table>
|
|
|
|
<webuijsf:tableRowGroup binding="#{ListaPlanos.tableRowGroup3}" id="tableRowGroup3" rows="10"
|
|
|
|
</webuijsf:form>
|
|
|
|
sourceData="#{SessionBean1.planosConcluidosDataProvider}" sourceVar="currentRow">
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Data da visita" id="tableColumn7" sort="data_visita_str">
|
|
|
|
</h:panelGrid>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink6" text="#{currentRow.value['data_visita_str']}"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridConcluidos" style="height: 24px; width: 100%" styleClass="gridPlanosList">
|
|
|
|
<webuijsf:tableColumn headerText="Técnico de HST" id="tableColumn8" sort="tecnicos_nomes">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText14" style="font-size: 18px" text="Conclu&iacute;dos"/>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink7" text="#{currentRow.value['tecnicos_nomes']}"/>
|
|
|
|
<webuijsf:staticText escape="false" id="staticText15" style="font-size: 14px" text=" "/>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<h:panelGrid columns="1" id="gridPanel4" style="height: 24px; width: 80%" styleClass="centerBlock" width="456">
|
|
|
|
<webuijsf:tableColumn headerText="Fase" id="tableColumn9" sort="fase_nome">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink8" text="#{currentRow.value['fase_nome']}"/>
|
|
|
|
<webuijsf:form id="form5">
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<h:panelGrid binding="#{ListaPlanos.gridPanelFilterConc}" columns="4" id="gridPanelFilterConc" style="" styleClass="centerBlock">
|
|
|
|
<webuijsf:tableColumn headerText="Plano" id="tableColumn12">
|
|
|
|
<webuijsf:panelGroup binding="#{ListaPlanos.groupPanelFilterConc}" id="groupPanelFilterConc" style="">
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoFromConcluidos_action}" id="hyperlink9"
|
|
|
|
<webuijsf:staticText id="labelFilterNameConc" style="" text="Nome:" />
|
|
|
|
style="color: #008000;" text="imprimir"/>
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterNameConc}" id="textFilterNameConc" />
|
|
|
|
<webuijsf:staticText id="staticTextConcluidoSeparator" text=" | " />
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:staticText id="lnkPlanoImprimirConcluidoPatrimoniais" text="imprimir (Patrimoniais)" />
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:staticText id="labelFilterEstabelecimentoConc" style="" text="Estabelecimento:" />
|
|
|
|
<webuijsf:tableColumn headerText="Loja" id="tableColumn15" sort="nome_estabelecimento">
|
|
|
|
<webuijsf:textField binding="#{ListaPlanos.textFilterEstabelecimentoConc}" id="textFilterEstabelecimentoConc" />
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink10" text="#{currentRow.value['nome_estabelecimento']}"/>
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
<webuijsf:panelGroup>
|
|
|
|
</webuijsf:tableRowGroup>
|
|
|
|
<webuijsf:staticText id="labelFilterDateConc" text="Data da Visita:" />
|
|
|
|
</webuijsf:table>
|
|
|
|
|
|
|
|
</webuijsf:form>
|
|
|
|
<rich:calendar datePattern="yyyy/MM/dd" value="#{ListaPlanos.calFilterDateConcluidos}"></rich:calendar>
|
|
|
|
</h:panelGrid>
|
|
|
|
<!-- <webuijsf:calendar binding="#{ListaPlanos.calFilterDateConc}" dateFormatPattern="yyyy/MM/dd" id="calFilterDateConc" /> -->
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
<!-- eof grid concluidos -->
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
|
|
|
|
<webuijsf:button binding="#{ListaPlanos.buttonFilterConc}" id="buttonFilterConc" actionExpression="#{ListaPlanos.buttonFilterConc_action}" text="Pesquisar" />
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</webuijsf:form>
|
|
|
|
|
|
|
|
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel3" style="height: 24px; width: 50%" styleClass="centerBlock">
|
|
|
|
<webuijsf:form id="form6">
|
|
|
|
<webuijsf:panelGroup id="groupPanel1" style="border-bottom: solid white 2px; ">
|
|
|
|
<webuijsf:table augmentTitle="false" id="table3" style="width: 100%" styleClass="centerBlock" width="100%">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText5" text="Software desenvolvido por&nbsp;"/>
|
|
|
|
<webuijsf:tableRowGroup binding="#{ListaPlanos.tableRowGroup3}" id="tableRowGroup3" rows="10"
|
|
|
|
<webuijsf:image id="image1" url="/resources/images/logo_evolute_small.png"/>
|
|
|
|
sourceData="#{SessionBean1.planosConcluidosDataProvider}" sourceVar="currentRow">
|
|
|
|
<webuijsf:staticText escape="false" id="staticText6" text="&nbsp;&copy; 2008"/>
|
|
|
|
<webuijsf:tableColumn headerText="Data da visita" id="tableColumn7" sort="data_visita_str">
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink6" text="#{currentRow.value['data_visita_str']}"/>
|
|
|
|
</h:panelGrid>
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</h:panelGrid>
|
|
|
|
<webuijsf:tableColumn headerText="Técnico de HST" id="tableColumn8" sort="tecnicos_nomes">
|
|
|
|
</h:panelGrid>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink7" text="#{currentRow.value['tecnicos_nomes']}"/>
|
|
|
|
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
|
|
|
|
<webuijsf:tableColumn headerText="Fase" id="tableColumn9" sort="fase_nome">
|
|
|
|
<script type="text/javascript">
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink8" text="#{currentRow.value['fase_nome']}"/>
|
|
|
|
var gaJsHost = ( ( "https:" == document.location.protocol ) ? "https://ssl." : "http://www." );
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
document.write( unescape( "%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E" ) );
|
|
|
|
<webuijsf:tableColumn headerText="Plano" id="tableColumn12">
|
|
|
|
</script>
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoFromConcluidos_action}" id="hyperlink9"
|
|
|
|
<script type="text/javascript">
|
|
|
|
style="color: #008000;" text="imprimir"/>
|
|
|
|
try
|
|
|
|
<webuijsf:staticText id="staticTextConcluidoSeparator" text=" | " />
|
|
|
|
{
|
|
|
|
<webuijsf:staticText id="lnkPlanoImprimirConcluidoPatrimoniais" text="imprimir (Patrimoniais)" />
|
|
|
|
var pageTracker = _gat._getTracker( "UA-6942416-1" );
|
|
|
|
<!-- <webuijsf:hyperlink actionExpression="#{ListaPlanos.goImprimirPlanoConcluidoPatrimoniais_action}" id="lnkPlanoImprimirConcluidoPatrimoniais"
|
|
|
|
pageTracker._trackPageview();
|
|
|
|
style="color: #008000;" text="imprimir (Patrimoniais)"/>
|
|
|
|
}
|
|
|
|
-->
|
|
|
|
catch( err )
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
{
|
|
|
|
<webuijsf:tableColumn headerText="Loja" id="tableColumn15" sort="nome_estabelecimento">
|
|
|
|
|
|
|
|
<webuijsf:hyperlink actionExpression="#{ListaPlanos.goVerPlanoFromConcluidos_action}" id="hyperlink10" text="#{currentRow.value['nome_estabelecimento']}"/>
|
|
|
|
}
|
|
|
|
</webuijsf:tableColumn>
|
|
|
|
</script>
|
|
|
|
</webuijsf:tableRowGroup>
|
|
|
|
|
|
|
|
</webuijsf:table>
|
|
|
|
|
|
|
|
</webuijsf:form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
<h:panelGrid columnClasses="gridColCenter" columns="1" id="gridPanel3" style="height: 24px; width: 50%" styleClass="centerBlock">
|
|
|
|
|
|
|
|
<webuijsf:panelGroup id="groupPanel1" style="border-bottom: solid white 2px; ">
|
|
|
|
|
|
|
|
<webuijsf:staticText escape="false" id="staticText5" text="Software desenvolvido por&nbsp;"/>
|
|
|
|
|
|
|
|
<webuijsf:image id="image1" url="/resources/images/logo_evolute_small.png"/>
|
|
|
|
|
|
|
|
<webuijsf:staticText escape="false" id="staticText6" text="&nbsp;&copy; 2008"/>
|
|
|
|
|
|
|
|
</webuijsf:panelGroup>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
</h:panelGrid>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- EOF form1 -->
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
|
|
|
|
|
|
|
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
|
|
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
try {
|
|
|
|
|
|
|
|
var pageTracker = _gat._getTracker("UA-6942416-1");
|
|
|
|
|
|
|
|
pageTracker._trackPageview();
|
|
|
|
|
|
|
|
} catch(err) {}</script>
|
|
|
|
|
|
|
|
</webuijsf:body>
|
|
|
|
</webuijsf:body>
|
|
|
|
</webuijsf:html>
|
|
|
|
</webuijsf:html>
|
|
|
|
</webuijsf:page>
|
|
|
|
</webuijsf:page>
|
|
|
|
|