-- quitar idcta de empresas
This commit is contained in:
@@ -76,18 +76,17 @@ Partial Class Sistemas_RegistroEmpresa
|
||||
|
||||
Dim objEmpresa As New ClsSisEmpresas()
|
||||
Try
|
||||
If objEmpresa.AddEmpresa(-1, Nombre, "", "", "", "", "", "", RFC, 0, "", "", Email, "CFDi", "", "", "", "", "", "", "", 100, False, False, False, "", False, "", "", "", 0, False,
|
||||
False, False, False, False, False, False, False, False, False, "", "", "", "", "", "", 0, False, "", "", "", "", "", 0, False, "", "", "", 0, 0, 0, 0, 0, 0, 0, 0, "", "", 0, 0, "", "", -1,
|
||||
0.0D, "", 0, False, 0.0D, "", "", 0, False, 0, 0, False, 0, 0, False, 0, CveMetodoPago:=MetodoPago.ToEntero) Then
|
||||
Alert("Su solicitud ha sido procesada correctamente, en breve recibira un correo para completar el registro.", TipoMensaje.MsgInformacion)
|
||||
Liga = String.Format("sig.adsistemas.mx/Sistemas/WizardRegistro.aspx?P={0}", Encripta(String.Format("CveEmpresa={0}", objEmpresa.CveEmpresa)))
|
||||
EnviaCorreo()
|
||||
RegistraScript("$('#C_DivRegistro').css('display', 'none')")
|
||||
RegistraScript("$('#C_DvFinalizado').css('display', '')")
|
||||
UpRegistro.Update()
|
||||
Else
|
||||
Alert("OCurrió un error al guardar la empresa", TipoMensaje.MsgError)
|
||||
End If
|
||||
'If objEmpresa.AddEmpresa(-1, Nombre, "", "", "", "", "", "", RFC, 0, "", "", Email, "CFDi", "", "", "", "", "", "", "", 100, False, False, False, "", False, "", "", "", 0, False,
|
||||
' False, False, False, False, False, False, False, False, False, "", "", "", "", 0, False, "", 0, False, 0, CveMetodoPago:=MetodoPago.ToEntero) Then
|
||||
' Alert("Su solicitud ha sido procesada correctamente, en breve recibira un correo para completar el registro.", TipoMensaje.MsgInformacion)
|
||||
' Liga = String.Format("sig.adsistemas.mx/Sistemas/WizardRegistro.aspx?P={0}", Encripta(String.Format("CveEmpresa={0}", objEmpresa.CveEmpresa)))
|
||||
' EnviaCorreo()
|
||||
' RegistraScript("$('#C_DivRegistro').css('display', 'none')")
|
||||
' RegistraScript("$('#C_DvFinalizado').css('display', '')")
|
||||
' UpRegistro.Update()
|
||||
'Else
|
||||
' Alert("OCurrió un error al guardar la empresa", TipoMensaje.MsgError)
|
||||
'End If
|
||||
Catch ex As Exception
|
||||
OnError("Ocurrió un error al guardar la emrpresa desde registro basico.", ex)
|
||||
Finally
|
||||
|
||||
Reference in New Issue
Block a user