Ajustar parametrização Forma Pago ECF X Adm (issue 8854)

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@67930 d1611594-4594-4d17-8e1d-87c2c4800839
master
alberto 2017-04-10 18:37:51 +00:00
parent 69882f9246
commit 8b2a870e42
1 changed files with 4 additions and 0 deletions

View File

@ -89,6 +89,10 @@ public class EditarFormaPagoController extends MyGenericForwardComposer {
rd3.setChecked(true); rd3.setChecked(true);
} }
if (formaPago.getFormapagoId() == 1) {
cmbTipoFormapago.setDisabled(Boolean.TRUE);
}
if (formaPago.getFormapagoId() <= 11 || (formaPago.getFormapagoId() >= 92 && formaPago.getFormapagoId() <= 99) || formaPago.getFormapagoId() == 37) { if (formaPago.getFormapagoId() <= 11 || (formaPago.getFormapagoId() >= 92 && formaPago.getFormapagoId() <= 99) || formaPago.getFormapagoId() == 37) {
btnApagar.setVisible(Boolean.FALSE); btnApagar.setVisible(Boolean.FALSE);
txtNome.setDisabled(Boolean.TRUE); txtNome.setDisabled(Boolean.TRUE);