Ajustes envio email Izypay fixes bug#AL-4812
parent
de18d70261
commit
18c535186f
|
@ -1,7 +1,3 @@
|
|||
/*
|
||||
* To change this template, choose Tools | Templates
|
||||
* and open the template in the editor.
|
||||
*/
|
||||
package com.rjconsultores.ventaboletos.web.gui.controladores.catalogos;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
|
@ -303,7 +299,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
//IziPay
|
||||
private Textbox txtIziPayClientId;
|
||||
private Textbox txtIziPaySecret;
|
||||
private Textbox txtIziPayDiasCancela;
|
||||
private Textbox txtIziPayMinutosCancela;
|
||||
private Textbox txtIziPayUrl;
|
||||
|
||||
//Recarga Celular
|
||||
|
@ -762,7 +758,7 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
txtIziPayClientId.setText(empresaIziPayConfig.getClientId());
|
||||
txtIziPaySecret.setText(empresaIziPayConfig.getSecret());
|
||||
txtIziPayUrl.setText(empresaIziPayConfig.getUrl());
|
||||
txtIziPayDiasCancela.setText(empresaIziPayConfig.getDiasCancela().toString());
|
||||
txtIziPayMinutosCancela.setText(empresaIziPayConfig.getMinutosCancela().toString());
|
||||
}
|
||||
|
||||
if (empresaRecargaConfig != null) {
|
||||
|
@ -1763,10 +1759,10 @@ public class EditarEmpresaController extends MyGenericForwardComposer {
|
|||
empresaIziPayConfig.setSecret(txtIziPaySecret.getValue());
|
||||
empresaIziPayConfig.setUrl(txtIziPayUrl.getValue());
|
||||
|
||||
empresaIziPayConfig.setDiasCancela(
|
||||
StringUtils.isEmpty(txtIziPayDiasCancela.getValue())?
|
||||
empresaIziPayConfig.setMinutosCancela(
|
||||
StringUtils.isEmpty(txtIziPayMinutosCancela.getValue())?
|
||||
30:
|
||||
Integer.parseInt(txtIziPayDiasCancela.getValue())
|
||||
Integer.parseInt(txtIziPayMinutosCancela.getValue())
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
@ -2348,8 +2348,8 @@
|
|||
</row>
|
||||
<row>
|
||||
<label
|
||||
value="${c:l('editarEmpresaController.lblDiasCancela.value')}" />
|
||||
<textbox id="txtIziPayDiasCancela"
|
||||
value="${c:l('editarEmpresaController.lblMinutosCancela.value')}" />
|
||||
<textbox id="txtIziPayMinutosCancela"
|
||||
width="50%"
|
||||
maxlength="20"
|
||||
use="com.rjconsultores.ventaboletos.web.utilerias.MyTextboxCustom" />
|
||||
|
@ -3142,7 +3142,7 @@
|
|||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarEmpresaController.cmbConfigLayoutTiposVenda')}" sort="auto(tipoVenta.desctipoventa)" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarEmpresaController.cmbImpresionLayoutConfig')} sort="auto(impresionlayoutconfigId.descricao)" />
|
||||
label="${c:l('editarEmpresaController.cmbImpresionLayoutConfig')}" sort="auto(impresionlayoutconfigId.descricao)" />
|
||||
<listheader image="/gui/img/create_doc.gif"
|
||||
label="${c:l('editarEmpresaController.lblLayoutEmail')}" sort="auto(indEmail)" />
|
||||
</listhead>
|
||||
|
|
Loading…
Reference in New Issue