diff --git a/03 - Painéis/CADASTRO - Clientes.xml b/03 - Painéis/CADASTRO - Clientes.xml index be0a880..868ed31 100644 --- a/03 - Painéis/CADASTRO - Clientes.xml +++ b/03 - Painéis/CADASTRO - Clientes.xml @@ -1,845 +1,1030 @@ - - -
- Clientes - Cadastro de Clientes - - - - - -

  ' + titulo + '

'); - engine.getLabel('DescricaocadastroDentro').setValue('

  ' + titulo + '

'); - engine.setGlobalVariable('novoRegistro', novoRegistro); - engine.setGlobalVariable('carregarCampos', carregarCampos); - engine.setGlobalVariable('habilitaCampos', habilitaCampos); - engine.setGlobalVariable('fncLimpaCampos', fncLimpaCampos); - engine.setGlobalVariable('telaInicial', telaInicial); - engine.setGlobalVariable('deletarRegistro', deletarRegistro); - engine.setGlobalVariable('validarDuplicidade', validarDuplicidade); - engine.setGlobalVariable('painelLista',1); - engine.getField('socioPercentual').setEnabled(false); - - //fncLimpaCampos(); - habilitaCampos(false); - - engine.getWidgetController('btnSalvar').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.APLICAR)); - engine.getWidgetController('btnNovo').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.CRIAR)); - engine.getWidgetController('btnExcluir').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.REMOVER)); - engine.getWidgetController('btnVoltar').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.VOLTAR)); - engine.getWidgetController('btnPercentual').getButton().setIcon(FontAwesome.PLUS); - engine.getWidgetController('btnRemoverPercentual').getButton().setIcon(FontAwesome.MINUS); - engine.getWidgetController('btnPraca').getButton().setIcon(FontAwesome.PLUS); - engine.getWidgetController('btnRemoverPraca').getButton().setIcon(FontAwesome.MINUS); - //engine.getFieldLocked('idAjuda', false); // pode ser erro no componente, aberto caso Eduardo = 20108 - telaInicial(); - - } - ]]> -
- - - - - - - - - - - - - - - - - - - - CODIGO - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - CODIGO - NOME - - - - - - CODIGO - NOME - - - - - - - - - - - - - - - - - - - - 0 - ]]> - - - NOME - NOME - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - USUARIO_ID - NOME - - - - - - - - - - - - - NOME - NOME - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+ +
+ Clientes + Cadastro de Clientes + + + + + +

  ' + titulo + '

'); + engine.getLabel('DescricaocadastroDentro').setValue('

  ' + titulo + '

'); + engine.setGlobalVariable('novoRegistro', novoRegistro); + engine.setGlobalVariable('carregarCampos', carregarCampos); + engine.setGlobalVariable('habilitaCampos', habilitaCampos); + engine.setGlobalVariable('fncLimpaCampos', fncLimpaCampos); + engine.setGlobalVariable('telaInicial', telaInicial); + engine.setGlobalVariable('deletarRegistro', deletarRegistro); + engine.setGlobalVariable('validarDuplicidade', validarDuplicidade); + engine.setGlobalVariable('painelLista',1); + engine.getField('socioPercentual').setEnabled(false); + + //fncLimpaCampos(); + habilitaCampos(false); + + engine.getWidgetController('btnSalvar').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.APLICAR)); + engine.getWidgetController('btnNovo').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.CRIAR)); + engine.getWidgetController('btnExcluir').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.REMOVER)); + engine.getWidgetController('btnVoltar').getButton().setIcon(IconFactory.instance().getIconAsResource(IconLibraryAPISmall.VOLTAR)); + engine.getWidgetController('btnPercentual').getButton().setIcon(FontAwesome.PLUS); + engine.getWidgetController('btnRemoverPercentual').getButton().setIcon(FontAwesome.MINUS); + engine.getWidgetController('btnPraca').getButton().setIcon(FontAwesome.PLUS); + engine.getWidgetController('btnRemoverPraca').getButton().setIcon(FontAwesome.MINUS); + engine.getWidgetController('btnFrete').getButton().setIcon(FontAwesome.PLUS); + engine.getWidgetController('btnFreteRemover').getButton().setIcon(FontAwesome.MINUS); + + //engine.getFieldLocked('idAjuda', false); // pode ser erro no componente, aberto caso Eduardo = 20108 + + engine.getField('valorImpostos').setValue(0); + engine.getField('valorFrete').setValue(0); + + telaInicial(); + + } + ]]> +
+ + + + + + + + + + + + + + + + + + + + CODIGO + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CODIGO + NOME + + + + + + CODIGO + NOME + + + + + + + + + + + + + + + + + + + + + 0 + ]]> + + + NOME + NOME + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + NOME + NOME + + + + + + + + + NOME + NOME + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + USUARIO_ID + NOME + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
\ No newline at end of file