1643 - Criar indicadores mobile das despesas por período
This commit is contained in:
@@ -23,9 +23,17 @@
|
||||
c.set(Calendar.DAY_OF_MONTH, 1);
|
||||
var data = c.getTime();
|
||||
engine.setGlobalVariable('fncLimpaCampos', fncLimpaCampos);
|
||||
engine.getField('dataInicio').setValue(data);
|
||||
engine.getField('dataFinal').setValue(d);
|
||||
engine.getField('tbLancamentos').refresh();
|
||||
if (engine.getGlobalVariable('_mobileRender')) {
|
||||
if (!engine.getField('dataInicio').getValue()) {
|
||||
engine.getField('dataInicio').setValue(data);
|
||||
engine.getField('dataFinal').setValue(d);
|
||||
}
|
||||
engine.getField('tbLancamentos').refresh();
|
||||
} else {
|
||||
engine.getField('dataInicio').setValue(data);
|
||||
engine.getField('dataFinal').setValue(d);
|
||||
engine.getField('tbLancamentos').refresh();
|
||||
}
|
||||
|
||||
// Registrando icones
|
||||
engine.getWidgetController('btnFiltrar').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.FILTRAR));
|
||||
@@ -75,9 +83,9 @@
|
||||
</HorizontalLayout>
|
||||
</VerticalLayout>
|
||||
</Panel>
|
||||
<Panel width="100%" margin="true" >
|
||||
<Panel width="100%" margin="true" id="pnlGeral" >
|
||||
<VerticalLayout width="100%" spacing="true" align="TOP_LEFT" >
|
||||
<DBTable id="tbLancamentos" type="number" showRowCount="true" width="100%" rows="14" selectable="false" exportXLS="true" editable="false" >
|
||||
<DBTable id="tbLancamentos" type="number" showRowCount="true" width="100%" rows="14" selectable="false" exportXLS="false" editable="false" >
|
||||
<datasource>
|
||||
<sqlBuilderDataSource connection-key="vitruvio" language="JavaScript">
|
||||
<![CDATA[
|
||||
|
||||
Reference in New Issue
Block a user