--FIX Num telefono
This commit is contained in:
@@ -2150,13 +2150,16 @@ Partial Class Ventas_PVCobranza
|
||||
If EsProduccion Then
|
||||
NumeroTelefono = String.Format("52{0}", dr("Celular").ToString())
|
||||
End If
|
||||
|
||||
Dim Arr As New ArrayList
|
||||
Arr.Add(DdlSucursalCorte.SelectedItem.Text)
|
||||
Arr.Add(NombreCliente)
|
||||
Arr.Add(Folio)
|
||||
Arr.Add($"$ {Importe}")
|
||||
|
||||
EnvioMsg = EnviarNotificacionWhatsAppPlantilla(NumeroTelefono, "solicitud_autorizacion_anticipo", Arr, $"https://grupodiaz.adssistemas.mx.com/Clientes/Clientes.aspx?CveCliente={CveCliente}")
|
||||
If NumeroTelefono.Length = 12 Then
|
||||
EnvioMsg = EnviarNotificacionWhatsAppPlantilla(NumeroTelefono, "solicitud_autorizacion_anticipo", Arr, $"https://grupodiaz.adssistemas.mx.com/Clientes/Clientes.aspx?CveCliente={CveCliente}")
|
||||
End If
|
||||
|
||||
Next
|
||||
End If
|
||||
@@ -2170,12 +2173,11 @@ Partial Class Ventas_PVCobranza
|
||||
If EnvioMsg Then
|
||||
msgAlert = $"{msgAlert} Se envió una notificación de autorización a los usuarios"
|
||||
End If
|
||||
Alert(msgAlert, TipoMensaje.MsgInformacion)
|
||||
Alert(msgAlert, TipoMensaje.ToastInformacionB)
|
||||
End If
|
||||
ObjVta.Dispose()
|
||||
|
||||
|
||||
CargaAnticipos(CveVenta)
|
||||
UpAnticipos.Update()
|
||||
End Sub
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user