(window.webpackJsonp=window.webpackJsonp||[]).push([[1228],{2680:function(t,e,r){"use strict";r.r(e);var c={metaInfo:{title:"Status das Licenças"}},n=r(42),component=Object(n.a)(c,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"main-content"},[r("form",{attrs:{id:"statusForm"}},[r("div",{staticClass:"p-grid"},[r("div",{staticClass:"p-col-12"},[r("div",{staticClass:"card"},[r("h5",[t._v("Status das Licenças")]),t._v(" "),r("p:focus",{attrs:{for:"pesquisa"}}),t._v(" "),r("p:outputLabel",[t._v("Localizar:")]),t._v(" "),r("div",{staticClass:"p-field p-grid p-mt-2"},[r("div",{staticClass:"p-col-12 p-md-6 ui-fluid"},[r("b-form-input",{attrs:{id:"pesquisa",value:"#{statusLicencaMBean.desPesquisa}"}})],1),t._v(" "),r("b-btn",{attrs:{value:"Pesquisar",icon:"fas fa-search",id:"btnPesquisar",actionListener:"#{statusLicencaMBean.search}",update:":statusForm:pnlData"}})],1),t._v(" "),r("div",[r("b-btn",{attrs:{value:"Adicionar",icon:"pi pi-file",action:"statusLicencaEdit.xhtml?faces-redirect=true",process:"@this"}}),t._v(" "),r("b-btn",{attrs:{icon:"fas fa-print",onclick:"window.print();return false;",styleClass:"p-ml-2"}})],1)],1)])]),t._v(" "),r("div",{staticClass:"p-grid"},[r("div",{staticClass:"p-col-12"},[r("div",{staticClass:"card"},[r("p:outputPanel",{attrs:{id:"pnlData"}},[r("p:outputPanel",{attrs:{rendered:"#{statusLicencaMBean.statusLicencas == null}",styleClass:"ui-messages avisoResult"}},[r("div",{staticClass:"ui-messages-info ui-corner-all"},[r("span",{staticClass:"ui-messages-info-icon"}),t._v(" "),r("ul",[r("li",[r("span",{staticClass:"ui-messages-info-detail"},[t._v("Informe o critério de busca acima e selecione\n                      Pesquisar.")])])])])]),t._v(" "),r("b-table",{staticStyle:{width:"99%"},attrs:{id:"dataCar",var:"status",styleClass:"dataTable",value:"#{statusLicencaMBean.statusLicencas}",selectionMode:"single",rowKey:"#{status.id}",paginator:"#{statusLicencaMBean.statusLicencas.size() > 15}",rows:"15",rendered:"#{statusLicencaMBean.statusLicencas != null}",emptyMessage:"Nenhum status encontrado."}},[r("p:column",{attrs:{headerText:"Descrição",sortBy:"#{status.descricao}"}},[r("h:outputText",{attrs:{value:"#{status.descricao}"}})],1),t._v(" "),r("p:column",{staticStyle:{width:"125px"},attrs:{headerText:"Data cadastro",sortBy:"#{status.datHorCadastro}",styleClass:"hvMiddle"}},[r("h:outputText",{attrs:{value:"#{status.datHorCadastro}"}},[r("f:convertDateTime",{attrs:{pattern:"dd/MM/yy HH:mm"}})],1)],1),t._v(" "),r("p:column",{staticStyle:{width:"125px"},attrs:{headerText:"Data alteração",sortBy:"#{status.datHorAlteracao}",styleClass:"hvMiddle"}},[r("h:outputText",{attrs:{value:"#{status.datHorAlteracao}"}},[r("f:convertDateTime",{attrs:{pattern:"dd/MM/yy HH:mm"}})],1)],1),t._v(" "),r("p:column",{staticStyle:{width:"60px"},attrs:{headerText:"Ação",styleClass:"hvMiddle acoes"}},[r("h:link",{attrs:{outcome:"/pages/meioAmbiente/statusLicencaEdit.faces",styleClass:"icon"}},[r("f:param",{attrs:{name:"idStatus",value:"#{status.id}"}}),t._v(" "),r("h:graphicImage",{attrs:{library:"img",name:"icons/edit.png"}})],1),t._v(" "),r("p:commandLink",{attrs:{action:"#{statusLicencaMBean.delete}",update:":statusForm:pnlData :statusForm:growl",styleClass:"icon",ajax:"true"}},[r("f:param",{attrs:{name:"idStatus",value:"#{status.id}"}}),t._v(" "),r("h:graphicImage",{attrs:{library:"img",styleClass:"p-ml-2",name:"icons/delete.png"}})],1)],1)],1)],1)],1)])])])])}),[],!1,null,null,null);e.default=component.exports}}]);
//# sourceMappingURL=5cf2ca6-1.2.11.js.map