fecha null y motivo sin guardar en el boton de actulizar
This commit is contained in:
@@ -653,7 +653,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
||||
Double Comision = TxtComision.Text.ToDouble();
|
||||
|
||||
int Prioridad = DdlPrioridad.SelectedValue.ToEntero();
|
||||
|
||||
int CveRechazoMotivo = DdlRechazoMotivo.SelectedValue.ToEntero();
|
||||
int CveUsuarioIng = UsuarioActual.CveUsuario;
|
||||
|
||||
if (CveEncuestaProcesoCRM > 0)
|
||||
@@ -675,8 +675,10 @@ public partial class CRM_Acercamiento : ClsPaginas
|
||||
AcercaminetoModel.CveUsuarioIng = UsuarioActual.CveUsuario;
|
||||
AcercaminetoModel.CveEncuestaAplicadaProceso = CveEncuestaAplicadaProceso;
|
||||
AcercaminetoModel.FechaApertura = FechaApertura;
|
||||
AcercaminetoModel.FechaCierre = (DateTime)FechaCierre;
|
||||
AcercaminetoModel.FechaCierre = FechaCierre != null ? (DateTime)FechaCierre : ModExtensiones.MinFecha;
|
||||
AcercaminetoModel.CvePS = DdlPS.SelectedValue.ToEntero();
|
||||
AcercaminetoModel.CveRechazoMotivo = CveRechazoMotivo;
|
||||
|
||||
|
||||
if (cRMService.AcercamientoUpdate(AcercaminetoModel))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user