|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
<panel-form xmlns="http://www.davinti.com.br/vitruvio/form/mobile/panel"
|
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
|
xsi:schemaLocation="http://www.davinti.com.br/vitruvio/form/mobile/panel https://bitbucket.org/davinTI/vitruvio-xds/raw/master/vitruvio-mobile-panel-form.xsd">
|
|
|
<form formKey="mobile1">
|
|
|
<name>Form mobile</name>
|
|
|
|
|
|
<initScript language="JavaScript">
|
|
|
<![CDATA[
|
|
|
function run() {
|
|
|
engine.getDesktopPanel("faturamentoLoja").addFieldId("parTipo", 'Loja');
|
|
|
engine.getDesktopPanel("faturamentoCategoria").addFieldId("parTipo", 'Categoria');
|
|
|
engine.getDesktopPanel("faturamentoLoja").reload();
|
|
|
engine.getDesktopPanel("faturamentoCategoria").reload();
|
|
|
}
|
|
|
]]>
|
|
|
</initScript>
|
|
|
|
|
|
<components>
|
|
|
<VerticalLayout>
|
|
|
<TabLayout id="tabLayout">
|
|
|
<Tab caption="Faturamento por lojas">
|
|
|
<DesktopPanel id="faturamentoLoja" panelKey="indFaturamento" layoutId="mostrarLoja" forceFieldsRender="parTipo,filtroReferencia,dataRef,dataApurado,loja,modo,condicao,topdown,categoria" />
|
|
|
</Tab>
|
|
|
<Tab caption="Faturamento por categoria">
|
|
|
<DesktopPanel id="faturamentoCategoria" panelKey="indFaturamento" layoutId="mostrarCategoria" forceFieldsRender="parTipo,filtroReferencia,dataRef,dataApurado,categoria,loja,topdown,modo,condicao" />
|
|
|
</Tab>
|
|
|
</TabLayout>
|
|
|
</VerticalLayout>
|
|
|
</components>
|
|
|
</form>
|
|
|
|
|
|
</panel-form>
|