.
This commit is contained in:
@@ -51,7 +51,7 @@ Partial Class AIMMGM_Ventas
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
Gv.ExportToExcelx("ListadoVentas")
|
||||
Gv.ExportToExcelX("ListadoVentas")
|
||||
End Sub
|
||||
|
||||
Protected Sub DdlTipo_SelectedIndexChanged(sender As Object, e As EventArgs) Handles DdlTipo.SelectedIndexChanged
|
||||
|
||||
@@ -247,7 +247,7 @@ Partial Class Acumuladores_CatFoliosGarantia
|
||||
|
||||
Protected Sub BtnExportarExcel_Click(sender As Object, e As EventArgs)
|
||||
GvGarantiasDetalle.ExportToExcelG(LblFolio.Text, "Ajustes de Garantía", UsuarioActual)
|
||||
'GvGarantiasDetalle.ExportToExcelx(LblFolio.Text)
|
||||
'GvGarantiasDetalle.ExportToExcelX(LblFolio.Text)
|
||||
End Sub
|
||||
|
||||
Public Overrides Sub VerifyRenderingInServerForm(ByVal control As Control)
|
||||
|
||||
@@ -46,6 +46,7 @@ Public Class ClsPaginas
|
||||
End Property
|
||||
|
||||
#Region "Propiedades"
|
||||
Private Shared ReadOnly Property Rand As New Random()
|
||||
|
||||
Private Property SubReportData As Modelos.MSubReportData
|
||||
Get
|
||||
@@ -6100,23 +6101,26 @@ Public Class ClsPaginas
|
||||
End If
|
||||
|
||||
Return Retorno
|
||||
|
||||
End Function
|
||||
Public Sub CerrarSession()
|
||||
|
||||
Public Sub CerrarSession()
|
||||
Usuario.CerrarSession()
|
||||
End Sub
|
||||
Public Sub Alert(Mensaje As String, Optional pOpcion As TipoMensaje = TipoMensaje.MsgInformacion, Optional JSBtnAceptar As String = "", Optional timeout As Integer = 5, Optional ShowCloseButton As Boolean = True, Optional TextoConfirmacion As String = "", Optional TextoSegundoBoton As String = "", Optional JSBtn2 As String = "")
|
||||
|
||||
Private Shared Function GetCurrentPageViewState() As System.Web.UI.StateBag
|
||||
Dim page As Page = TryCast(HttpContext.Current.CurrentHandler, Page)
|
||||
Dim viewStateProp = page?.[GetType]().GetProperty("ViewState", Reflection.BindingFlags.FlattenHierarchy Or Reflection.BindingFlags.Instance Or Reflection.BindingFlags.NonPublic)
|
||||
Return CType(viewStateProp?.GetValue(page), System.Web.UI.StateBag)
|
||||
End Function
|
||||
Public Shared Sub Alert(Mensaje As String, Optional pOpcion As TipoMensaje = TipoMensaje.MsgInformacion, Optional JSBtnAceptar As String = "", Optional timeout As Integer = 5, Optional ShowCloseButton As Boolean = True, Optional TextoConfirmacion As String = "", Optional TextoSegundoBoton As String = "", Optional JSBtn2 As String = "")
|
||||
If DirectCast(pOpcion, Integer).Contiene(5, 7, 6, 8) Then
|
||||
Mensaje = Mensaje.Replace("'"c, "\'").Replace(vbCrLf, "").Replace("""", "\'").Replace(vbLf, " ")
|
||||
JSBtnAceptar = JSBtnAceptar.Replace("'"c, "\'")
|
||||
Dim toastscript As String = String.Format("alertatoast({3},'{0}',function(){{{1}}},{2});", Mensaje, JSBtnAceptar, timeout, DirectCast(pOpcion, Integer))
|
||||
ViewState("strToastMsglargonoreplace") = String.Format("{0}{1}", If(Not IsNothing(ViewState("strToastMsglargonoreplace")) AndAlso ViewState("strToastMsglargonoreplace").ToString().Length > 0, ViewState("strToastMsglargonoreplace").ToString(), ""), toastscript)
|
||||
GetCurrentPageViewState()("strToastMsglargonoreplace") = String.Format("{0}{1}", If(Not IsNothing(GetCurrentPageViewState()("strToastMsglargonoreplace")) AndAlso GetCurrentPageViewState()("strToastMsglargonoreplace").ToString().Length > 0, GetCurrentPageViewState()("strToastMsglargonoreplace").ToString(), ""), toastscript)
|
||||
Else
|
||||
Mensaje.Alert(Mensaje, pOpcion, JSBtnAceptar, TimeoutToast:=timeout, ShowCloseButton:=ShowCloseButton, TextoConfirmacion:=TextoConfirmacion, TextoSegundoBoton:=TextoSegundoBoton, JSBtn2:=JSBtn2)
|
||||
End If
|
||||
|
||||
End Sub
|
||||
Protected Overridable Sub Page_PreRender(sender As Object, e As EventArgs) Handles Me.PreRender
|
||||
If sw IsNot Nothing AndAlso Not (Not User.Identity.IsAuthenticated OrElse UsuarioActual Is Nothing) Then
|
||||
@@ -6133,7 +6137,6 @@ Public Class ClsPaginas
|
||||
RegistraScript(ViewState("strToastMsglargonoreplace").ToString(), "esteseraunticklargoparaquenosesobrescribaconotro")
|
||||
ViewState("strToastMsglargonoreplace") = Nothing
|
||||
End If
|
||||
|
||||
End Sub
|
||||
Protected Overrides Sub SavePageStateToPersistenceMedium(pviewState As Object)
|
||||
'If Request.Form("__VIEWSTATE_KEY") IsNot Nothing Then Cache.Remove(Request.Form("__VIEWSTATE_KEY")) 'elimino la cachado anteriormente
|
||||
@@ -6141,10 +6144,8 @@ Public Class ClsPaginas
|
||||
Cache.Add(VSKey, pviewState, Nothing, Date.Now.AddMinutes(40), Cache.NoSlidingExpiration, CacheItemPriority.Default, Nothing) 'Store the ViewState on Cache
|
||||
'Session.Add(VSKey, pviewState) 'Store the ViewState on Cache
|
||||
ClientScript.RegisterHiddenField("__VIEWSTATE_KEY", VSKey)
|
||||
|
||||
End Sub
|
||||
Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object
|
||||
|
||||
Dim VSKey As String = Request.Form("__VIEWSTATE_KEY")
|
||||
If Not VSKey.StartsWith("VIEWSTATE_") Then 'Request the Key from the page and validade it.
|
||||
Throw New Exception(String.Format("Invalid VIEWSTATE Key: {0}", VSKey))
|
||||
@@ -6155,7 +6156,6 @@ Public Class ClsPaginas
|
||||
Else
|
||||
Return Cache(VSKey)
|
||||
End If
|
||||
|
||||
End Function
|
||||
Public Shared Sub CargaParametros(Parametros As String)
|
||||
Dim P1() As String = Parametros.Split("&"c)
|
||||
@@ -6168,17 +6168,14 @@ Public Class ClsPaginas
|
||||
P2 = Tmp.Split("="c)
|
||||
UrlParametros.Add(P2(0).ToString.ToUpper(), P2(1))
|
||||
Next
|
||||
|
||||
End Sub
|
||||
Shared Sub RegeneraImagen(ByVal Ruta As String)
|
||||
|
||||
Dim BM As New Drawing.Bitmap(Ruta)
|
||||
Dim Width As Integer = BM.Width
|
||||
Dim Height As Integer = BM.Height
|
||||
Dim Thumb As New Drawing.Bitmap(Width, Height)
|
||||
Dim G As Drawing.Graphics = Drawing.Graphics.FromImage(Thumb)
|
||||
|
||||
|
||||
G.InterpolationMode = Drawing.Drawing2D.InterpolationMode.HighQualityBicubic
|
||||
G.DrawImage(BM, New Drawing.Rectangle(0, 0, Width, Height), New Drawing.Rectangle(0, 0, BM.Width, BM.Height), Drawing.GraphicsUnit.Pixel)
|
||||
|
||||
@@ -6189,9 +6186,10 @@ Public Class ClsPaginas
|
||||
Thumb.Save(Ruta, Drawing.Imaging.ImageFormat.Jpeg) 'can use any image format
|
||||
Thumb.Dispose()
|
||||
End Sub
|
||||
Public Sub RegistraScript(Script As String, Optional valuetick As String = "")
|
||||
Dim Rdm As Random = New Random()
|
||||
ScriptManager.RegisterStartupScript(Page, Me.GetType(), String.Format("{0}{1}{2}", (DateTime.Now.Ticks + 1), Rdm.Next(), valuetick), String.Format("<script type='text/javascript' language='javascript'>{0}</script>", Script), False)
|
||||
Public Shared Sub RegistraScript(Script As String, Optional valuetick As String = "")
|
||||
Dim page As Page = TryCast(HttpContext.Current.CurrentHandler, Page)
|
||||
Script = $"{Script.TrimEnd(";"c)};" 'sino trae ";" al final, se lo agregamos
|
||||
ScriptManager.RegisterStartupScript(page, page.GetType(), $"{DateTime.Now.Ticks + 1}{Rand.Next()}{valuetick}", Script, True)
|
||||
End Sub
|
||||
Public Sub TabEnabled(Tab As System.Web.UI.HtmlControls.HtmlAnchor, Valor As Boolean)
|
||||
If Valor Then
|
||||
@@ -6208,9 +6206,6 @@ Public Class ClsPaginas
|
||||
Public Sub TabActive(Tab As System.Web.UI.HtmlControls.HtmlAnchor)
|
||||
RegistraScript(String.Format("$( ""#{0}"" ).Click( );", Tab.ClientID))
|
||||
End Sub
|
||||
'''<summary>
|
||||
'''
|
||||
'''</summary>
|
||||
Public Sub Alerta(Mensaje As String, Tipo As String, Funcion As String)
|
||||
RegistraScript(String.Format("bootbox.alert('{0}', function() {{{2}}} );", Mensaje, Tipo, Funcion))
|
||||
End Sub
|
||||
@@ -10681,7 +10676,7 @@ Public Class ClsPaginas
|
||||
Dim ConceptoContable, IdCtaContable As Integer
|
||||
Dim TipoMovimiento As Boolean
|
||||
Dim Diferencia As Decimal = 0
|
||||
tImportePago +=Pago.ImporteFluctuacionAdicional 'para los casos de aplicación de
|
||||
tImportePago += Pago.ImporteFluctuacionAdicional 'para los casos de aplicación de
|
||||
|
||||
If tImporteVenta <> tImportePago Then
|
||||
If tImporteVenta < tImportePago Then
|
||||
|
||||
@@ -64,7 +64,6 @@ Namespace Extensiones
|
||||
Private Const SEncryptionKeyAES As String = "$Ap7+5&z$Ap7+5&z$Ap7+5&z$Ap7+5&z"
|
||||
#End Region
|
||||
|
||||
|
||||
Public Function ReadExcelFile(ByVal flatFilePath As String, ByVal firstRowHasHeaders As Boolean, Optional curRow As Integer = 0) As DataTable
|
||||
GemBox.Spreadsheet.SpreadsheetInfo.SetLicense(ModExtensiones.SerialGemBoxSpreadsheet)
|
||||
Dim excelFile As GemBox.Spreadsheet.ExcelFile = GemBox.Spreadsheet.ExcelFile.Load(flatFilePath)
|
||||
@@ -125,7 +124,6 @@ Namespace Extensiones
|
||||
|
||||
End Function
|
||||
|
||||
|
||||
Public Function IfNull(Valor As Object, Predeterminado As Object, Optional IfNotNull As Object = Nothing) As Object
|
||||
|
||||
If Valor Is Nothing OrElse IsDBNull(Valor) Then ' si es nulo, manda el valor predeterminado
|
||||
@@ -188,7 +186,6 @@ Namespace Extensiones
|
||||
End Try
|
||||
End Function
|
||||
|
||||
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
Public Sub GuardaLog(Str As String)
|
||||
Dim ArchivoW As StreamWriter
|
||||
@@ -337,8 +334,7 @@ Namespace Extensiones
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
#Region "Alertas y notificaciones"
|
||||
|
||||
#Region "Alertas y notificaciones"
|
||||
Public Enum TipoUpdate As Integer
|
||||
|
||||
NoGuardar = 0
|
||||
@@ -362,7 +358,7 @@ Namespace Extensiones
|
||||
End Enum
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
Public Sub Alert(Obj As Object, Mensaje As String, pOpcion As TipoMensaje, Optional JSBtnAceptar As String = "", Optional TextoConfirmacion As String = "Aceptar", Optional TextoCancelacion As String = "Cancelar", Optional TimeoutToast As Integer = 5, Optional ShowCloseButton As Boolean = True, Optional TextoSegundoBoton As String = "", Optional JSBtn2 As String = "")
|
||||
If System.Web.HttpContext.Current IsNot Nothing AndAlso System.Web.HttpContext.Current.Handler IsNot Nothing AndAlso System.Web.HttpContext.Current.Handler.GetType().IsSubclassOf(GetType(Page)) Then
|
||||
If System.Web.HttpContext.Current IsNot Nothing AndAlso System.Web.HttpContext.Current.CurrentHandler IsNot Nothing AndAlso System.Web.HttpContext.Current.CurrentHandler.GetType().IsSubclassOf(GetType(Page)) Then
|
||||
|
||||
Dim Titulo As String = ""
|
||||
Dim Plus As String = DateTime.Now.Ticks.ToString
|
||||
@@ -441,7 +437,7 @@ Namespace Extensiones
|
||||
closeButtonOption = "backdrop : ""static"", keyboard : false, closeButton: false,"
|
||||
End If
|
||||
|
||||
Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.Handler, Page)
|
||||
Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.CurrentHandler, Page)
|
||||
Dim script As String = ""
|
||||
If showalert Then
|
||||
script = String.Format("bootbox.dialog({{message: ""{0} "", className: ""{11}"", {13} onEscape: function() {{ {12} }},title: ""{1}"",buttons: {{ success: {{ label: ""{2}"", className: "" {3}""," &
|
||||
@@ -465,7 +461,7 @@ Namespace Extensiones
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
Public Sub Alert2(Obj As Object, Mensaje As String, pOpcion As TipoMensaje, Optional JSBtnAceptar As String = "")
|
||||
|
||||
If System.Web.HttpContext.Current IsNot Nothing AndAlso System.Web.HttpContext.Current.Handler IsNot Nothing Then
|
||||
If System.Web.HttpContext.Current IsNot Nothing AndAlso System.Web.HttpContext.Current.CurrentHandler IsNot Nothing Then
|
||||
Dim Img, Botones As String
|
||||
Dim Titulo As String
|
||||
Dim Plus As String = DateTime.Now.Ticks.ToString
|
||||
@@ -503,7 +499,7 @@ Namespace Extensiones
|
||||
Try
|
||||
|
||||
|
||||
Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.Handler, Page)
|
||||
Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.CurrentHandler, Page)
|
||||
'ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (DateTime.Now.Ticks + 1).ToString(), "MuestraAlert('" & Alerta.ToString() & "', '" & Plus & "');", True)
|
||||
ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (DateTime.Now.Ticks + 1).ToString(), String.Format("MuestraAlerta('{0}','{1}','{2}','{3}','{4}');", Titulo, Mensaje, Img, Botones, JSBtnAceptar), True)
|
||||
Pag = Nothing
|
||||
@@ -555,7 +551,7 @@ Namespace Extensiones
|
||||
|
||||
'<Runtime.CompilerServices.Extension()>
|
||||
'Public Sub updateindicador(Obj As Object, script As String)
|
||||
' Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.Handler, Page)
|
||||
' Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.CurrentHandler, Page)
|
||||
' ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (DateTime.Now.Ticks + 1).ToString(), script, True)
|
||||
' Pag = Nothing
|
||||
'End Sub
|
||||
@@ -3644,16 +3640,7 @@ Namespace Extensiones
|
||||
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
Public Sub RegistraScript(Obj As Object, Script As String)
|
||||
RegistraScript(Script)
|
||||
End Sub
|
||||
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
Public Sub RegistraScript(Script As String)
|
||||
Dim Pag As Page = DirectCast(System.Web.HttpContext.Current.Handler, Page)
|
||||
Script = String.Format("{0};", Script.TrimEnd(";"c)) ' sino trae ";" al final, se lo agregamos
|
||||
ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), Guid.NewGuid().ToString(), Script, True)
|
||||
Pag = Nothing
|
||||
|
||||
ClsPaginas.RegistraScript(Script)
|
||||
End Sub
|
||||
|
||||
<Runtime.CompilerServices.Extension()>
|
||||
@@ -3668,7 +3655,7 @@ Namespace Extensiones
|
||||
|
||||
Private ReadOnly Property ObjClsPaginas As ClsPaginas
|
||||
Get
|
||||
Return DirectCast(System.Web.HttpContext.Current.Handler, ClsPaginas)
|
||||
Return DirectCast(System.Web.HttpContext.Current.CurrentHandler, ClsPaginas)
|
||||
End Get
|
||||
End Property
|
||||
|
||||
|
||||
@@ -447,7 +447,7 @@ Partial Class Bancos_RepComplementoPago
|
||||
Protected Sub LnkExcel_Click(sender As Object, e As EventArgs)
|
||||
|
||||
' GvD.ExportToExcelG("ReporteComplementos", "Reporte Complementos", UsuarioActual)
|
||||
'GvD.ExportToExcelx("ReporteComplementos.xlsx")
|
||||
'GvD.ExportToExcelX("ReporteComplementos.xlsx")
|
||||
' GvD.ExportToExcel("ReporteComplementos.xlsx")
|
||||
|
||||
|
||||
|
||||
@@ -97,11 +97,11 @@ Partial Class Temporal_RepVotos
|
||||
End Sub
|
||||
|
||||
Private Sub ImgExcelHombres_Click(sender As Object, e As EventArgs) Handles ImgExcelHombres.Click
|
||||
GvMasculino.ExportToExcelx("Reporte de Hombres")
|
||||
GvMasculino.ExportToExcelX("Reporte de Hombres")
|
||||
End Sub
|
||||
|
||||
Private Sub ImgExcelMujeres_Click(sender As Object, e As EventArgs) Handles ImgExcelMujeres.Click
|
||||
GvFemenino.ExportToExcelx("Reporte de Mujeres")
|
||||
GvFemenino.ExportToExcelX("Reporte de Mujeres")
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
|
||||
@@ -54,7 +54,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
||||
|
||||
protected void LnkAgregarCargoFijo_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
||||
RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
||||
LimpiaModal();
|
||||
BtnAddCargoFijo.Text = "Agregar";
|
||||
Modalidad = "A";
|
||||
@@ -70,7 +70,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
||||
ClsCGame ObjCGame = new ClsCGame();
|
||||
if (ObjCGame.RemoveCargoFijo(CveCargoFijo))
|
||||
{
|
||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
||||
RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
||||
CargaCargosFijos();
|
||||
Alert("Eliminado Correctamente.");
|
||||
}
|
||||
@@ -90,7 +90,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
||||
DdlMoneda.SelectedValueExist(gvRow.DataKey("CveMoneda"));
|
||||
ChkEstatus.Checked = Convert.ToBoolean(gvRow.DataKey("Estatus"));
|
||||
CambioTipo();
|
||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
||||
RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
||||
DivEstatus.Visible = true;
|
||||
BtnAddCargoFijo.Text = "Actualizar";
|
||||
UpModalCargoFijo.Update();
|
||||
@@ -148,7 +148,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
||||
}
|
||||
if (!Error)
|
||||
{
|
||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
||||
RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
||||
CargaCargosFijos();
|
||||
if (Modalidad=="A") { Alert("Agregado Correctamente."); } else if (Modalidad == "U") { Alert("Actualizado Correctamente."); }
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ public partial class CGame_CatConceptoGastoCorte : ClsPaginas
|
||||
}
|
||||
}
|
||||
protected void CargaConcepto()
|
||||
{
|
||||
{
|
||||
ClsCGame ObjCGame = new ClsCGame();
|
||||
if (ObjCGame.GetConceptoGastoCorte(UsuarioActual.CveEmpresa))
|
||||
{
|
||||
@@ -58,16 +58,16 @@ public partial class CGame_CatConceptoGastoCorte : ClsPaginas
|
||||
protected void GvConcepto_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||
{
|
||||
if (e.Row.RowType == DataControlRowType.DataRow)
|
||||
{
|
||||
{
|
||||
|
||||
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
||||
{
|
||||
e.Row.FCLabel("lblestatus").Text = "Activo";
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Green;
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Green;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Row.FCLabel("lblestatus").Text = "Inactivo";
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Red;
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Red;
|
||||
}
|
||||
}
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
public partial class CATHuerta :ClsPaginas
|
||||
{
|
||||
|
||||
|
||||
#region Propiedades
|
||||
private int CveHuerta
|
||||
{
|
||||
get{return (ViewState["CveHuerta"] == null) ? 0 : Convert.ToInt32(ViewState["CveHuerta"]);}
|
||||
set{ViewState["CveHuerta"] =value;}
|
||||
}
|
||||
set{ViewState["CveHuerta"] =value;}
|
||||
}
|
||||
|
||||
#endregion
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI.WebControls;
|
||||
using Extensiones;
|
||||
|
||||
using Extensiones;
|
||||
|
||||
public partial class CATMotivosMerma :ClsPaginas
|
||||
{
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@ public partial class CATProductos : ClsPaginas
|
||||
CvePS = gvRow.DataKey("CvePS").ToEntero();
|
||||
TxtProdpS.Text = gvRow.DataKey("PS");
|
||||
ChkProdestatus.Checked = Convert.ToBoolean(gvRow.DataKey("Estatus"));
|
||||
this.RegistraScript("$('#DModalProductos').modal();");
|
||||
RegistraScript("$('#DModalProductos').modal();");
|
||||
BtnProdADD.Visible = false;
|
||||
BtnProdEdit.Visible = true;
|
||||
DivEstatus.Visible = true;
|
||||
@@ -56,7 +56,7 @@ public partial class CATProductos : ClsPaginas
|
||||
}
|
||||
protected void LnkAgregarProd_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#DModalProductos').modal();");
|
||||
RegistraScript("$('#DModalProductos').modal();");
|
||||
LimpiaProductos();
|
||||
BtnProdADD.Visible=true;
|
||||
BtnProdEdit.Visible=false;
|
||||
@@ -71,7 +71,7 @@ public partial class CATProductos : ClsPaginas
|
||||
ObjCGame.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalProductos').modal('hide');");
|
||||
RegistraScript("$('#DModalProductos').modal('hide');");
|
||||
LimpiaProductos();
|
||||
UPModalProd.Update();
|
||||
Alert("El Producto se ha agregado");
|
||||
@@ -86,7 +86,7 @@ public partial class CATProductos : ClsPaginas
|
||||
ObjCGame.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalProductos').modal('hide');");
|
||||
RegistraScript("$('#DModalProductos').modal('hide');");
|
||||
LimpiaProductos();
|
||||
UPModalProd.Update();
|
||||
Alert("El Producto se ha actualizado");
|
||||
|
||||
@@ -26,7 +26,7 @@ private int CveScat
|
||||
}
|
||||
}
|
||||
protected void CargaScat()
|
||||
{
|
||||
{
|
||||
ClsCGame ObjCGame = new ClsCGame();
|
||||
if (ObjCGame.GetScat(UsuarioActual.CveEmpresa))
|
||||
{
|
||||
@@ -51,7 +51,7 @@ private int CveScat
|
||||
BtnScatEdit.Visible = false;
|
||||
DivEstatus.Visible = false;
|
||||
UpModal.Update();
|
||||
}
|
||||
}
|
||||
|
||||
protected void GvScat_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||
{
|
||||
@@ -61,11 +61,11 @@ private int CveScat
|
||||
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
||||
{
|
||||
e.Row.FCLabel("lblestatus").Text = "Activo";
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Green;
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Green;
|
||||
}
|
||||
else
|
||||
{
|
||||
e.Row.FCLabel("lblestatus").Text = "Inactivo";
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Red;
|
||||
e.Row.FCLabel("lblestatus").ForeColor = System.Drawing.Color.Red;
|
||||
}
|
||||
}
|
||||
@@ -7,13 +7,13 @@
|
||||
|
||||
public partial class CATTipoProducto : ClsPaginas
|
||||
{
|
||||
|
||||
|
||||
#region Propiedades
|
||||
|
||||
private int CveTipoProducto
|
||||
{
|
||||
{
|
||||
get{return (ViewState["CveTipoProducto"] == null) ? 0 : Convert.ToInt32(ViewState["CveTipoProducto"]);}
|
||||
set{ViewState["CveTipoProducto"] =value;}
|
||||
set{ViewState["CveTipoProducto"] =value;}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -819,12 +819,12 @@ public partial class Empaque : ClsPaginas
|
||||
CargaGvResultado();
|
||||
UpModalAdd.Update();
|
||||
UpResultado.Update();
|
||||
this.RegistraScript("$('#DivResultado').modal();");
|
||||
RegistraScript("$('#DivResultado').modal();");
|
||||
}
|
||||
protected void LnkAgregarResultado_Click(object sender, EventArgs e)
|
||||
{
|
||||
Modalidad = "A";
|
||||
this.RegistraScript("$('#DivResultado').modal();");
|
||||
RegistraScript("$('#DivResultado').modal();");
|
||||
LimpiaModal();
|
||||
BtnOPADD.Text = "Agregar";
|
||||
CargaGvResultado();
|
||||
@@ -904,7 +904,7 @@ public partial class Empaque : ClsPaginas
|
||||
ChkTipoEtiqueta.Checked, DdlCalidad.SelectedValue.ToEntero(), DdlTipoCaja.SelectedValue.ToEntero(), TxtPeso.Text.ToDouble(),
|
||||
DdlPS.SelectedItem.Text, DdlTamaño.SelectedItem.Text, DdlCalidad.SelectedItem.Text, DdlTipoCaja.SelectedItem.Text, DdlTipoEmpaque.SelectedItem.Text, DdlTipoEmpaque.SelectedValue.ToEntero(), DdlTipoMaduracion.SelectedValue.ToEntero(), DdlTipoProducto.SelectedValue.ToEntero(), DdlTipoMaduracion.SelectedItem.Text, DdlTipoProducto.SelectedItem.Text);
|
||||
}
|
||||
this.RegistraScript("$('#DivResultado').modal('hide');");
|
||||
RegistraScript("$('#DivResultado').modal('hide');");
|
||||
GvResultado.DataSource = DtResultado;
|
||||
GvResultado.DataBind();
|
||||
UpResultado.Update();
|
||||
|
||||
@@ -156,11 +156,11 @@ public partial class CATCorte : ClsPaginas
{
|
||||
{
|
||||
ClsCGame ObjCGame = new ClsCGame();
|
||||
if (ObjCGame.GetFlete(UsuarioActual.CveEmpresa, CveOrdenCorte: DdlOrdenCorte.SelectedValue.ToEntero()))
|
||||
{
|
||||
{
|
||||
if (CveFlete < 1)
|
||||
{
|
||||
DdlFlete.DataSource = ObjCGame.DtResultados.FiltraParametros("Peso IS NULL");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
DdlFlete.DataSource = ObjCGame.DtResultados.FiltraParametros(String.Format("Peso IS NULL OR CveFlete = {0}", CveFlete));
|
||||
@@ -168,7 +168,7 @@ public partial class CATCorte : ClsPaginas
{
|
||||
}
|
||||
|
||||
ObjCGame.Dispose();
|
||||
}
|
||||
}
|
||||
DdlFlete.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||
DdlFlete.DataBind();
|
||||
}
|
||||
@@ -192,7 +192,7 @@ public partial class CATCorte : ClsPaginas
{
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#endregion
|
||||
@@ -228,7 +228,7 @@ public partial class CATCorte : ClsPaginas
{
|
||||
Agregar();
|
||||
}
|
||||
|
||||
protected void Agregar()
|
||||
protected void Agregar()
|
||||
{
|
||||
RegistraScript("$('#DModalCorte').modal();");
|
||||
LimpiaCorte();
|
||||
@@ -276,7 +276,7 @@ public partial class CATCorte : ClsPaginas
{
|
||||
CargaCorte();
|
||||
Alert("La entrada de materia prima se ha agregado correctamente");
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
ObjCort.RollBack();
|
||||
|
||||
@@ -393,7 +393,7 @@ public partial class CGame_Fletes : ClsPaginas
|
||||
if (gvRow.DataKey("Adjunto").ToString() != "-1") { LnkDescargar.Visible = true; }
|
||||
Modalidad = "U";
|
||||
BtnAddFlete.Text = "Actualizar";
|
||||
this.RegistraScript("$('#DModalFlete').modal();","asd");
|
||||
RegistraScript("$('#DModalFlete').modal();","asd");
|
||||
UpModalFleteAdd.Update();
|
||||
}
|
||||
|
||||
@@ -409,7 +409,7 @@ public partial class CGame_Fletes : ClsPaginas
|
||||
BtnAddFlete.Text = "Agregar";
|
||||
if (CveOrdenCorteOpcion > 0) { DdlOrdenCorte.SelectedValueExist(CveOrdenCorteOpcion); CargaFleteHuertaEmpaque(); DdlTipo.SelectedValue = "1"; }
|
||||
if (CveOrdenProduccionOpcion > 0) { DdlOrdenProduccion.SelectedValueExist(CveOrdenProduccionOpcion); DdlTipo.SelectedValue = "2"; }
|
||||
this.RegistraScript("$('#DModalFlete').modal();");
|
||||
RegistraScript("$('#DModalFlete').modal();");
|
||||
UpModalFleteAdd.Update();
|
||||
}
|
||||
protected void BtnAddFlete_Click(object sender, EventArgs e)
|
||||
@@ -465,7 +465,7 @@ public partial class CGame_Fletes : ClsPaginas
|
||||
{
|
||||
_CveFlete = ObjCGame.CveFlete;
|
||||
GuardarAdjunto();
|
||||
this.RegistraScript("$('#DModalFlete').modal('hide');");
|
||||
RegistraScript("$('#DModalFlete').modal('hide');");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -538,7 +538,7 @@ public partial class CGame_Fletes : ClsPaginas
|
||||
_CveFlete = CveFlete;
|
||||
Alert("El Flete fue actualizado correctamente");
|
||||
GuardarAdjunto();
|
||||
this.RegistraScript("$('#DModalFlete').modal('hide');");
|
||||
RegistraScript("$('#DModalFlete').modal('hide');");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -917,7 +917,7 @@ public partial class CGame_Fletes : ClsPaginas
|
||||
{
|
||||
try
|
||||
{
|
||||
//GvFlete.ExportToExcelx("Fletes");
|
||||
//GvFlete.ExportToExcelX("Fletes");
|
||||
ExportToExcelG(GvFlete,"Fletes", "Fletes", UsuarioActual);
|
||||
}
|
||||
catch (Exception ex)
|
||||
|
||||
@@ -137,8 +137,8 @@ public partial class CGame_GenerarOrdenCorte : ClsPaginas
|
||||
}
|
||||
if (SiSelecciono || RblTipoOC.SelectedValue.ToEntero()==2)
|
||||
{
|
||||
this.RegistraScript("recorreGrilla();", "recorre");
|
||||
this.RegistraScript("$('#DivModalOC').modal();");
|
||||
RegistraScript("recorreGrilla();", "recorre");
|
||||
RegistraScript("$('#DivModalOC').modal();");
|
||||
LimpiaModal();
|
||||
UpAccion.Update();
|
||||
}
|
||||
@@ -187,9 +187,9 @@ public partial class CGame_GenerarOrdenCorte : ClsPaginas
|
||||
ObjCGame.Commit();
|
||||
EnviarCorreo(CveOrdenCorte);
|
||||
Alert("Se genero la orden de corte correctamente con el folio <b>" + Folio + "</b>.", TipoMensaje.MsgInformacion);
|
||||
this.RegistraScript("$('#DivModalOC').modal('hide');");
|
||||
RegistraScript("$('#DivModalOC').modal('hide');");
|
||||
CargaOrdenProduccionDetalle();
|
||||
this.RegistraScript("recorreGrilla();", "recorre");
|
||||
RegistraScript("recorreGrilla();", "recorre");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -276,7 +276,7 @@ public partial class CGame_GenerarOrdenCorte : ClsPaginas
|
||||
GvRow.FCCheckBox("ChkOC").Checked = true;
|
||||
}
|
||||
}
|
||||
this.RegistraScript("recorreGrilla();");
|
||||
RegistraScript("recorreGrilla();");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1046,7 +1046,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
||||
BtnRegistrarCierreCancelacion.Text = "Actualizar";
|
||||
}
|
||||
|
||||
this.RegistraScript("$('#ModalCierreMotivoRechazo').modal();");
|
||||
RegistraScript("$('#ModalCierreMotivoRechazo').modal();");
|
||||
UpCierreMotivoRechazo.Update();
|
||||
}
|
||||
protected void EliminarFile(object sender, EventArgs e)
|
||||
@@ -1103,7 +1103,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
||||
CargaDatos();
|
||||
CargaEtapasBitacora();
|
||||
|
||||
this.RegistraScript("$('#ModalCierreMotivoRechazo').modal('hide');");
|
||||
RegistraScript("$('#ModalCierreMotivoRechazo').modal('hide');");
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -1726,7 +1726,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
||||
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||
string Lat = GvRow.DataKey("Lat");
|
||||
string Long = GvRow.DataKey("Long");
|
||||
this.RegistraScript(String.Format("initMap(); CreaMarcador({0}, {1}, '{2}', '{3}'); $('#ModalVerUbicacion').modal();", Lat, Long, "0", "Info"));
|
||||
RegistraScript(String.Format("initMap(); CreaMarcador({0}, {1}, '{2}', '{3}'); $('#ModalVerUbicacion').modal();", Lat, Long, "0", "Info"));
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -210,7 +210,7 @@ public partial class CRM_CatEtapasProceso : ClsPaginas
|
||||
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
@@ -244,7 +244,7 @@ public partial class CRM_CatEtapasProceso : ClsPaginas
|
||||
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
private void bloquearEtapasAnteriores(int CveTipoEtapa)
|
||||
@@ -323,7 +323,7 @@ public partial class CRM_CatEtapasProceso : ClsPaginas
|
||||
|
||||
ObjCRM.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
||||
RegistraScript("$('#DivModal').modal('hide');");
|
||||
CargaDatos(-1);
|
||||
DdlFiltroProceso.SelectedValueExist("-1");
|
||||
}
|
||||
|
||||
@@ -126,7 +126,7 @@ public partial class CRM_CatMediosCaptacion : ClsPaginas
|
||||
limpiarCamposModal();
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
protected void GVDatos_RowDeleting(object sender, GridViewDeleteEventArgs e)
|
||||
@@ -189,7 +189,7 @@ public partial class CRM_CatMediosCaptacion : ClsPaginas
|
||||
DdlTipoProceso.SelectedValue = GvRow.DataKey("CveTipoProceso").ToString();
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||
@@ -219,7 +219,7 @@ public partial class CRM_CatMediosCaptacion : ClsPaginas
|
||||
|
||||
ObjCRM.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
||||
RegistraScript("$('#DivModal').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -129,7 +129,7 @@ public partial class CRM_CatProbabilidadAcercamiento : ClsPaginas
|
||||
limpiarCamposModal();
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
@@ -146,7 +146,7 @@ public partial class CRM_CatProbabilidadAcercamiento : ClsPaginas
|
||||
DdlTipoProceso.SelectedValue = GvRow.DataKey("CveTipoProceso").ToString();
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||
@@ -176,7 +176,7 @@ public partial class CRM_CatProbabilidadAcercamiento : ClsPaginas
|
||||
|
||||
ObjCRM.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
||||
RegistraScript("$('#DivModal').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ public partial class CRM_CatRechazoMotivo : ClsPaginas
|
||||
limpiarCamposModal();
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -145,7 +145,7 @@ public partial class CRM_CatRechazoMotivo : ClsPaginas
|
||||
|
||||
UPModal.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModal').modal();");
|
||||
RegistraScript("$('#DivModal').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||
@@ -176,7 +176,7 @@ public partial class CRM_CatRechazoMotivo : ClsPaginas
|
||||
|
||||
ObjCRM.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
||||
RegistraScript("$('#DivModal').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
|
||||
@@ -206,7 +206,7 @@ public partial class CRM_CatTipoProceso : ClsPaginas
|
||||
limpiarCamposModal();
|
||||
UPModalTipoProceso.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModalTipoProceso').modal();");
|
||||
RegistraScript("$('#DivModalTipoProceso').modal();");
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
@@ -228,7 +228,7 @@ public partial class CRM_CatTipoProceso : ClsPaginas
|
||||
|
||||
UPModalTipoProceso.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModalTipoProceso').modal();");
|
||||
RegistraScript("$('#DivModalTipoProceso').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||
@@ -260,7 +260,7 @@ public partial class CRM_CatTipoProceso : ClsPaginas
|
||||
|
||||
ObjCRM.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DivModalTipoProceso').modal('hide');");
|
||||
RegistraScript("$('#DivModalTipoProceso').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
|
||||
@@ -1082,7 +1082,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
CargaGridTipoContacto();
|
||||
CargaContactoSuperior(-1);
|
||||
|
||||
this.RegistraScript("$('#DivModalContacto').modal();");
|
||||
RegistraScript("$('#DivModalContacto').modal();");
|
||||
}
|
||||
|
||||
protected void LnkEditarContacto_Click(object sender, EventArgs e)
|
||||
@@ -1111,7 +1111,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
UPModalContacto.Update();
|
||||
|
||||
|
||||
this.RegistraScript("$('#DivModalContacto').modal();");
|
||||
RegistraScript("$('#DivModalContacto').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardarContacto_Click(object sender, EventArgs e)
|
||||
@@ -1235,7 +1235,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
}
|
||||
|
||||
limpiarCamposModalContato();
|
||||
this.RegistraScript("$('#DivModalContacto').modal('hide');");
|
||||
RegistraScript("$('#DivModalContacto').modal('hide');");
|
||||
UpContactos.Update();
|
||||
}
|
||||
|
||||
@@ -1465,7 +1465,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
|
||||
//protected void LnkAgregarEvento_Click(object sender, EventArgs e)
|
||||
//{
|
||||
// this.RegistraScript(String.Format("AbrirVentana('/OI/PopUpAgenda.aspx?CveTipoEvento=2&CveEmpresaCRM={0}&TB_iframe=true&height=370&width=600');", CveEmpresaCRM));
|
||||
// RegistraScript(String.Format("AbrirVentana('/OI/PopUpAgenda.aspx?CveTipoEvento=2&CveEmpresaCRM={0}&TB_iframe=true&height=370&width=600');", CveEmpresaCRM));
|
||||
//}
|
||||
#endregion
|
||||
|
||||
@@ -1740,7 +1740,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
CargaMetodosCaptacion();
|
||||
InicializaAcercamientos();
|
||||
limpiarCamposModalAcercamiento();
|
||||
this.RegistraScript("$('#DivModalAltaAcercamiento').modal();");
|
||||
RegistraScript("$('#DivModalAltaAcercamiento').modal();");
|
||||
UpAltaAcercamiento.Update();
|
||||
//Confirmacion("Se le redireccionara para realizar el Registro del Acercamiento, ¿Desea continuar?", "", "document.location.href=\"/CRM/Acercamiento.aspx\"", "");
|
||||
}
|
||||
@@ -1844,7 +1844,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
||||
ObjCRM.Dispose();
|
||||
ObjBitacora.Dispose();
|
||||
|
||||
this.RegistraScript("$('#DivModalAltaAcercamiento').modal('hide');");
|
||||
RegistraScript("$('#DivModalAltaAcercamiento').modal('hide');");
|
||||
|
||||
UPAcercamientos.Update();
|
||||
|
||||
|
||||
@@ -2777,6 +2777,11 @@ Partial Class Compras_Compras
|
||||
LBContabilizarAC.Visible = True
|
||||
End If
|
||||
End If
|
||||
|
||||
If UsuarioActual.Empresa.TipoContabilidad = 1 Then
|
||||
trContabilizada.Visible = False
|
||||
End If
|
||||
|
||||
UPPDescontablizar.Update()
|
||||
|
||||
TxtFechaPago.Text = dr("FechaVencimiento").ToString.ToDate.ToShortDateString
|
||||
@@ -6645,7 +6650,16 @@ Partial Class Compras_Compras
|
||||
Else
|
||||
|
||||
If Not CveCompraRefacturacion > 0 Then
|
||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, importeMN, Referencia, ConceptoContabilizacion, Concepto, FechaMovimiento, IdCtaContable, -1, CveCompra:=CveCompra, CveProveedor:=CveProveedorConcepto, ImporteMX:=importeMN, ImporteME:=If(tipoCambioActual = 1, 0, importeMovimiento), TipoCambio:=tipoCambioActual, Contabilizable:=SeContabiliza) Then
|
||||
|
||||
Dim CveSubProyecto240 As Integer = TmpDT.MAX("CveSubProyecto").ToEntero
|
||||
|
||||
If CveSubProyecto240 <= 0 Then
|
||||
Alert("Debe de asignar un sub proyecto o centro de costos", TipoMensaje.MsgAdvertencia)
|
||||
ErrorPrepoliza = True
|
||||
Exit For
|
||||
End If
|
||||
|
||||
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, TipoMovimiento, importeMN, Referencia, ConceptoContabilizacion, Concepto, FechaMovimiento, IdCtaContable, -1, CveCompra:=CveCompra, CveProveedor:=CveProveedorConcepto, ImporteMX:=importeMN, ImporteME:=If(tipoCambioActual = 1, 0, importeMovimiento), TipoCambio:=tipoCambioActual, Contabilizable:=SeContabiliza, CveSubProyecto:=CveSubProyecto240) Then
|
||||
ErrorPrepoliza = True
|
||||
End If
|
||||
End If
|
||||
|
||||
@@ -2394,7 +2394,7 @@ Partial Class Compras_Proveedores
|
||||
End If
|
||||
|
||||
UPPSucursales.Update()
|
||||
Me.RegistraScript("$('#divAgregarSucursal').modal('hide');")
|
||||
RegistraScript("$('#divAgregarSucursal').modal('hide');")
|
||||
LimpiaModalAgregarSucursal()
|
||||
End Sub
|
||||
Private Sub OcultaDiv()
|
||||
@@ -2528,7 +2528,7 @@ Partial Class Compras_Proveedores
|
||||
DivPContactosSucursal.Visible = True
|
||||
UpAgregarSucursal.Update()
|
||||
|
||||
Me.RegistraScript("$('#divAgregarSucursal').modal('show');")
|
||||
RegistraScript("$('#divAgregarSucursal').modal('show');")
|
||||
End Sub
|
||||
|
||||
Protected Sub LnkAgregarSucursal_Click(sender As Object, e As EventArgs)
|
||||
@@ -2540,7 +2540,7 @@ Partial Class Compras_Proveedores
|
||||
End If
|
||||
DivPContactosSucursal.Visible = False
|
||||
LimpiaModalAgregarSucursal()
|
||||
Me.RegistraScript("$('#divAgregarSucursal').modal('show');")
|
||||
RegistraScript("$('#divAgregarSucursal').modal('show');")
|
||||
End Sub
|
||||
|
||||
Protected Sub LimpiaModalAgregarSucursal()
|
||||
@@ -3876,7 +3876,7 @@ Partial Class Compras_Proveedores
|
||||
lista.Add(New CrystalParametro("SaldoDisponible", (TxtLimiteCredito.Text.ToDouble - dr("Saldo").ToString.ToDouble).ToString.FormatoNumero))
|
||||
lista.Add(New CrystalParametro("UsuarioImprimio", UsuarioActual.Nombre))
|
||||
lista.Add(New CrystalParametro("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", "")))
|
||||
|
||||
|
||||
'Dim params As New List(Of ReportParameter)
|
||||
Dim dtnc As New DataTable
|
||||
Dim ObjCompra As New ClsCompras()
|
||||
@@ -4908,7 +4908,7 @@ Partial Class Compras_Proveedores
|
||||
EsEditar = 0
|
||||
|
||||
limpiarCamposModalAgregarContacto()
|
||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal();")
|
||||
RegistraScript("$('#DivAgregarContactoProveedor').modal();")
|
||||
End Sub
|
||||
|
||||
Protected Sub imgEditarContactoProv_Click(sender As Object, e As EventArgs)
|
||||
@@ -4931,7 +4931,7 @@ Partial Class Compras_Proveedores
|
||||
|
||||
UpAgregarContatoProveedor.Update()
|
||||
|
||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||
RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -4977,7 +4977,7 @@ Partial Class Compras_Proveedores
|
||||
EsContactoSucursal = 1
|
||||
EsEditar = 0
|
||||
limpiarCamposModalAgregarContacto()
|
||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||
RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||
End Sub
|
||||
|
||||
Protected Sub imgEditarContactoProvSuc_Click(sender As Object, e As EventArgs)
|
||||
@@ -5001,7 +5001,7 @@ Partial Class Compras_Proveedores
|
||||
|
||||
UpAgregarContatoProveedor.Update()
|
||||
|
||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||
RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||
End Sub
|
||||
|
||||
Protected Sub GVContactosProveedorSucursal_RowDeleting(sender As Object, e As GridViewDeleteEventArgs)
|
||||
@@ -5130,7 +5130,7 @@ Partial Class Compras_Proveedores
|
||||
|
||||
End If
|
||||
|
||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('hide');")
|
||||
RegistraScript("$('#DivAgregarContactoProveedor').modal('hide');")
|
||||
limpiarCamposModalAgregarContacto()
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -145,7 +145,7 @@ public partial class Compras_RepGastosFijos : ClsPaginas
|
||||
RecurrenciaTipo: RecurrenciaTipo, Frecuencia: Frecuencia, Mes: Mes, RecurrenciaFin: RecurrenciaFin.ToString(), CveTipoEvento: CveTipoEvento, Importe: Importe))
|
||||
{
|
||||
LimpiaModal();
|
||||
this.RegistraScript("$('#DvModalGasto').modal('hide');");
|
||||
RegistraScript("$('#DvModalGasto').modal('hide');");
|
||||
Alert("El Evento Gasto Mensual se guardó correctamente", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
}
|
||||
@@ -155,7 +155,7 @@ public partial class Compras_RepGastosFijos : ClsPaginas
|
||||
RecurrenciaTipo: RecurrenciaTipo, Frecuencia: Frecuencia, Mes: Mes, RecurrenciaFin: RecurrenciaFin.ToString(), Importe: Importe))
|
||||
{
|
||||
LimpiaModal();
|
||||
this.RegistraScript("$('#DvModalGasto').modal('hide');");
|
||||
RegistraScript("$('#DvModalGasto').modal('hide');");
|
||||
Alert("El Evento Gasto Mensual se ha Actualizado correctamente", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
}
|
||||
@@ -179,7 +179,7 @@ public partial class Compras_RepGastosFijos : ClsPaginas
|
||||
{
|
||||
LimpiaModal();
|
||||
UPModalGasto.Update();
|
||||
this.RegistraScript("$('#DvModalGasto').modal();");
|
||||
RegistraScript("$('#DvModalGasto').modal();");
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
@@ -201,7 +201,7 @@ public partial class Compras_RepGastosFijos : ClsPaginas
|
||||
|
||||
UPModalGasto.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalGasto').modal();");
|
||||
RegistraScript("$('#DvModalGasto').modal();");
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -2528,7 +2528,7 @@ Partial Class Compras_eFacturas
|
||||
|
||||
TabPanel.ActiveTabIndex = 0
|
||||
cargasolicitudes()
|
||||
Me.RegistraScript("$('#ModalViewSolicitudes').modal();")
|
||||
RegistraScript("$('#ModalViewSolicitudes').modal();")
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -2553,9 +2553,9 @@ Partial Class Compras_eFacturas
|
||||
' 'If Continuar Then
|
||||
' ' txtFechaIAdd.Text = ""
|
||||
' ' txtFechaFAdd.Text = ""
|
||||
' ' Me.RegistraScript("$('#DModalSolicitudesNominas').modal('hide');")
|
||||
' ' RegistraScript("$('#DModalSolicitudesNominas').modal('hide');")
|
||||
' ' cargasolicitudes()
|
||||
' ' Me.Alert("se a envia la solicitud al sat, le enviaremos un correo en cuanto tengamos una respuesta", ModExtensiones.TipoMensaje.ToastInformacion)
|
||||
' ' Alert("se a envia la solicitud al sat, le enviaremos un correo en cuanto tengamos una respuesta", ModExtensiones.TipoMensaje.ToastInformacion)
|
||||
' 'End If
|
||||
|
||||
' Dim idSolicitudCFDI As Integer = 0
|
||||
@@ -2640,7 +2640,7 @@ Partial Class Compras_eFacturas
|
||||
' If Continuar Then
|
||||
' txtFechaIAdd.Text = ""
|
||||
' txtFechaFAdd.Text = ""
|
||||
' Me.RegistraScript("$('#ModalViewSolicitudes').modal('hide');")
|
||||
' RegistraScript("$('#ModalViewSolicitudes').modal('hide');")
|
||||
' cargasolicitudes()
|
||||
' End If
|
||||
|
||||
@@ -2705,7 +2705,7 @@ Partial Class Compras_eFacturas
|
||||
txtFechaIAdd.Text = ""
|
||||
txtFechaFAdd.Text = ""
|
||||
ChkMetaDatos.Checked = False
|
||||
Me.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');")
|
||||
RegistraScript("$('#ModalAgregarSolicitud').modal('hide');")
|
||||
cargasolicitudes()
|
||||
End If
|
||||
End Sub
|
||||
@@ -2869,7 +2869,7 @@ Partial Class Compras_eFacturas
|
||||
txtFechaFAdd.Text = ""
|
||||
ChkMetaDatos.Checked = False
|
||||
UPModalViewSolicitudesAgregar.Update()
|
||||
Me.RegistraScript("$('#ModalAgregarSolicitud').modal('show');")
|
||||
RegistraScript("$('#ModalAgregarSolicitud').modal('show');")
|
||||
End Sub
|
||||
|
||||
Protected Sub GVSolicitudesNominas_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
|
||||
|
||||
@@ -339,7 +339,7 @@ Partial Class AC_RepAnexoCatalogoSegmento
|
||||
|
||||
Protected Sub LnkExcel_Click(sender As Object, e As EventArgs) Handles LnkExcel.Click
|
||||
'GvDatos.ExportToExcelG("RepAnexoCatalogoSegmento", "RepAnexoCatalogoSegmento", UsuarioActual)
|
||||
GvDatos.ExportToExcelx("RepAnexoCatalogoSegmento")
|
||||
GvDatos.ExportToExcelX("RepAnexoCatalogoSegmento")
|
||||
End Sub
|
||||
'Private Sub ImprimirReporte(Optional Formato As String = "PDF")
|
||||
' Dim Imagen As New System.IO.FileInfo($"{UsuarioActual.Empresa.Ruta}/Logo.png")
|
||||
|
||||
@@ -321,7 +321,7 @@ public partial class Contratos_CatRefrendos : ClsPaginas
|
||||
|
||||
UPModalRefrendo.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalRefrendo').modal();");
|
||||
RegistraScript("$('#DvModalRefrendo').modal();");
|
||||
}
|
||||
|
||||
protected void imgE_Click(object sender, EventArgs e)
|
||||
@@ -382,7 +382,7 @@ public partial class Contratos_CatRefrendos : ClsPaginas
|
||||
|
||||
UPModalRefrendo.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalRefrendo').modal();");
|
||||
RegistraScript("$('#DvModalRefrendo').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardarRefrendo_Click(object sender, EventArgs e)
|
||||
@@ -445,7 +445,7 @@ public partial class Contratos_CatRefrendos : ClsPaginas
|
||||
|
||||
ObjContrato.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DvModalRefrendo').modal('hide');");
|
||||
RegistraScript("$('#DvModalRefrendo').modal('hide');");
|
||||
CargaDatos();
|
||||
|
||||
}
|
||||
|
||||
@@ -4212,7 +4212,7 @@ Partial Class Contratos_Default
|
||||
LnkDescargar.Visible = False
|
||||
BtnGuardarFianza.Text = "Guardar"
|
||||
UPModalFianza.Update()
|
||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
||||
RegistraScript("$('#DvModalFianza').modal();")
|
||||
GvFianzas.DataSource = DtTmpFianzas
|
||||
GvFianzas.DataBind()
|
||||
UpGvFianzas.Update()
|
||||
@@ -4259,7 +4259,7 @@ Partial Class Contratos_Default
|
||||
UpGvFianzas.Update()
|
||||
|
||||
LimpiarCamposModalFianzas()
|
||||
Me.RegistraScript("$('#DvModalFianza').modal('hide');")
|
||||
RegistraScript("$('#DvModalFianza').modal('hide');")
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -4335,7 +4335,7 @@ Partial Class Contratos_Default
|
||||
txth4Fianza.InnerText = "Editar Fianza"
|
||||
BtnGuardarFianza.Text = "Actualizar"
|
||||
UPModalFianza.Update()
|
||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
||||
RegistraScript("$('#DvModalFianza').modal();")
|
||||
GvFianzas.DataSource = DtTmpFianzas
|
||||
GvFianzas.DataBind()
|
||||
UpGvFianzas.Update()
|
||||
|
||||
@@ -3945,7 +3945,7 @@ Partial Class Contratos_ContratoObra
|
||||
LnkDescargar.Visible = False
|
||||
'BtnGuardarFianza.Text = "Guardar"
|
||||
UPModalFianza.Update()
|
||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
||||
RegistraScript("$('#DvModalFianza').modal();")
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -3995,7 +3995,7 @@ Partial Class Contratos_ContratoObra
|
||||
txth4Fianza.InnerText = "Editar Fianza"
|
||||
|
||||
UPModalFianza.Update()
|
||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
||||
RegistraScript("$('#DvModalFianza').modal();")
|
||||
|
||||
End Sub
|
||||
Protected Sub CreaDtTmpFianzas()
|
||||
|
||||
3463
Empresas/13/Formatos/Cotizacion.rdlc
Normal file
3463
Empresas/13/Formatos/Cotizacion.rdlc
Normal file
File diff suppressed because it is too large
Load Diff
@@ -208,19 +208,22 @@
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>1.50708cm</Width>
|
||||
<Width>1.19026cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.63629cm</Width>
|
||||
<Width>1.4759cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.29788cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.66402cm</Width>
|
||||
<Width>1.48643cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>8.32569cm</Width>
|
||||
<Width>7.60751cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.37298cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.42482cm</Width>
|
||||
@@ -464,6 +467,52 @@
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox7">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Obj. Imp.</Value>
|
||||
<Style>
|
||||
<FontFamily>calibri</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>SteelBlue</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox7</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>White</Color>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<TopBorder>
|
||||
<Color>Black</Color>
|
||||
<Style>Solid</Style>
|
||||
</TopBorder>
|
||||
<BottomBorder>
|
||||
<Color>Black</Color>
|
||||
<Style>Solid</Style>
|
||||
</BottomBorder>
|
||||
<BackgroundColor>White</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox84">
|
||||
@@ -806,6 +855,41 @@
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="CodigoObjetoImpuesto">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!CodigoObjetoImpuesto.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>CodigoObjetoImpuesto</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<RightBorder>
|
||||
<Color>#4f81bd</Color>
|
||||
</RightBorder>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="PU1">
|
||||
@@ -932,6 +1016,7 @@
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
@@ -2692,7 +2777,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Top>0.14926cm</Top>
|
||||
<Top>0.02226cm</Top>
|
||||
<Left>1.30058cm</Left>
|
||||
<Height>0.46066cm</Height>
|
||||
<Width>18.98926cm</Width>
|
||||
@@ -2728,7 +2813,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Top>0.735cm</Top>
|
||||
<Top>0.57625cm</Top>
|
||||
<Left>5.06432cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>5.31841cm</Width>
|
||||
@@ -2761,7 +2846,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Top>0.735cm</Top>
|
||||
<Top>0.57625cm</Top>
|
||||
<Left>10.38273cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>7.14985cm</Width>
|
||||
@@ -3106,7 +3191,7 @@
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DataSet4</DataSetName>
|
||||
<Top>1.39643cm</Top>
|
||||
<Top>1.07893cm</Top>
|
||||
<Left>3.56258cm</Left>
|
||||
<Height>0.85604cm</Height>
|
||||
<Width>15.30142cm</Width>
|
||||
@@ -3120,7 +3205,7 @@
|
||||
</ReportItems>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Top>12.06599cm</Top>
|
||||
<Height>2.28935cm</Height>
|
||||
<Height>1.93497cm</Height>
|
||||
<Width>20.28984cm</Width>
|
||||
<ZIndex>46</ZIndex>
|
||||
<Visibility>
|
||||
@@ -3298,7 +3383,7 @@
|
||||
<Width>20.2229cm</Width>
|
||||
<ZIndex>47</ZIndex>
|
||||
<Visibility>
|
||||
<Hidden>=Not Parameters!TieneCartaPorte.Value</Hidden>
|
||||
<Hidden>= iif(IsNothing(Parameters!TieneCartaPorte), True, iif(Parameters!TieneCartaPorte.Value , True, False))</Hidden>
|
||||
</Visibility>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -3394,8 +3479,50 @@
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox6">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>VERSION </Value>
|
||||
<Style>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>=Parameters!CFDIVersion.Value</Value>
|
||||
<Style>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Top>14.03578cm</Top>
|
||||
<Left>16.60468cm</Left>
|
||||
<Height>0.65292cm</Height>
|
||||
<Width>3.68516cm</Width>
|
||||
<ZIndex>50</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>14.35534cm</Height>
|
||||
<Height>14.6887cm</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>20.42213cm</Width>
|
||||
@@ -3656,6 +3783,10 @@
|
||||
<DataField>SATClaveUM</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="CodigoObjetoImpuesto">
|
||||
<DataField>CodigoObjetoImpuesto</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
<rd:DataSetInfo>
|
||||
<rd:DataSetName>DsOC</rd:DataSetName>
|
||||
|
||||
@@ -4534,7 +4534,7 @@
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>"Este documento es una representación impresa de un CFDI"</Value>
|
||||
<Value> "Este documento es una representación impresa de un CFDI"</Value>
|
||||
<Style>
|
||||
<FontFamily>calibri</FontFamily>
|
||||
<FontSize>5pt</FontSize>
|
||||
@@ -4776,7 +4776,7 @@
|
||||
<Value>=Parameters!QR.Value</Value>
|
||||
<Sizing>FitProportional</Sizing>
|
||||
<Top>3.46321in</Top>
|
||||
<Left>6.67189in</Left>
|
||||
<Left>6.65939in</Left>
|
||||
<Height>1.17372in</Height>
|
||||
<Width>1.38542in</Width>
|
||||
<ZIndex>7</ZIndex>
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
4484
Empresas/83/Formatos/Cotizacion.rdlc
Normal file
4484
Empresas/83/Formatos/Cotizacion.rdlc
Normal file
File diff suppressed because it is too large
Load Diff
@@ -26,7 +26,7 @@
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>RFC: CMN9810221L8</Value>
|
||||
<Value>DE C.V. RFC: CMN9810221L8</Value>
|
||||
<Style>
|
||||
<FontStyle>Normal</FontStyle>
|
||||
<FontFamily>arial</FontFamily>
|
||||
@@ -182,7 +182,7 @@
|
||||
<Top>1.88777in</Top>
|
||||
<Left>1.00929in</Left>
|
||||
<Height>0.17222in</Height>
|
||||
<Width>4.18029in</Width>
|
||||
<Width>3.87821in</Width>
|
||||
<ZIndex>2</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -208,7 +208,7 @@
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>1.50708cm</Width>
|
||||
<Width>1.28695cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.63629cm</Width>
|
||||
@@ -217,16 +217,19 @@
|
||||
<Width>1.29788cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.66402cm</Width>
|
||||
<Width>1.38144cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>8.32569cm</Width>
|
||||
<Width>7.44005cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.50542cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.42482cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>1.73271cm</Width>
|
||||
<Width>1.56278cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>2.4815cm</Width>
|
||||
@@ -480,6 +483,52 @@
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox6">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Obj. Imp.</Value>
|
||||
<Style>
|
||||
<FontFamily>calibri</FontFamily>
|
||||
<FontSize>9pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
<Color>SteelBlue</Color>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox6</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>White</Color>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<TopBorder>
|
||||
<Color>Black</Color>
|
||||
<Style>Solid</Style>
|
||||
</TopBorder>
|
||||
<BottomBorder>
|
||||
<Color>Black</Color>
|
||||
<Style>Solid</Style>
|
||||
</BottomBorder>
|
||||
<BackgroundColor>White</BackgroundColor>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="Textbox84">
|
||||
@@ -822,6 +871,41 @@
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="CodigoObjetoImpuesto">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Fields!CodigoObjetoImpuesto.Value</Value>
|
||||
<Style>
|
||||
<FontSize>7pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>CodigoObjetoImpuesto</rd:DefaultName>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>LightGrey</Color>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<RightBorder>
|
||||
<Color>#4f81bd</Color>
|
||||
</RightBorder>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</CellContents>
|
||||
</TablixCell>
|
||||
<TablixCell>
|
||||
<CellContents>
|
||||
<Textbox Name="PU1">
|
||||
@@ -948,6 +1032,7 @@
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
<TablixMember />
|
||||
</TablixMembers>
|
||||
</TablixColumnHierarchy>
|
||||
<TablixRowHierarchy>
|
||||
@@ -964,7 +1049,7 @@
|
||||
<Top>6.28717cm</Top>
|
||||
<Left>0.44641cm</Left>
|
||||
<Height>1.2353cm</Height>
|
||||
<Width>20.06999cm</Width>
|
||||
<Width>20.01713cm</Width>
|
||||
<ZIndex>3</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1761,7 +1846,7 @@
|
||||
<Top>2.03638in</Top>
|
||||
<Left>1.00929in</Left>
|
||||
<Height>0.18472in</Height>
|
||||
<Width>1.74279in</Width>
|
||||
<Width>1.60737in</Width>
|
||||
<ZIndex>20</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1802,7 +1887,7 @@
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox19</rd:DefaultName>
|
||||
<Top>2.03499in</Top>
|
||||
<Left>7.00999cm</Left>
|
||||
<Left>6.69249cm</Left>
|
||||
<Height>0.19861in</Height>
|
||||
<Width>0.81128in</Width>
|
||||
<ZIndex>21</ZIndex>
|
||||
@@ -1844,9 +1929,9 @@
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox19</rd:DefaultName>
|
||||
<Top>2.03638in</Top>
|
||||
<Left>3.58501in</Left>
|
||||
<Left>3.46001in</Left>
|
||||
<Height>0.18472in</Height>
|
||||
<Width>1.60457in</Width>
|
||||
<Width>1.42749in</Width>
|
||||
<ZIndex>22</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -1931,7 +2016,7 @@
|
||||
<Top>2.2586in</Top>
|
||||
<Left>1.00929in</Left>
|
||||
<Height>0.15972in</Height>
|
||||
<Width>4.18029in</Width>
|
||||
<Width>3.87821in</Width>
|
||||
<ZIndex>24</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
@@ -2525,7 +2610,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||
<Top>11.78131cm</Top>
|
||||
<Top>11.74956cm</Top>
|
||||
<Left>0.4667cm</Left>
|
||||
<Height>0.44842cm</Height>
|
||||
<Width>8.9127cm</Width>
|
||||
@@ -2720,7 +2805,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Top>0.14926cm</Top>
|
||||
<Top>0.02226cm</Top>
|
||||
<Left>0.9525cm</Left>
|
||||
<Height>0.46066cm</Height>
|
||||
<Width>18.98926cm</Width>
|
||||
@@ -2756,7 +2841,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Top>0.735cm</Top>
|
||||
<Top>0.5445cm</Top>
|
||||
<Left>4.71624cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>5.31841cm</Width>
|
||||
@@ -2789,7 +2874,7 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||
<Top>0.735cm</Top>
|
||||
<Top>0.5445cm</Top>
|
||||
<Left>10.03465cm</Left>
|
||||
<Height>0.41981cm</Height>
|
||||
<Width>7.14985cm</Width>
|
||||
@@ -3134,7 +3219,7 @@
|
||||
</TablixMembers>
|
||||
</TablixRowHierarchy>
|
||||
<DataSetName>DataSet4</DataSetName>
|
||||
<Top>1.39643cm</Top>
|
||||
<Top>1.04718cm</Top>
|
||||
<Left>3.2145cm</Left>
|
||||
<Height>0.85604cm</Height>
|
||||
<Width>15.30142cm</Width>
|
||||
@@ -3149,7 +3234,7 @@
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Top>14.54249cm</Top>
|
||||
<Left>0.07193cm</Left>
|
||||
<Height>2.25247cm</Height>
|
||||
<Height>1.90322cm</Height>
|
||||
<Width>20.37753cm</Width>
|
||||
<ZIndex>45</ZIndex>
|
||||
<Visibility>
|
||||
@@ -3176,14 +3261,144 @@
|
||||
</Border>
|
||||
</Style>
|
||||
</Image>
|
||||
<Textbox Name="Textbox80">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>Regimen Fiscal:</Value>
|
||||
<Style>
|
||||
<FontFamily>Calibri</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Left</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox19</rd:DefaultName>
|
||||
<Top>2.24888in</Top>
|
||||
<Left>12.48303cm</Left>
|
||||
<Height>0.17222in</Height>
|
||||
<Width>0.82757in</Width>
|
||||
<ZIndex>47</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>#4f81bd</Color>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<TopBorder>
|
||||
<Style>None</Style>
|
||||
</TopBorder>
|
||||
<LeftBorder>
|
||||
<Style>None</Style>
|
||||
</LeftBorder>
|
||||
<RightBorder>
|
||||
<Style>None</Style>
|
||||
</RightBorder>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox81">
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>=Parameters!RegimenFiscalCodigo.Value</Value>
|
||||
<Style>
|
||||
<FontFamily>Calibri</FontFamily>
|
||||
<FontSize>8pt</FontSize>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style />
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox19</rd:DefaultName>
|
||||
<Top>2.24888in</Top>
|
||||
<Left>5.74215in</Left>
|
||||
<Height>0.17083in</Height>
|
||||
<Width>2.30881in</Width>
|
||||
<ZIndex>48</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Color>White</Color>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<TopBorder>
|
||||
<Style>None</Style>
|
||||
</TopBorder>
|
||||
<LeftBorder>
|
||||
<Style>None</Style>
|
||||
</LeftBorder>
|
||||
<RightBorder>
|
||||
<Style>None</Style>
|
||||
</RightBorder>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
<Textbox Name="Textbox7">
|
||||
<CanGrow>true</CanGrow>
|
||||
<KeepTogether>true</KeepTogether>
|
||||
<Paragraphs>
|
||||
<Paragraph>
|
||||
<TextRuns>
|
||||
<TextRun>
|
||||
<Value>VERSION </Value>
|
||||
<Style>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
<TextRun>
|
||||
<Value>=Parameters!CFDIVersion.Value</Value>
|
||||
<Style>
|
||||
<FontSize>9.16pt</FontSize>
|
||||
<FontWeight>Bold</FontWeight>
|
||||
</Style>
|
||||
</TextRun>
|
||||
</TextRuns>
|
||||
<Style>
|
||||
<TextAlign>Center</TextAlign>
|
||||
</Style>
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||
<Top>16.52685cm</Top>
|
||||
<Left>16.7643cm</Left>
|
||||
<Height>0.54003cm</Height>
|
||||
<Width>3.68516cm</Width>
|
||||
<ZIndex>49</ZIndex>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
</Border>
|
||||
<PaddingLeft>2pt</PaddingLeft>
|
||||
<PaddingRight>2pt</PaddingRight>
|
||||
<PaddingTop>2pt</PaddingTop>
|
||||
<PaddingBottom>2pt</PaddingBottom>
|
||||
</Style>
|
||||
</Textbox>
|
||||
</ReportItems>
|
||||
<Height>16.79496cm</Height>
|
||||
<Height>17.06688cm</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>20.5164cm</Width>
|
||||
<Page>
|
||||
<PageFooter>
|
||||
<Height>0.64232cm</Height>
|
||||
<Height>0.6cm</Height>
|
||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||
<PrintOnLastPage>true</PrintOnLastPage>
|
||||
<ReportItems>
|
||||
@@ -3207,7 +3422,6 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||
<Top>0.04232cm</Top>
|
||||
<Left>16.34905cm</Left>
|
||||
<Height>0.6cm</Height>
|
||||
<Width>3.95896cm</Width>
|
||||
@@ -3251,7 +3465,6 @@
|
||||
</Paragraph>
|
||||
</Paragraphs>
|
||||
<rd:DefaultName>Textbox8</rd:DefaultName>
|
||||
<Top>0.10582cm</Top>
|
||||
<Left>0.50295cm</Left>
|
||||
<Height>0.46771cm</Height>
|
||||
<Width>6.86562cm</Width>
|
||||
@@ -3438,6 +3651,10 @@
|
||||
<DataField>SATClaveUM</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
<Field Name="CodigoObjetoImpuesto">
|
||||
<DataField>CodigoObjetoImpuesto</DataField>
|
||||
<rd:TypeName>System.String</rd:TypeName>
|
||||
</Field>
|
||||
</Fields>
|
||||
<rd:DataSetInfo>
|
||||
<rd:DataSetName>DsOC</rd:DataSetName>
|
||||
@@ -4167,6 +4384,18 @@
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="CFDIVersion">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
<ReportParameter Name="RegimenFiscalCodigo">
|
||||
<DataType>String</DataType>
|
||||
<Nullable>true</Nullable>
|
||||
<AllowBlank>true</AllowBlank>
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
<EmbeddedImages>
|
||||
<EmbeddedImage Name="Logo">
|
||||
|
||||
7008
Empresas/83/Formatos/ReciboDePago.rdlc
Normal file
7008
Empresas/83/Formatos/ReciboDePago.rdlc
Normal file
File diff suppressed because it is too large
Load Diff
@@ -81,7 +81,7 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
||||
int NoEstatusInicio = DtEstatus.COUNT("CveEstatusTrayecto", "EsInicio = True");
|
||||
if (NoEstatusInicio > 0)
|
||||
{
|
||||
this.Alert("Ya existe un estatus de inicio.", TipoMensaje.MsgAdvertencia);
|
||||
Alert("Ya existe un estatus de inicio.", TipoMensaje.MsgAdvertencia);
|
||||
ObjGPS.Dispose();
|
||||
return;
|
||||
}
|
||||
@@ -97,7 +97,7 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
||||
int NoEstatusFin = DtEstatus.COUNT("CveEstatusTrayecto", "EsFin = True");
|
||||
if (NoEstatusFin > 0)
|
||||
{
|
||||
this.Alert("Ya existe un estatus de final.", TipoMensaje.MsgAdvertencia);
|
||||
Alert("Ya existe un estatus de final.", TipoMensaje.MsgAdvertencia);
|
||||
ObjGPS.Dispose();
|
||||
return;
|
||||
}
|
||||
@@ -108,7 +108,7 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
||||
|
||||
if (RblInicioFin.SelectedValue == "2" && CveEstatusAnterior <= 0)
|
||||
{
|
||||
this.Alert("No se puede agregar el estatus. Debe seleccionar un estatus anterior.", ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
Alert("No se puede agregar el estatus. Debe seleccionar un estatus anterior.", ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
ObjGPS.Dispose();
|
||||
return;
|
||||
}
|
||||
@@ -122,18 +122,18 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
||||
{
|
||||
if (ObjGPS.UpdateEstatusTrayectos(CveEstatusSiguiente,"",false,false, CveEstatusNuevo, UsuarioActual.CveCliente))
|
||||
{
|
||||
this.Alert("El estatus se actualizo correctamente.", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("El estatus se actualizo correctamente.", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("Ocurrió un error al actualizar el estatus.", ModExtensiones.TipoMensaje.MsgError);
|
||||
Alert("Ocurrió un error al actualizar el estatus.", ModExtensiones.TipoMensaje.MsgError);
|
||||
}
|
||||
}
|
||||
this.Alert("El estatus se agrego correctamente.", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("El estatus se agrego correctamente.", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("Ocurrió un error al agregar el estatus.", ModExtensiones.TipoMensaje.MsgError);
|
||||
Alert("Ocurrió un error al agregar el estatus.", ModExtensiones.TipoMensaje.MsgError);
|
||||
}
|
||||
|
||||
|
||||
@@ -221,7 +221,7 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
||||
{
|
||||
if (ObjGPS.UpdateEstatusTrayectos(CveEstatusSiguiente,"",false,false, CveEstatusAnterior, UsuarioActual.CveCliente))
|
||||
{
|
||||
this.Alert("El estatus se eliminó correctamente.", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("El estatus se eliminó correctamente.", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -136,7 +136,7 @@ public partial class GPS_CatGrupos : ClsPaginas
|
||||
BtnGuardar.Text = "Guardar";
|
||||
UPConsulta.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalGrupo').modal();");
|
||||
RegistraScript("$('#DvModalGrupo').modal();");
|
||||
|
||||
}
|
||||
|
||||
@@ -269,7 +269,7 @@ public partial class GPS_CatGrupos : ClsPaginas
|
||||
|
||||
ObjGPS.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DvModalGrupo').modal('hide');");
|
||||
RegistraScript("$('#DvModalGrupo').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
@@ -363,7 +363,7 @@ public partial class GPS_CatGrupos : ClsPaginas
|
||||
BtnGuardar.Text = "Actualizar";
|
||||
UPConsulta.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalGrupo').modal('show');");
|
||||
RegistraScript("$('#DvModalGrupo').modal('show');");
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -197,6 +197,6 @@ public partial class GPS_RepParardas : ClsPaginas
|
||||
{
|
||||
//var table = new System.Web.UI.HtmlControls.HtmlTable();
|
||||
// table.InnerHtml = DivIndicadores.InnerHtml;
|
||||
GvDatos.ExportToExcel("ReporteRutas");
|
||||
GvDatos.ExportToExcelX("ReporteRutas");
|
||||
}
|
||||
}
|
||||
@@ -145,12 +145,12 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
{
|
||||
IniciaDTStops();
|
||||
LimpiarModal();
|
||||
this.RegistraScript("$('#DivShipment').modal({backdrop: 'static', keyboard: false});");
|
||||
RegistraScript("$('#DivShipment').modal({backdrop: 'static', keyboard: false});");
|
||||
}
|
||||
protected void LnkAddNewStop_Click(object sender, EventArgs e)
|
||||
{
|
||||
LimpiarModalStop();
|
||||
this.RegistraScript("$('#DivStop').modal({backdrop: 'static', keyboard: false});");
|
||||
RegistraScript("$('#DivStop').modal({backdrop: 'static', keyboard: false});");
|
||||
}
|
||||
protected void LnkAddStop_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -190,7 +190,7 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
this.OnError("Ocurrió un error al registrar la parada (stop)", ex);
|
||||
}
|
||||
|
||||
this.RegistraScript("$('#DivStop').modal('hide');");
|
||||
RegistraScript("$('#DivStop').modal('hide');");
|
||||
}
|
||||
protected void LimpiarModal()
|
||||
{
|
||||
@@ -623,13 +623,13 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
if (TieneError)
|
||||
{
|
||||
ObjGPS.RollBack();
|
||||
this.Alert("No se pudo guardar el shipment.", TipoMensaje.MsgError);
|
||||
Alert("No se pudo guardar el shipment.", TipoMensaje.MsgError);
|
||||
}
|
||||
else
|
||||
{
|
||||
ObjGPS.Commit();
|
||||
this.Alert("El shipment se envió correctamente a FreightVerify.", TipoMensaje.MsgInformacion);
|
||||
this.RegistraScript("$('#DivShipment').modal('hide');");
|
||||
Alert("El shipment se envió correctamente a FreightVerify.", TipoMensaje.MsgInformacion);
|
||||
RegistraScript("$('#DivShipment').modal('hide');");
|
||||
}
|
||||
ObjGPS.Dispose();
|
||||
|
||||
@@ -639,7 +639,7 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("No se pudo enviar el shipment a FreightVerify.", TipoMensaje.MsgError);
|
||||
Alert("No se pudo enviar el shipment a FreightVerify.", TipoMensaje.MsgError);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -650,7 +650,7 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
|
||||
CargaStops(CveShipment);
|
||||
|
||||
this.RegistraScript("$('#DivEvent').modal({backdrop: 'static', keyboard: false});", "1");
|
||||
RegistraScript("$('#DivEvent').modal({backdrop: 'static', keyboard: false});", "1");
|
||||
CargaPosicionStop(DdlStops.SelectedValue.ToEntero());
|
||||
UpEvent.Update();
|
||||
}
|
||||
@@ -662,7 +662,7 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
TxtLatLongEvent.Text = string.Format("{0},{1}", row["Lat"].ToString(), row["Lon"].ToString());
|
||||
TxtLatLongEvent.Text = string.Format("{0},{1}", row["Lat"].ToString(), row["Lon"].ToString());
|
||||
|
||||
this.RegistraScript($"cargapin('{row["Lat"].ToString()}','{row["Lon"].ToString()}');", "2"); ;
|
||||
RegistraScript($"cargapin('{row["Lat"].ToString()}','{row["Lon"].ToString()}');", "2"); ;
|
||||
}
|
||||
private void CargaStops(int CveShipment)
|
||||
{
|
||||
@@ -693,7 +693,7 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||
Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||
}
|
||||
CargaDatos();
|
||||
UpDatos.Update();
|
||||
@@ -727,16 +727,16 @@ public partial class GPS_Shipments : ClsPaginas
|
||||
if (envio)
|
||||
{
|
||||
Alert("Se envio el evento correctamente.");
|
||||
this.RegistraScript("$('#DivEvent').modal('hide');");
|
||||
RegistraScript("$('#DivEvent').modal('hide');");
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||
Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||
Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -107,7 +107,7 @@ public partial class General_CatTipoCambio : ClsPaginas
|
||||
BtnGuardarTC.Text = "Guardar";
|
||||
UPModalTipoCambio.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
||||
RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
||||
}
|
||||
|
||||
protected void limpiarCamposModal()
|
||||
@@ -136,7 +136,7 @@ public partial class General_CatTipoCambio : ClsPaginas
|
||||
|
||||
UPModalTipoCambio.Update();
|
||||
|
||||
this.RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
||||
RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
||||
|
||||
}
|
||||
|
||||
@@ -200,7 +200,7 @@ public partial class General_CatTipoCambio : ClsPaginas
|
||||
ObjGeneral.Dispose();
|
||||
limpiarCamposModal();
|
||||
|
||||
this.RegistraScript("$('#DvModalTipoCambio').modal('hide');");
|
||||
RegistraScript("$('#DvModalTipoCambio').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
|
||||
@@ -146,13 +146,13 @@ public partial class General_ExcelToBD : System.Web.UI.Page
|
||||
{
|
||||
if (objbase.ExcelToBD(xml))
|
||||
{
|
||||
this.Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
}
|
||||
GVDatos.DataSource = dt;
|
||||
GVDatos.DataBind();
|
||||
|
||||
//this.Alert(string.Format("<div style=\"width:700px;\"><pre><xmp>{0}</xmp>\n</pre></br></div>", xml), ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
//Alert(string.Format("<div style=\"width:700px;\"><pre><xmp>{0}</xmp>\n</pre></br></div>", xml), ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
|
||||
}
|
||||
public string validtitle(string Valor)
|
||||
|
||||
@@ -408,7 +408,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
}
|
||||
|
||||
}
|
||||
this.RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||
RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||
ObjGeneral.Dispose();
|
||||
}
|
||||
|
||||
@@ -542,7 +542,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
UPEditarGuia.Update();
|
||||
|
||||
|
||||
this.RegistraScript("$('#DivEditarGuia').modal('show');");
|
||||
RegistraScript("$('#DivEditarGuia').modal('show');");
|
||||
}
|
||||
|
||||
protected void BtGuardarGuia_Click(object sender, EventArgs e)
|
||||
@@ -554,7 +554,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
protected void BtnEliminarGuia_Click(object sender, EventArgs e)
|
||||
{
|
||||
EliminaGuia();
|
||||
this.RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||
RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
@@ -638,7 +638,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
protected void LnkAgregarGuia_Click(object sender, EventArgs e)
|
||||
{
|
||||
//Agregamos guia sin vincular
|
||||
this.RegistraScript(String.Format("AbrirVentana('/General/PopUpPaqueteriasGuias.aspx',800,480);"));
|
||||
RegistraScript(String.Format("AbrirVentana('/General/PopUpPaqueteriasGuias.aspx',800,480);"));
|
||||
}
|
||||
|
||||
protected void LnkImprimirPDF_Click(object sender, EventArgs e)
|
||||
@@ -686,7 +686,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
|
||||
UpModalUploadGuiaDocumento.Update();
|
||||
|
||||
this.RegistraScript("$('#ModalUploadGuiaDocumento').modal({ backdrop: 'static', keyboard: false});");
|
||||
RegistraScript("$('#ModalUploadGuiaDocumento').modal({ backdrop: 'static', keyboard: false});");
|
||||
}
|
||||
|
||||
protected void BtnModalGuiaDocumentoUpload_Click(object sender, EventArgs e)
|
||||
@@ -769,7 +769,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
}
|
||||
}
|
||||
|
||||
this.RegistraScript("$('#ModalUploadGuiaDocumento').modal('hide')", "hidemodal3");
|
||||
RegistraScript("$('#ModalUploadGuiaDocumento').modal('hide')", "hidemodal3");
|
||||
|
||||
}
|
||||
|
||||
@@ -1064,7 +1064,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
|
||||
protected void Reasignar_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#ModalMotivoReasignacion').modal('show')", "hidemodal3");
|
||||
RegistraScript("$('#ModalMotivoReasignacion').modal('show')", "hidemodal3");
|
||||
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||
CvePaqueteriaGuiaReasignar = GvRow.DataKey("CvePaqueteriaGuia").ToEntero();
|
||||
CveVenta = GvRow.DataKey("CveAgrupador").ToString().ToEntero();
|
||||
@@ -1083,7 +1083,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
||||
UPDatos.Update();
|
||||
CvePaqueteriaGuiaReasignar = -1;
|
||||
EnviarCorreoNotificacionEntrega(3, Folio, "", "", "", "", "", -1, null);
|
||||
this.RegistraScript("$('#ModalMotivoReasignacion').modal('hide')", "hidemodal3");
|
||||
RegistraScript("$('#ModalMotivoReasignacion').modal('hide')", "hidemodal3");
|
||||
}
|
||||
|
||||
private string DocumentoEntregaInterna(int CveVenta)
|
||||
|
||||
24
Global.asax
24
Global.asax
@@ -405,18 +405,18 @@
|
||||
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
'S U B P R O Y E C T O S
|
||||
|
||||
Using ObjSubProyectos As New ClsSubProyectos
|
||||
'If ObjSubProyectos.GetSubProyectos Then Application("GlobalDTSubProyectos") = ObjSubProyectos.DtResultados Else Application("GlobalDTSubProyectos") = Nothing
|
||||
If ObjSubProyectos.GetSubProyectosUsuarios Then
|
||||
Application("GlobalDTProyectosUsuarios") = ObjSubProyectos.DtResultados.FiltraParametros("", "", {"Proyecto", "CveProyecto", "CveUsuario", "CveEmpresa", "CveEstatusProyecto"})
|
||||
Application("GlobalDTSubProyectosUsuarios") = ObjSubProyectos.DtResultados
|
||||
Else
|
||||
Application("GlobalDTProyectosUsuarios") = Nothing
|
||||
Application("GlobalDTSubProyectosUsuarios") = Nothing
|
||||
End If
|
||||
'Else Application("GlobalDTProyectosUsuarios") = Nothing
|
||||
End Using
|
||||
GuardaLogAsax(String.Format("Globalasax 26:{0}", DateTime.Now))
|
||||
'Using ObjSubProyectos As New ClsSubProyectos
|
||||
' 'If ObjSubProyectos.GetSubProyectos Then Application("GlobalDTSubProyectos") = ObjSubProyectos.DtResultados Else Application("GlobalDTSubProyectos") = Nothing
|
||||
' If ObjSubProyectos.GetSubProyectosUsuarios Then
|
||||
' Application("GlobalDTProyectosUsuarios") = ObjSubProyectos.DtResultados.FiltraParametros("", "", {"Proyecto", "CveProyecto", "CveUsuario", "CveEmpresa", "CveEstatusProyecto"})
|
||||
' Application("GlobalDTSubProyectosUsuarios") = ObjSubProyectos.DtResultados
|
||||
' Else
|
||||
' Application("GlobalDTProyectosUsuarios") = Nothing
|
||||
' Application("GlobalDTSubProyectosUsuarios") = Nothing
|
||||
' End If
|
||||
' 'Else Application("GlobalDTProyectosUsuarios") = Nothing
|
||||
'End Using
|
||||
'GuardaLogAsax(String.Format("Globalasax 26:{0}", DateTime.Now))
|
||||
|
||||
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
'T I P O S - D E - E V E N T O S
|
||||
|
||||
@@ -1074,7 +1074,7 @@ Partial Class Inicio
|
||||
Private Sub CargaDirectorioTelefonico()
|
||||
Dim ObjPersonal As New ClsRH
|
||||
|
||||
Me.RegistraScript("$get('DivActualizarEvento').style.display = 'true';")
|
||||
RegistraScript("$get('DivActualizarEvento').style.display = 'true';")
|
||||
'$get('DivActualizarEvento').style.display = 'none';
|
||||
|
||||
If ObjPersonal.DirectorioTelefonicoGet(UsuarioActual.CveEmpresa) Then
|
||||
|
||||
@@ -92,7 +92,7 @@ public partial class Inventarios_CatGrupoPSaspx : ClsPaginas
|
||||
DtGrupoPSDetalle.Rows.Clear();
|
||||
UpModal.Update();
|
||||
}
|
||||
|
||||
|
||||
|
||||
protected void LnkAddGrupoPS_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -129,7 +129,7 @@ public partial class Inventarios_CatGrupoPSaspx : ClsPaginas
|
||||
}
|
||||
ObjInv.Dispose();
|
||||
CargaGrupoPS();
|
||||
}
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
{
|
||||
@@ -211,7 +211,7 @@ public partial class Inventarios_CatGrupoPSaspx : ClsPaginas
|
||||
if (!ObjInv.RemoveGrupoPSDetalle(Dr["CveGrupoPSDetalle"].ToEntero()))
|
||||
{
|
||||
Error = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!Error)
|
||||
|
||||
@@ -4115,7 +4115,7 @@ Partial Class Inventarios_EntregaAlmacen
|
||||
' CargaModalCombosDirecciones(CveCliente, CveDireccion);
|
||||
|
||||
' UpModalEditarentrega.Update();
|
||||
' this.RegistraScript("$('#DivEditarEntrega').modal('show');");
|
||||
' RegistraScript("$('#DivEditarEntrega').modal('show');");
|
||||
'}
|
||||
|
||||
|
||||
|
||||
@@ -1000,7 +1000,7 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
||||
CargaModalCombosDirecciones(CveCliente, CveDireccion);
|
||||
|
||||
UpModalEditarentrega.Update();
|
||||
this.RegistraScript("$('#DivEditarEntrega').modal('show');");
|
||||
RegistraScript("$('#DivEditarEntrega').modal('show');");
|
||||
}
|
||||
|
||||
protected void BtnModalEditarentrega_Click(object sender, EventArgs e)
|
||||
@@ -1017,7 +1017,7 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
||||
|
||||
if (ProcesoOK)
|
||||
{
|
||||
this.RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
||||
RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
||||
Alert("Dirección Actualizada correctamente.", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
@@ -401,7 +401,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
||||
|
||||
|
||||
UpModalEditarentrega.Update();
|
||||
this.RegistraScript("$('#DivEditarEntrega').modal({ backdrop: 'static', keyboard: false });");
|
||||
RegistraScript("$('#DivEditarEntrega').modal({ backdrop: 'static', keyboard: false });");
|
||||
|
||||
|
||||
}
|
||||
@@ -601,7 +601,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
||||
|
||||
if (ProcesoOK)
|
||||
{
|
||||
this.RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
||||
RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
||||
Alert("Entrega Actualizada correctamente.");
|
||||
CargaDatos();
|
||||
}
|
||||
@@ -611,7 +611,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
||||
protected void BtnEliminarGuia_Click(object sender, EventArgs e)
|
||||
{
|
||||
//EliminaGuia();
|
||||
//this.RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||
//RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||
//CargaDatos();
|
||||
}
|
||||
|
||||
|
||||
@@ -64,14 +64,14 @@ public partial class Nomina_Acumulados : ClsPaginas
|
||||
|
||||
DdlTipoAcumulado .SelectedValueExist(cveTipoAcumulado.ToString());
|
||||
TxtAcumacumulado.Text = acumulado.ToString();
|
||||
this.RegistraScript("$('#DModalAcumulados').modal();");
|
||||
RegistraScript("$('#DModalAcumulados').modal();");
|
||||
BtnAcumADD.Visible = false;
|
||||
BtnAcumEdit.Visible = true;
|
||||
UPModalAcum.Update();
|
||||
}
|
||||
protected void LnkAgregarAcum_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#DModalAcumulados').modal();");
|
||||
RegistraScript("$('#DModalAcumulados').modal();");
|
||||
LimpiaAcumulados();
|
||||
BtnAcumADD.Visible = true;
|
||||
BtnAcumEdit.Visible = false;
|
||||
@@ -92,11 +92,11 @@ public partial class Nomina_Acumulados : ClsPaginas
|
||||
}
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalAcumulados').modal('hide');");
|
||||
RegistraScript("$('#DModalAcumulados').modal('hide');");
|
||||
LimpiaAcumulados();
|
||||
CargaAcumulados();
|
||||
UPModalAcum.Update();
|
||||
this.Alert("El Acumulados Se ha agregado");
|
||||
Alert("El Acumulados Se ha agregado");
|
||||
}
|
||||
}
|
||||
protected void BtnAcumEdit_Click(object sender, EventArgs e)
|
||||
@@ -112,11 +112,11 @@ public partial class Nomina_Acumulados : ClsPaginas
|
||||
}
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalAcumulados').modal('hide');");
|
||||
RegistraScript("$('#DModalAcumulados').modal('hide');");
|
||||
LimpiaAcumulados();
|
||||
UPModalAcum.Update();
|
||||
CargaAcumulados();
|
||||
this.Alert("El Acumulados Se ha actualizado");
|
||||
Alert("El Acumulados Se ha actualizado");
|
||||
}
|
||||
}
|
||||
protected void LnkEliminarAcum_Click(object sender, EventArgs e)
|
||||
@@ -132,7 +132,7 @@ public partial class Nomina_Acumulados : ClsPaginas
|
||||
if (Continuar)
|
||||
{
|
||||
CargaAcumulados();
|
||||
this.Alert("El Acumulados Se ha Eliminado");
|
||||
Alert("El Acumulados Se ha Eliminado");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -551,7 +551,7 @@ public partial class Nomina_Aguinaldo : ClsPaginas
|
||||
|
||||
protected void LnkDownExcel_Click(object sender, EventArgs e)
|
||||
{
|
||||
// GVCalcularAguinaldo.ExportToExcelx(string.Format("Aguinaldo {0}", DdlEjercicios.SelectedItem.Text));
|
||||
// GVCalcularAguinaldo.ExportToExcelX(string.Format("Aguinaldo {0}", DdlEjercicios.SelectedItem.Text));
|
||||
|
||||
|
||||
ClosedXML.Excel.XLWorkbook wb = new ClosedXML.Excel.XLWorkbook();
|
||||
|
||||
@@ -112,7 +112,7 @@ public partial class Nomina_CargaArchivosNomina : System.Web.UI.Page
|
||||
{
|
||||
if (objbase.ExcelToBD(xml))
|
||||
{
|
||||
this.Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
}
|
||||
}
|
||||
GVDatos.DataSource = dt;
|
||||
|
||||
@@ -795,7 +795,7 @@ public partial class Nomina_Finiquito : ClsPaginas
|
||||
protected void LnkCambiarEmpleado_Click(object sender, EventArgs e)
|
||||
{
|
||||
CargaDdlPersonal();
|
||||
this.RegistraScript("$('#ModalEmpleados').modal();");
|
||||
RegistraScript("$('#ModalEmpleados').modal();");
|
||||
UpModalEmpleados.Update();
|
||||
}
|
||||
|
||||
|
||||
@@ -1449,18 +1449,18 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
objrh.NomBitacoraCorreoAdd(CvePeriodoSeleccionado, CvePersonal, Correo.Trim(), UsuarioActual.CveEmpresa, UsuarioActual.CveUsuario);
|
||||
}
|
||||
|
||||
this.Alert(string.Format("se envio el correo a '{0}'.", Correo), TipoMensaje.MsgInformacion);
|
||||
Alert(string.Format("se envio el correo a '{0}'.", Correo), TipoMensaje.MsgInformacion);
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert("No se pudo generar el PDF para enviar el correo.", TipoMensaje.MsgAdvertencia);
|
||||
Alert("No se pudo generar el PDF para enviar el correo.", TipoMensaje.MsgAdvertencia);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
this.Alert("No se tiene un correo registrado.", TipoMensaje.MsgAdvertencia);
|
||||
Alert("No se tiene un correo registrado.", TipoMensaje.MsgAdvertencia);
|
||||
}
|
||||
}
|
||||
protected void LnkTimbrar_Click(object sender, EventArgs e)
|
||||
@@ -6309,10 +6309,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalMovtoPermanente').modal('hide');");
|
||||
RegistraScript("$('#DModalMovtoPermanente').modal('hide');");
|
||||
CargaMovtoPermanente();
|
||||
UpMovtosPermanentes.Update();
|
||||
this.Alert("Se ha agregado el movimiento permanente");
|
||||
Alert("Se ha agregado el movimiento permanente");
|
||||
}
|
||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide')");
|
||||
|
||||
@@ -6337,10 +6337,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
||||
CargaMovtoPermanente();
|
||||
UpMovtosPermanentes.Update();
|
||||
this.Alert("Se ha actualizado el movimiento permanente");
|
||||
Alert("Se ha actualizado el movimiento permanente");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -6364,10 +6364,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
||||
CargaMovtoPermanente();
|
||||
UpMovtosPermanentes.Update();
|
||||
this.Alert("Se ha eliminadó el movimiento permanente");
|
||||
Alert("Se ha eliminadó el movimiento permanente");
|
||||
}
|
||||
}
|
||||
protected void LnkEditarMovtoPermanente_Click(object sender, EventArgs e)
|
||||
@@ -7734,7 +7734,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
{
|
||||
CargaPersonalIncapacidad();
|
||||
UpsrIncapacidadpersonal.Update();
|
||||
this.Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion);
|
||||
Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion);
|
||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')");
|
||||
}
|
||||
}
|
||||
@@ -7762,7 +7762,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
{
|
||||
CargaPersonalIncapacidad();
|
||||
UpsrIncapacidadpersonal.Update();
|
||||
this.Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion);
|
||||
Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion);
|
||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')");
|
||||
}
|
||||
}
|
||||
@@ -8968,10 +8968,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
}
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalVacacionesEmpresas').modal('hide');");
|
||||
RegistraScript("$('#DModalVacacionesEmpresas').modal('hide');");
|
||||
CargaVacacionesEmpresas();
|
||||
upDatosVacaEmpre.Update();
|
||||
this.Alert("El Vacaciones_Empresas Se ha agregado");
|
||||
Alert("El Vacaciones_Empresas Se ha agregado");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8989,7 +8989,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
if (Continuar)
|
||||
{
|
||||
CargaVacacionesEmpresas();
|
||||
this.Alert("El Vacaciones_Empresas Se ha Eliminado");
|
||||
Alert("El Vacaciones_Empresas Se ha Eliminado");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9047,7 +9047,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
DivModalLayoutBancosFecha.Visible = false;
|
||||
TxtModalLayoutBancosFecha.Text = "";
|
||||
|
||||
this.RegistraScript("$('#ModalLayoutBancos').modal('show');");
|
||||
RegistraScript("$('#ModalLayoutBancos').modal('show');");
|
||||
UpModalBancosLayout.Update();
|
||||
}
|
||||
|
||||
@@ -9218,7 +9218,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
//Response.AppendHeader("Content-Disposition", $"attachment;filename=\"Nomina{DateTime.Now.ToString("yyyyMMddhhmmss").ToString()}.txt\"");
|
||||
Response.AppendHeader("Content-Disposition", $"attachment;filename=\"Nomina {DdlPeriodo.SelectedItem.Text}.txt\"");
|
||||
Response.Write(sb.ToString());
|
||||
this.RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
||||
RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
||||
Response.Flush();
|
||||
Response.End();
|
||||
}
|
||||
@@ -9347,13 +9347,13 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
||||
Response.ContentType = "text/plain";
|
||||
Response.AppendHeader("Content-Disposition", $"attachment;filename=\"NI{Emisora.PadLeft(5, Cero)}{Consecutivo.ToString("00")}.PAG\"");
|
||||
Response.Write(sb.ToString());
|
||||
this.RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
||||
RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
||||
Response.Flush();
|
||||
Response.End();
|
||||
}
|
||||
else
|
||||
{
|
||||
this.Alert($"Errores {SbErrores.ToString()}", TipoMensaje.ToastAdventencia);
|
||||
Alert($"Errores {SbErrores.ToString()}", TipoMensaje.ToastAdventencia);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -266,7 +266,7 @@ public partial class OI_CircularDetalleB : ClsPaginas
|
||||
|
||||
protected void LnkAgregar_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarPara));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarPara));
|
||||
ResetCombos();
|
||||
ConsultaCorreos();
|
||||
UpModalSeleccionCorreos.Update();
|
||||
|
||||
@@ -200,7 +200,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
||||
|
||||
protected void LnkUpUsuarios_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarMiembros));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarMiembros));
|
||||
LtlTituloUsuarios.Text = "Actualizar miembros";
|
||||
BtnUpMiembros.Visible = true;
|
||||
DdlModera.SelectedValueExist(CveUsuarioDe.ToString());
|
||||
@@ -264,12 +264,12 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
||||
//Setpermisos();
|
||||
}
|
||||
UpContenido.Update();
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarMiembros));
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarMiembros));
|
||||
}
|
||||
|
||||
protected void LnkAddTtemaModal_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarTema));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarTema));
|
||||
}
|
||||
|
||||
|
||||
@@ -401,7 +401,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
this.Alert(string.Format("Se ha agregadó la nueva convocatoria.<br/><a href=\"data:text/plain;charset=utf-8,{0}\" download=\"Agendar.ics\" class=\"btn btn-default\">⏰ Agendar</a>", HttpUtility.UrlEncode(ICString)), ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/ConvocatoriaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
Alert(string.Format("Se ha agregadó la nueva convocatoria.<br/><a href=\"data:text/plain;charset=utf-8,{0}\" download=\"Agendar.ics\" class=\"btn btn-default\">⏰ Agendar</a>", HttpUtility.UrlEncode(ICString)), ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/ConvocatoriaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -434,7 +434,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
||||
|
||||
if (errorMessage.Length > 0)
|
||||
{
|
||||
this.Alert(errorMessage, ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
Alert(errorMessage, ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -446,7 +446,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
||||
if (objoi.AddRevisionesEventos(TxtTema.Text.Trim(), UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa))
|
||||
{
|
||||
Alert(string.Format("El Tema \"{0}\" fue agregada con éxito.", TxtTema.Text.Trim()), ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarTema));
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarTema));
|
||||
TxtTema.Text = "";
|
||||
set_GlobalDTOIRevision(-1, objoi.DtResultados);
|
||||
CargaTemas();
|
||||
@@ -519,7 +519,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
||||
CveEventoMinuta = CveEvento;
|
||||
LnkOpenModalAsistencia.Visible = true;
|
||||
UpAcciones.Update();
|
||||
this.Alert(string.Format("Se ha iniciado la minuta, si desea ir a la minuta <a href=\"/OI/MinutaDetalle.aspx?CveEvento={0}\">Click Aquí</a>.", CveEvento), ModExtensiones.TipoMensaje.ToastInformacion, "", 0);
|
||||
Alert(string.Format("Se ha iniciado la minuta, si desea ir a la minuta <a href=\"/OI/MinutaDetalle.aspx?CveEvento={0}\">Click Aquí</a>.", CveEvento), ModExtensiones.TipoMensaje.ToastInformacion, "", 0);
|
||||
LnkOpenModalAsistencia_Click(null, null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -402,7 +402,7 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
this.Alert("Se ha agregadó la nueva minuta", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/MinutaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
Alert("Se ha agregadó la nueva minuta", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/MinutaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
}
|
||||
|
||||
}
|
||||
@@ -562,12 +562,12 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
cargarAgenda();
|
||||
this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
TxtTareaAsunto.Text = "";
|
||||
TxtTareaDescripcion.Text = "";
|
||||
txtTareaFechaI.Text = "";
|
||||
txtTareaFechaF.Text = "";
|
||||
//this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("window.open(\"/OI/TareaDetalle.aspx?CveEvento={0}\", \"_blank\");", CveEvento));
|
||||
//Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("window.open(\"/OI/TareaDetalle.aspx?CveEvento={0}\", \"_blank\");", CveEvento));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -685,13 +685,13 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
this.Alert("Se ha agregadó la nueva agenda");
|
||||
Alert("Se ha agregadó la nueva agenda");
|
||||
TxtAgendaAsunto.Text = "";
|
||||
TxtAgendaDescripcion.Text = "";
|
||||
txtAgendaFechaI.Text = "";
|
||||
txtAgendaFechaF.Text = "";
|
||||
cargarAgenda();
|
||||
//this.Alert("Se ha agregadó la nueva agenda", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("window.open(\"/OI/TareaDetalle.aspx?CveEvento={0}\", \"_blank\");", CveEvento));
|
||||
//Alert("Se ha agregadó la nueva agenda", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("window.open(\"/OI/TareaDetalle.aspx?CveEvento={0}\", \"_blank\");", CveEvento));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -735,9 +735,9 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
||||
ruta = string.Format("{0}{1}{2}", ruta, CveComentario, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
//this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
||||
this.Alert("Comentario agregadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
//this.Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
//RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
||||
Alert("Comentario agregadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
//Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
}
|
||||
TxtComentario.Text = "";
|
||||
}
|
||||
|
||||
@@ -70,14 +70,14 @@ public partial class OI_Proyecto : ClsPaginas
|
||||
}
|
||||
}
|
||||
str.AppendLine("];loadGant();");
|
||||
this.RegistraScript(str.ToString());
|
||||
RegistraScript(str.ToString());
|
||||
UpContenido.Update();
|
||||
//{ id: 2, text: "Direccion: evaluación de mercado", start_date: "2020/04/29 00:00", end_date: "2020/05/02 00:00",/*duration: 3,*/ parent: 1, progress: 0.25 }
|
||||
}
|
||||
|
||||
protected void LnkNewProyecto_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||
RCveEventoB = RCveEvento;
|
||||
}
|
||||
|
||||
@@ -201,7 +201,7 @@ public partial class OI_Proyecto : ClsPaginas
|
||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
//this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/Proyecto.aspx?CveEvento={0}\");", CveEvento));
|
||||
//Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/Proyecto.aspx?CveEvento={0}\");", CveEvento));
|
||||
loadEvento();
|
||||
TxtAsunto.Text = "";
|
||||
TxtDescripcion.Text = "";
|
||||
@@ -217,7 +217,7 @@ public partial class OI_Proyecto : ClsPaginas
|
||||
protected void BtnopenmodalClickGant_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||
RCveEventoB = txtCveEvento.Text.ToEntero();
|
||||
}
|
||||
}
|
||||
@@ -44,7 +44,7 @@ public partial class OI_RepProyectos : ClsPaginas
|
||||
}
|
||||
protected void LnkNewProyecto_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||
}
|
||||
|
||||
protected void btnguardarProyecto_Click(object sender, EventArgs e)
|
||||
@@ -167,8 +167,8 @@ public partial class OI_RepProyectos : ClsPaginas
|
||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
//this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/Proyecto.aspx?CveEvento={0}\");", CveEvento));
|
||||
this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
//Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/Proyecto.aspx?CveEvento={0}\");", CveEvento));
|
||||
Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
|
||||
cargar();
|
||||
TxtAsunto.Text = "";
|
||||
|
||||
@@ -196,7 +196,7 @@ public partial class OI_RepReuniones : ClsPaginas
|
||||
if (Continuar)
|
||||
{
|
||||
BtnCargarReunion_Click(null, null);
|
||||
this.Alert(string.Format("Se ha iniciado la minuta<br /> para ir a la minuta <a href=\"/OI/MinutaDetalle.aspx?CveEvento={0}\">click aquí</a>", CveEvento), ModExtensiones.TipoMensaje.ToastInformacion, "", 0);
|
||||
Alert(string.Format("Se ha iniciado la minuta<br /> para ir a la minuta <a href=\"/OI/MinutaDetalle.aspx?CveEvento={0}\">click aquí</a>", CveEvento), ModExtensiones.TipoMensaje.ToastInformacion, "", 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -200,7 +200,7 @@ Partial Class OI_RepSoporteADS
|
||||
CargaDatosOIEventosTareasAsignaron()
|
||||
|
||||
UPDatosOIEventosTareasAsignaron.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
#End Region
|
||||
|
||||
@@ -325,7 +325,7 @@ Partial Class OI_RepTareas
|
||||
CargaDatosOIEventosTareasAsigne()
|
||||
CargaDatosOIEventosTareasCCP()
|
||||
UPDatosOIEventosTareasAsignaron.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
|
||||
@@ -17,6 +17,6 @@ public partial class OI_RepTareas3 : System.Web.UI.Page
|
||||
protected void LnkAddEvento_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregar));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregar));
|
||||
}
|
||||
}
|
||||
@@ -70,7 +70,7 @@ public partial class OI_Tablero : ClsPaginas
|
||||
|
||||
TxtTabltablero.Text = tablero.ToString();
|
||||
DdlTablusuario.SelectedValueExist(cveUsuario.ToString());
|
||||
this.RegistraScript("$('#DModalTablero').modal();");
|
||||
RegistraScript("$('#DModalTablero').modal();");
|
||||
BtnTablADD.Visible = false;
|
||||
BtnTablEdit.Visible = true;
|
||||
UPModalTabl.Update();
|
||||
@@ -85,11 +85,11 @@ public partial class OI_Tablero : ClsPaginas
|
||||
ObjTabl.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalTablero').modal('hide');");
|
||||
RegistraScript("$('#DModalTablero').modal('hide');");
|
||||
LimpiaTablero();
|
||||
CargaTablero();
|
||||
UPModalTabl.Update();
|
||||
this.Alert("El Tablero Se ha agregado");
|
||||
Alert("El Tablero Se ha agregado");
|
||||
}
|
||||
}
|
||||
protected void BtnTablEdit_Click(object sender, EventArgs e)
|
||||
@@ -102,11 +102,11 @@ public partial class OI_Tablero : ClsPaginas
|
||||
ObjTabl.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalTablero').modal('hide');");
|
||||
RegistraScript("$('#DModalTablero').modal('hide');");
|
||||
LimpiaTablero();
|
||||
UPModalTabl.Update();
|
||||
CargaTablero();
|
||||
this.Alert("El Tablero Se ha actualizado");
|
||||
Alert("El Tablero Se ha actualizado");
|
||||
}
|
||||
}
|
||||
protected void LnkEliminarTabl_Click(object sender, EventArgs e)
|
||||
@@ -120,15 +120,15 @@ public partial class OI_Tablero : ClsPaginas
|
||||
if (Continuar)
|
||||
{
|
||||
CargaTablero();
|
||||
this.Alert("El Tablero Se ha Eliminado");
|
||||
Alert("El Tablero Se ha Eliminado");
|
||||
}else
|
||||
{
|
||||
this.Alert("El Tablero Se ha Eliminado", ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
Alert("El Tablero Se ha Eliminado", ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
}
|
||||
}
|
||||
protected void LnkTableros_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#DModalTablero').modal();");
|
||||
RegistraScript("$('#DModalTablero').modal();");
|
||||
LimpiaTablero();
|
||||
BtnTablADD.Visible = true;
|
||||
BtnTablEdit.Visible = false;
|
||||
|
||||
@@ -86,14 +86,14 @@ public partial class OI_TableroDetalle : ClsPaginas
|
||||
string lista = gvRow.DataKey("Lista");
|
||||
|
||||
TxtTabllista.Text = lista.ToString();
|
||||
this.RegistraScript("$('#DModalTableroLista').modal();");
|
||||
RegistraScript("$('#DModalTableroLista').modal();");
|
||||
BtnTablADD.Visible = false;
|
||||
BtnTablEdit.Visible = true;
|
||||
UPModalTabl.Update();
|
||||
}
|
||||
protected void LnkAgregarTabl_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#DModalTableroLista').modal();");
|
||||
RegistraScript("$('#DModalTableroLista').modal();");
|
||||
LimpiaTableroLista();
|
||||
BtnTablADD.Visible = true;
|
||||
BtnTablEdit.Visible = false;
|
||||
@@ -108,11 +108,11 @@ public partial class OI_TableroDetalle : ClsPaginas
|
||||
ObjTabl.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalTableroLista').modal('hide');");
|
||||
RegistraScript("$('#DModalTableroLista').modal('hide');");
|
||||
LimpiaTableroLista();
|
||||
CargaTableroLista();
|
||||
UPModalTabl.Update();
|
||||
this.Alert("La Lista se ha agregadó",ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
Alert("La Lista se ha agregadó",ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
}
|
||||
}
|
||||
protected void BtnTablEdit_Click(object sender, EventArgs e)
|
||||
@@ -124,11 +124,11 @@ public partial class OI_TableroDetalle : ClsPaginas
|
||||
ObjTabl.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalTableroLista').modal('hide');");
|
||||
RegistraScript("$('#DModalTableroLista').modal('hide');");
|
||||
LimpiaTableroLista();
|
||||
UPModalTabl.Update();
|
||||
CargaTableroLista();
|
||||
this.Alert("La Lista Se ha actualizado");
|
||||
Alert("La Lista Se ha actualizado");
|
||||
}
|
||||
}
|
||||
protected void LnkEliminarTabl_Click(object sender, EventArgs e)
|
||||
@@ -141,7 +141,7 @@ public partial class OI_TableroDetalle : ClsPaginas
|
||||
if (Continuar)
|
||||
{
|
||||
CargaTableroLista();
|
||||
this.Alert("El Tablero_Lista Se ha Eliminado");
|
||||
Alert("El Tablero_Lista Se ha Eliminado");
|
||||
}
|
||||
}
|
||||
//Dim item As DataRowView = DirectCast(e.Item.DataItem, DataRowView)
|
||||
|
||||
@@ -95,12 +95,12 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
this.RegistraScript("window.close();");
|
||||
RegistraScript("window.close();");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
this.RegistraScript("window.close();");
|
||||
RegistraScript("window.close();");
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -791,7 +791,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
this.Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -839,14 +839,14 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
{
|
||||
cargaActividades(objOI);
|
||||
}
|
||||
this.Alert("Se actualizó la tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
Alert("Se actualizó la tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
if (errorMessage.Length > 0)
|
||||
{
|
||||
this.Alert(errorMessage, ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
Alert(errorMessage, ModExtensiones.TipoMensaje.MsgAdvertencia);
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1033,7 +1033,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
DdlEventoEstatus.SelectedValueExist(DDlEstatus.SelectedValue);
|
||||
lblEstatus.Text = DdlEventoEstatus.SelectedItem.Text;
|
||||
UpEstatus.Update();
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivCambiarEstatus));
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivCambiarEstatus));
|
||||
Alert(mensaje, ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
cargaActividades(objOI);
|
||||
|
||||
@@ -1074,13 +1074,13 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
|
||||
protected void LnkcambiarEstatus_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivCambiarEstatus));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivCambiarEstatus));
|
||||
}
|
||||
|
||||
|
||||
protected void LnkAgregarTema_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarTema));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarTema));
|
||||
}
|
||||
|
||||
protected void BtnAgregarTema_Click(object sender, EventArgs e)
|
||||
@@ -1091,7 +1091,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
if (objoi.AddRevisionesEventos(TxtTema.Text.Trim(), UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa))
|
||||
{
|
||||
Alert(string.Format("El Tema \"{0}\" fue agregado con éxito.", TxtTema.Text.Trim()), ModExtensiones.TipoMensaje.MsgInformacion);
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarTema));
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarTema));
|
||||
TxtTema.Text = "";
|
||||
set_GlobalDTOIRevision(-1, objoi.DtResultados);
|
||||
CargaTemas();
|
||||
@@ -1105,7 +1105,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
protected void LnkAgregarActividad_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregar));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregar));
|
||||
}
|
||||
|
||||
protected void BtnAgregarComentario_Click(object sender, EventArgs e)
|
||||
@@ -1170,9 +1170,9 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
ruta = string.Format("{0}{1}{2}", ruta, CveComentario, archivoname);//, ArchivoExtencion);
|
||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||
}
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
||||
this.Alert("Comentario agregadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
//this.Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
||||
Alert("Comentario agregadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
//Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
}
|
||||
TxtComentario.Text = "";
|
||||
}
|
||||
@@ -1197,7 +1197,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
|
||||
protected void LnkUpFile_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarArchivo));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarArchivo));
|
||||
|
||||
}
|
||||
|
||||
@@ -1259,8 +1259,8 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
if (continuar)
|
||||
{
|
||||
LoadTarea();
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarArchivo));
|
||||
this.Alert("Archivo Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarArchivo));
|
||||
Alert("Archivo Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
}
|
||||
UpContenido.Update();
|
||||
UpAcciones.Update();
|
||||
@@ -1307,7 +1307,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
}
|
||||
if (continuar)
|
||||
{
|
||||
this.Alert("Avance Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
Alert("Avance Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
|
||||
}
|
||||
//UpTitulo.Update();
|
||||
@@ -1315,12 +1315,12 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
|
||||
protected void LnkAddTtemaB_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarTema));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarTema));
|
||||
}
|
||||
|
||||
protected void LnkReasignar_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarMiembros));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarMiembros));
|
||||
LtlTituloUsuarios.Text = "Reasignar Tarea";
|
||||
BtnUpMiembros.Visible = false;
|
||||
BtnReasignarTarea.Visible = true;
|
||||
@@ -1361,7 +1361,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
}
|
||||
protected void LnkUpUsuarios_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarMiembros));
|
||||
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarMiembros));
|
||||
LtlTituloUsuarios.Text = "Actualizar miembros";
|
||||
BtnUpMiembros.Visible = true;
|
||||
BtnReasignarTarea.Visible = false;
|
||||
@@ -1440,7 +1440,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
Setpermisos();
|
||||
}
|
||||
UpContenido.Update();
|
||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarMiembros));
|
||||
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarMiembros));
|
||||
}
|
||||
|
||||
|
||||
@@ -1564,7 +1564,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
||||
}
|
||||
if (Continuar && CveEvento > 0)
|
||||
{
|
||||
this.Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -157,7 +157,7 @@ Partial Class Prospectos_GeneradorEncuestas
|
||||
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
CargaDatos()
|
||||
UPDatos.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -124,7 +124,7 @@ Partial Class Prospectos_RepRedesEstructuras
|
||||
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
CargaDatos()
|
||||
UPDatos.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -84,7 +84,7 @@ Partial Class Prospectos_RepEventos
|
||||
'Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
' CargaDatos()
|
||||
' UPDatos.Update()
|
||||
' Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
' RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
'End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -298,7 +298,7 @@ Partial Class Prospectos_RepPadron
|
||||
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
CargaDatos()
|
||||
UPDatos.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -81,7 +81,7 @@ Partial Class Prospectos_RepProspectos
|
||||
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
CargaDatos()
|
||||
UPDatos.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -142,7 +142,7 @@ Partial Class Prospectos_RepRedesEstructuras
|
||||
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
CargaDatos()
|
||||
UPDatos.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -70,7 +70,7 @@ Partial Class Prospectos_RepSolicitudes
|
||||
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||
CargaDatos()
|
||||
UPDatos.Update()
|
||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||
End Sub
|
||||
|
||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||
|
||||
@@ -96,7 +96,7 @@ public partial class RH_CatConceptosViaticos : ClsPaginas
|
||||
limpiarCamposModal();
|
||||
UPModalConcepto.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModalConcepto').modal();");
|
||||
RegistraScript("$('#DivModalConcepto').modal();");
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
@@ -112,7 +112,7 @@ public partial class RH_CatConceptosViaticos : ClsPaginas
|
||||
|
||||
UPModalConcepto.Update();
|
||||
|
||||
this.RegistraScript("$('#DivModalConcepto').modal();");
|
||||
RegistraScript("$('#DivModalConcepto').modal();");
|
||||
}
|
||||
|
||||
protected void BtnGuardarConcepto_Click(object sender, EventArgs e)
|
||||
@@ -142,7 +142,7 @@ public partial class RH_CatConceptosViaticos : ClsPaginas
|
||||
|
||||
ObjBanco.Dispose();
|
||||
limpiarCamposModal();
|
||||
this.RegistraScript("$('#DivModalConcepto').modal('hide');");
|
||||
RegistraScript("$('#DivModalConcepto').modal('hide');");
|
||||
CargaDatos();
|
||||
}
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ public partial class RH_DiasFestivos : ClsPaginas
|
||||
}
|
||||
protected void LnkAgregarDias_Click(object sender, EventArgs e)
|
||||
{
|
||||
this.RegistraScript("$('#DModalDiasFestivos').modal();");
|
||||
RegistraScript("$('#DModalDiasFestivos').modal();");
|
||||
LimpiaDiasFestivos();
|
||||
BtnDiasADD.Visible = true;
|
||||
UPModalDias.Update();
|
||||
@@ -48,11 +48,11 @@ public partial class RH_DiasFestivos : ClsPaginas
|
||||
ObjDias.Dispose();
|
||||
if (Continuar)
|
||||
{
|
||||
this.RegistraScript("$('#DModalDiasFestivos').modal('hide');");
|
||||
RegistraScript("$('#DModalDiasFestivos').modal('hide');");
|
||||
LimpiaDiasFestivos();
|
||||
CargaDiasFestivos();
|
||||
UPModalDias.Update();
|
||||
this.Alert("El dìa festivos se ha agregado");
|
||||
Alert("El dìa festivos se ha agregado");
|
||||
}
|
||||
}
|
||||
protected void LnkEliminarDias_Click(object sender, EventArgs e)
|
||||
@@ -65,7 +65,7 @@ public partial class RH_DiasFestivos : ClsPaginas
|
||||
if (Continuar)
|
||||
{
|
||||
CargaDiasFestivos();
|
||||
this.Alert("El dìa festivos se ha Eliminado");
|
||||
Alert("El dìa festivos se ha Eliminado");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -7181,10 +7181,10 @@ Partial Class RH_Personal
|
||||
End Using
|
||||
|
||||
If Continuar Then
|
||||
Me.RegistraScript("$('#DModalMovtoPermanente').modal('hide');")
|
||||
RegistraScript("$('#DModalMovtoPermanente').modal('hide');")
|
||||
CargaMovtoPermanente()
|
||||
UpMovtosPermanentes.Update()
|
||||
Me.Alert("Se ha agregado el movimiento permanente")
|
||||
Alert("Se ha agregado el movimiento permanente")
|
||||
End If
|
||||
|
||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide')")
|
||||
@@ -7207,10 +7207,10 @@ Partial Class RH_Personal
|
||||
End Using
|
||||
|
||||
If Continuar Then
|
||||
Me.RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
||||
CargaMovtoPermanente()
|
||||
UpMovtosPermanentes.Update()
|
||||
Me.Alert("Se ha actualizado el movimiento permanente")
|
||||
Alert("Se ha actualizado el movimiento permanente")
|
||||
End If
|
||||
End Sub
|
||||
|
||||
@@ -7229,10 +7229,10 @@ Partial Class RH_Personal
|
||||
End Using
|
||||
|
||||
If Continuar Then
|
||||
Me.RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
||||
CargaMovtoPermanente()
|
||||
UpMovtosPermanentes.Update()
|
||||
Me.Alert("Se ha eliminadó el movimiento permanente")
|
||||
Alert("Se ha eliminadó el movimiento permanente")
|
||||
End If
|
||||
End Sub
|
||||
|
||||
@@ -7386,7 +7386,7 @@ Partial Class RH_Personal
|
||||
If Continuar Then
|
||||
CargaPersonalIncapacidad()
|
||||
UpsrIncapacidadpersonal.Update()
|
||||
Me.Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion)
|
||||
Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion)
|
||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')")
|
||||
End If
|
||||
End Sub
|
||||
@@ -7412,7 +7412,7 @@ Partial Class RH_Personal
|
||||
If Continuar Then
|
||||
CargaPersonalIncapacidad()
|
||||
UpsrIncapacidadpersonal.Update()
|
||||
Me.Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion)
|
||||
Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion)
|
||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')")
|
||||
End If
|
||||
End Sub
|
||||
|
||||
@@ -164,7 +164,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
TabPanel.ActiveTabIndex = 0;
|
||||
cargasolicitudes();
|
||||
|
||||
this.RegistraScript("$('#ModalViewSolicitudes').modal();");
|
||||
RegistraScript("$('#ModalViewSolicitudes').modal();");
|
||||
}
|
||||
|
||||
protected void LnkSolicitarSat_Click(object sender, EventArgs e)
|
||||
@@ -248,7 +248,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
txtFechaIAdd.Text = "";
|
||||
txtFechaFAdd.Text = "";
|
||||
ChkMetaDatos.Checked = false;
|
||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||
RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||
cargasolicitudes();
|
||||
|
||||
}
|
||||
@@ -389,7 +389,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
||||
txtFechaFAdd.Text = "";
|
||||
ChkMetaDatos.Checked = false;
|
||||
UPModalViewSolicitudesAgregar.Update();
|
||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||
RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||
}
|
||||
|
||||
protected void GvResumen_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||
|
||||
@@ -187,12 +187,12 @@ public partial class SAT_SolicitudesNominaSat : ClsPaginas
|
||||
txtFechaFAdd.Text = "";
|
||||
ChkMetaDatos.Checked = false;
|
||||
UPModalViewSolicitudesAgregar.Update();
|
||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||
RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||
}
|
||||
protected void LnkShowSolicitudes_Click(object sender, EventArgs e)
|
||||
{
|
||||
cargasolicitudes();
|
||||
this.RegistraScript("$('#ModalViewSolicitudes').modal();");
|
||||
RegistraScript("$('#ModalViewSolicitudes').modal();");
|
||||
}
|
||||
|
||||
protected void LnkSolicitarSat_Click(object sender, EventArgs e)
|
||||
@@ -218,10 +218,10 @@ public partial class SAT_SolicitudesNominaSat : ClsPaginas
|
||||
{
|
||||
txtFechaIAdd.Text = "";
|
||||
txtFechaFAdd.Text = "";
|
||||
//this.RegistraScript("$('#DModalSolicitudesNominas').modal('hide');");
|
||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||
//RegistraScript("$('#DModalSolicitudesNominas').modal('hide');");
|
||||
RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||
cargasolicitudes();
|
||||
this.Alert("se a envia la solicitud al sat, le enviaremos un correo en cuanto tengamos una respuesta", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
Alert("se a envia la solicitud al sat, le enviaremos un correo en cuanto tengamos una respuesta", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -207,7 +207,7 @@ Partial Class CatPS
|
||||
If ObjPS.DtResultados.Rows.Count > 0 Then
|
||||
GvProductos.DataSource = ObjPS.DtResultados
|
||||
GvProductos.DataBind()
|
||||
GvProductos.ExportToExcelx("Reporte de Producto")
|
||||
GvProductos.ExportToExcelX("Reporte de Producto")
|
||||
Else
|
||||
Alert("Todos los productos tienen Asignada Clave Producto Servicio SAT.", TipoMensaje.MsgInformacion)
|
||||
End If
|
||||
|
||||
@@ -43,7 +43,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
||||
ClsVentas ObjVentas = new ClsVentas();
|
||||
if (ObjVentas.GetClasificacionDetalle(UsuarioActual.CveEmpresa))
|
||||
{
|
||||
GvDatos.DataSource = ObjVentas.DtResultados;
|
||||
GvDatos.DataSource = ObjVentas.DtResultados;
|
||||
}
|
||||
ObjVentas.Dispose();
|
||||
GvDatos.DataBind();
|
||||
@@ -74,7 +74,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
||||
|
||||
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
||||
{
|
||||
e.Row.Cells[3].Text = "Activo";
|
||||
e.Row.Cells[3].Text = "Activo";
|
||||
e.Row.Cells[3].ForeColor = System.Drawing.Color.Green;
|
||||
}
|
||||
else
|
||||
@@ -87,7 +87,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
||||
|
||||
protected void LnkEliminar_Click(object sender, EventArgs e)
|
||||
{
|
||||
GridViewRow gvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||
GridViewRow gvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||
ClsVentas ObjVenta = new ClsVentas();
|
||||
bool Continuar = ObjVenta.RemoveClasificacionDetalle(gvRow.DataKey("CveClasificacionDetalle").ToEntero());
|
||||
ObjVenta.Dispose();
|
||||
@@ -97,7 +97,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
||||
CargaDatos();
|
||||
Alert("La Clasificacion Detalle se ha eliminado");
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||
|
||||
@@ -668,19 +668,34 @@
|
||||
<label for="<%= DdlClasificacion.ClientID.ToString()%>">Giro:</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group form-md-line-input input-iconright col-md-4" id="Div1" runat="server">
|
||||
|
||||
<asp:DropDownList ID="DdlVendedor" runat="server" CssClass="form-control select2me" Width="200px" DataTextField="Vendedor" DataValueField="CveVendedor"></asp:DropDownList>
|
||||
<asp:LinkButton ID="LnkAgregarVendedorSucursal" Visible="false" runat="server" data-toggle="tooltip" data-placement="right" title="Agregar vendedor por sucursal." CssClass="btn btn-circle btn-default" Text="<i class='fa fa-plus'></i> Agregar por Sucursal"></asp:LinkButton>
|
||||
<label for="<%= DdlVendedor.ClientID.ToString()%>">Vendedor:</label>
|
||||
<div class="col-md-6">
|
||||
<table>
|
||||
<tr>
|
||||
<td style="width:90%">
|
||||
<div class="form-group form-md-line-input input-iconright" id="Div1" runat="server">
|
||||
|
||||
<asp:DropDownList ID="DdlVendedor" runat="server" CssClass="form-control select2me" Width="100%" DataTextField="Vendedor" DataValueField="CveVendedor"></asp:DropDownList>
|
||||
<asp:LinkButton ID="LnkAgregarVendedorSucursal" Visible="false" runat="server" data-toggle="tooltip" data-placement="right" title="Agregar vendedor por sucursal." CssClass="btn btn-circle btn-default" Text="<i class='fa fa-plus'></i> Agregar por Sucursal"></asp:LinkButton>
|
||||
<label for="<%= DdlVendedor.ClientID.ToString()%>">Vendedor:</label>
|
||||
|
||||
</div>
|
||||
</td>
|
||||
<td style="width:10%">
|
||||
<div class="form-group form-md-line-input input-iconright" id="DVLnkCambiarVendedor" runat="server" visible="false">
|
||||
<asp:LinkButton runat="server" ID="LnkCambiarVendedor" CssClass="btn btn-default btn-circle btn-xs" Text="<i class='fa fa-check' style='color:green'></i>"
|
||||
data-toggle="confirmation" data-popout="true" data-original-title="¿Actualizar Vendedor?" data-btn-ok-label="si"
|
||||
OnClick="LnkCambiarVendedor_Click"></asp:LinkButton>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="form-group form-md-line-input input-iconright col-md-2" id="DVLnkCambiarVendedor" runat="server" visible="false">
|
||||
<asp:LinkButton runat="server" ID="LnkCambiarVendedor" CssClass="btn btn-default btn-circle btn-xs" Text="<i class='fa fa-check' style='color:green'></i>"
|
||||
data-toggle="confirmation" data-popout="true" data-original-title="¿Actualizar Vendedor?" data-btn-ok-label="si"
|
||||
OnClick="LnkCambiarVendedor_Click"></asp:LinkButton>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
<div class="form-group form-md-line-input input-iconright" id="Div2" runat="server">
|
||||
|
||||
@@ -372,6 +372,6 @@ public partial class Ventas_RepComisionesJAM : ClsPaginas
|
||||
else if (Convert.ToBoolean(gvRow.DataKey("TieneCategoriaValida")) && gvRow.DataKey("Comision").ToDouble() == 0)
|
||||
{
|
||||
LblInfo.Text = $"El producto se encuentra en la categoria: <b>{get_GlobalDTGralCategorias(UsuarioActual.CveEmpresa).FiltroPrimeroValor("Categoria", $"CveCategoria = {gvRow.DataKey("CveCategoria").ToString()}")}</b> que da comision, pero no se encuentra dentro de los rangos de precio publico y dias validos. <br/> % Precio Publico: <b>{gvRow.DataKey("PorcentajePrecioPublico").ToString()}</b> <br/> Dias Pago: <b>{gvRow.DataKey("DiasPago").ToString()}</b>";
|
||||
}
|
||||
}
|
||||
else if (gvRow.DataKey("Comision").ToDouble() > 0)
|
||||
{
|
||||
@@ -314,13 +314,13 @@ public partial class Ventas_RepLineasAdicionales : ClsPaginas
|
||||
|
||||
protected void LnkDescargaExcel_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
|
||||
if(TipoLinea == 1)
|
||||
{
|
||||
GridView gvTemp = GvLineasAdicionales;
|
||||
gvTemp.ExportToExcelX("RepLineasAdicionales" + DateTime.Now.ToShortDateString());
|
||||
}
|
||||
else if(TipoLinea == 2)
|
||||
else if(TipoLinea == 2)
|
||||
{
|
||||
GridView gvTemp = GvLAPO;
|
||||
gvTemp.Columns[8].Visible = false;
|
||||
|
||||
Reference in New Issue
Block a user