.
This commit is contained in:
@@ -51,7 +51,7 @@ Partial Class AIMMGM_Ventas
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
||||||
Gv.ExportToExcelx("ListadoVentas")
|
Gv.ExportToExcelX("ListadoVentas")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub DdlTipo_SelectedIndexChanged(sender As Object, e As EventArgs) Handles DdlTipo.SelectedIndexChanged
|
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)
|
Protected Sub BtnExportarExcel_Click(sender As Object, e As EventArgs)
|
||||||
GvGarantiasDetalle.ExportToExcelG(LblFolio.Text, "Ajustes de Garantía", UsuarioActual)
|
GvGarantiasDetalle.ExportToExcelG(LblFolio.Text, "Ajustes de Garantía", UsuarioActual)
|
||||||
'GvGarantiasDetalle.ExportToExcelx(LblFolio.Text)
|
'GvGarantiasDetalle.ExportToExcelX(LblFolio.Text)
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Public Overrides Sub VerifyRenderingInServerForm(ByVal control As Control)
|
Public Overrides Sub VerifyRenderingInServerForm(ByVal control As Control)
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ Public Class ClsPaginas
|
|||||||
End Property
|
End Property
|
||||||
|
|
||||||
#Region "Propiedades"
|
#Region "Propiedades"
|
||||||
|
Private Shared ReadOnly Property Rand As New Random()
|
||||||
|
|
||||||
Private Property SubReportData As Modelos.MSubReportData
|
Private Property SubReportData As Modelos.MSubReportData
|
||||||
Get
|
Get
|
||||||
@@ -6100,23 +6101,26 @@ Public Class ClsPaginas
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
Return Retorno
|
Return Retorno
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
Public Sub CerrarSession()
|
|
||||||
|
|
||||||
|
Public Sub CerrarSession()
|
||||||
Usuario.CerrarSession()
|
Usuario.CerrarSession()
|
||||||
End Sub
|
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
|
If DirectCast(pOpcion, Integer).Contiene(5, 7, 6, 8) Then
|
||||||
Mensaje = Mensaje.Replace("'"c, "\'").Replace(vbCrLf, "").Replace("""", "\'").Replace(vbLf, " ")
|
Mensaje = Mensaje.Replace("'"c, "\'").Replace(vbCrLf, "").Replace("""", "\'").Replace(vbLf, " ")
|
||||||
JSBtnAceptar = JSBtnAceptar.Replace("'"c, "\'")
|
JSBtnAceptar = JSBtnAceptar.Replace("'"c, "\'")
|
||||||
Dim toastscript As String = String.Format("alertatoast({3},'{0}',function(){{{1}}},{2});", Mensaje, JSBtnAceptar, timeout, DirectCast(pOpcion, Integer))
|
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
|
Else
|
||||||
Mensaje.Alert(Mensaje, pOpcion, JSBtnAceptar, TimeoutToast:=timeout, ShowCloseButton:=ShowCloseButton, TextoConfirmacion:=TextoConfirmacion, TextoSegundoBoton:=TextoSegundoBoton, JSBtn2:=JSBtn2)
|
Mensaje.Alert(Mensaje, pOpcion, JSBtnAceptar, TimeoutToast:=timeout, ShowCloseButton:=ShowCloseButton, TextoConfirmacion:=TextoConfirmacion, TextoSegundoBoton:=TextoSegundoBoton, JSBtn2:=JSBtn2)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Protected Overridable Sub Page_PreRender(sender As Object, e As EventArgs) Handles Me.PreRender
|
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
|
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")
|
RegistraScript(ViewState("strToastMsglargonoreplace").ToString(), "esteseraunticklargoparaquenosesobrescribaconotro")
|
||||||
ViewState("strToastMsglargonoreplace") = Nothing
|
ViewState("strToastMsglargonoreplace") = Nothing
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Protected Overrides Sub SavePageStateToPersistenceMedium(pviewState As Object)
|
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
|
'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
|
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
|
'Session.Add(VSKey, pviewState) 'Store the ViewState on Cache
|
||||||
ClientScript.RegisterHiddenField("__VIEWSTATE_KEY", VSKey)
|
ClientScript.RegisterHiddenField("__VIEWSTATE_KEY", VSKey)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object
|
Protected Overrides Function LoadPageStateFromPersistenceMedium() As Object
|
||||||
|
|
||||||
Dim VSKey As String = Request.Form("__VIEWSTATE_KEY")
|
Dim VSKey As String = Request.Form("__VIEWSTATE_KEY")
|
||||||
If Not VSKey.StartsWith("VIEWSTATE_") Then 'Request the Key from the page and validade it.
|
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))
|
Throw New Exception(String.Format("Invalid VIEWSTATE Key: {0}", VSKey))
|
||||||
@@ -6155,7 +6156,6 @@ Public Class ClsPaginas
|
|||||||
Else
|
Else
|
||||||
Return Cache(VSKey)
|
Return Cache(VSKey)
|
||||||
End If
|
End If
|
||||||
|
|
||||||
End Function
|
End Function
|
||||||
Public Shared Sub CargaParametros(Parametros As String)
|
Public Shared Sub CargaParametros(Parametros As String)
|
||||||
Dim P1() As String = Parametros.Split("&"c)
|
Dim P1() As String = Parametros.Split("&"c)
|
||||||
@@ -6168,17 +6168,14 @@ Public Class ClsPaginas
|
|||||||
P2 = Tmp.Split("="c)
|
P2 = Tmp.Split("="c)
|
||||||
UrlParametros.Add(P2(0).ToString.ToUpper(), P2(1))
|
UrlParametros.Add(P2(0).ToString.ToUpper(), P2(1))
|
||||||
Next
|
Next
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Shared Sub RegeneraImagen(ByVal Ruta As String)
|
Shared Sub RegeneraImagen(ByVal Ruta As String)
|
||||||
|
|
||||||
Dim BM As New Drawing.Bitmap(Ruta)
|
Dim BM As New Drawing.Bitmap(Ruta)
|
||||||
Dim Width As Integer = BM.Width
|
Dim Width As Integer = BM.Width
|
||||||
Dim Height As Integer = BM.Height
|
Dim Height As Integer = BM.Height
|
||||||
Dim Thumb As New Drawing.Bitmap(Width, Height)
|
Dim Thumb As New Drawing.Bitmap(Width, Height)
|
||||||
Dim G As Drawing.Graphics = Drawing.Graphics.FromImage(Thumb)
|
Dim G As Drawing.Graphics = Drawing.Graphics.FromImage(Thumb)
|
||||||
|
|
||||||
|
|
||||||
G.InterpolationMode = Drawing.Drawing2D.InterpolationMode.HighQualityBicubic
|
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)
|
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.Save(Ruta, Drawing.Imaging.ImageFormat.Jpeg) 'can use any image format
|
||||||
Thumb.Dispose()
|
Thumb.Dispose()
|
||||||
End Sub
|
End Sub
|
||||||
Public Sub RegistraScript(Script As String, Optional valuetick As String = "")
|
Public Shared Sub RegistraScript(Script As String, Optional valuetick As String = "")
|
||||||
Dim Rdm As Random = New Random()
|
Dim page As Page = TryCast(HttpContext.Current.CurrentHandler, Page)
|
||||||
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)
|
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
|
End Sub
|
||||||
Public Sub TabEnabled(Tab As System.Web.UI.HtmlControls.HtmlAnchor, Valor As Boolean)
|
Public Sub TabEnabled(Tab As System.Web.UI.HtmlControls.HtmlAnchor, Valor As Boolean)
|
||||||
If Valor Then
|
If Valor Then
|
||||||
@@ -6208,9 +6206,6 @@ Public Class ClsPaginas
|
|||||||
Public Sub TabActive(Tab As System.Web.UI.HtmlControls.HtmlAnchor)
|
Public Sub TabActive(Tab As System.Web.UI.HtmlControls.HtmlAnchor)
|
||||||
RegistraScript(String.Format("$( ""#{0}"" ).Click( );", Tab.ClientID))
|
RegistraScript(String.Format("$( ""#{0}"" ).Click( );", Tab.ClientID))
|
||||||
End Sub
|
End Sub
|
||||||
'''<summary>
|
|
||||||
'''
|
|
||||||
'''</summary>
|
|
||||||
Public Sub Alerta(Mensaje As String, Tipo As String, Funcion As String)
|
Public Sub Alerta(Mensaje As String, Tipo As String, Funcion As String)
|
||||||
RegistraScript(String.Format("bootbox.alert('{0}', function() {{{2}}} );", Mensaje, Tipo, Funcion))
|
RegistraScript(String.Format("bootbox.alert('{0}', function() {{{2}}} );", Mensaje, Tipo, Funcion))
|
||||||
End Sub
|
End Sub
|
||||||
@@ -10681,7 +10676,7 @@ Public Class ClsPaginas
|
|||||||
Dim ConceptoContable, IdCtaContable As Integer
|
Dim ConceptoContable, IdCtaContable As Integer
|
||||||
Dim TipoMovimiento As Boolean
|
Dim TipoMovimiento As Boolean
|
||||||
Dim Diferencia As Decimal = 0
|
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
|
||||||
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"
|
Private Const SEncryptionKeyAES As String = "$Ap7+5&z$Ap7+5&z$Ap7+5&z$Ap7+5&z"
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
|
||||||
Public Function ReadExcelFile(ByVal flatFilePath As String, ByVal firstRowHasHeaders As Boolean, Optional curRow As Integer = 0) As DataTable
|
Public Function ReadExcelFile(ByVal flatFilePath As String, ByVal firstRowHasHeaders As Boolean, Optional curRow As Integer = 0) As DataTable
|
||||||
GemBox.Spreadsheet.SpreadsheetInfo.SetLicense(ModExtensiones.SerialGemBoxSpreadsheet)
|
GemBox.Spreadsheet.SpreadsheetInfo.SetLicense(ModExtensiones.SerialGemBoxSpreadsheet)
|
||||||
Dim excelFile As GemBox.Spreadsheet.ExcelFile = GemBox.Spreadsheet.ExcelFile.Load(flatFilePath)
|
Dim excelFile As GemBox.Spreadsheet.ExcelFile = GemBox.Spreadsheet.ExcelFile.Load(flatFilePath)
|
||||||
@@ -125,7 +124,6 @@ Namespace Extensiones
|
|||||||
|
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
Public Function IfNull(Valor As Object, Predeterminado As Object, Optional IfNotNull As Object = Nothing) As Object
|
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
|
If Valor Is Nothing OrElse IsDBNull(Valor) Then ' si es nulo, manda el valor predeterminado
|
||||||
@@ -188,7 +186,6 @@ Namespace Extensiones
|
|||||||
End Try
|
End Try
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
<Runtime.CompilerServices.Extension()>
|
<Runtime.CompilerServices.Extension()>
|
||||||
Public Sub GuardaLog(Str As String)
|
Public Sub GuardaLog(Str As String)
|
||||||
Dim ArchivoW As StreamWriter
|
Dim ArchivoW As StreamWriter
|
||||||
@@ -337,8 +334,7 @@ Namespace Extensiones
|
|||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
#Region "Alertas y notificaciones"
|
#Region "Alertas y notificaciones"
|
||||||
|
|
||||||
Public Enum TipoUpdate As Integer
|
Public Enum TipoUpdate As Integer
|
||||||
|
|
||||||
NoGuardar = 0
|
NoGuardar = 0
|
||||||
@@ -362,7 +358,7 @@ Namespace Extensiones
|
|||||||
End Enum
|
End Enum
|
||||||
<Runtime.CompilerServices.Extension()>
|
<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 = "")
|
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 Titulo As String = ""
|
||||||
Dim Plus As String = DateTime.Now.Ticks.ToString
|
Dim Plus As String = DateTime.Now.Ticks.ToString
|
||||||
@@ -441,7 +437,7 @@ Namespace Extensiones
|
|||||||
closeButtonOption = "backdrop : ""static"", keyboard : false, closeButton: false,"
|
closeButtonOption = "backdrop : ""static"", keyboard : false, closeButton: false,"
|
||||||
End If
|
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 = ""
|
Dim script As String = ""
|
||||||
If showalert Then
|
If showalert Then
|
||||||
script = String.Format("bootbox.dialog({{message: ""{0} "", className: ""{11}"", {13} onEscape: function() {{ {12} }},title: ""{1}"",buttons: {{ success: {{ label: ""{2}"", className: "" {3}""," &
|
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()>
|
<Runtime.CompilerServices.Extension()>
|
||||||
Public Sub Alert2(Obj As Object, Mensaje As String, pOpcion As TipoMensaje, Optional JSBtnAceptar As String = "")
|
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 Img, Botones As String
|
||||||
Dim Titulo As String
|
Dim Titulo As String
|
||||||
Dim Plus As String = DateTime.Now.Ticks.ToString
|
Dim Plus As String = DateTime.Now.Ticks.ToString
|
||||||
@@ -503,7 +499,7 @@ Namespace Extensiones
|
|||||||
Try
|
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(), "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)
|
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
|
Pag = Nothing
|
||||||
@@ -555,7 +551,7 @@ Namespace Extensiones
|
|||||||
|
|
||||||
'<Runtime.CompilerServices.Extension()>
|
'<Runtime.CompilerServices.Extension()>
|
||||||
'Public Sub updateindicador(Obj As Object, script As String)
|
'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)
|
' ScriptManager.RegisterStartupScript(Pag, Pag.GetType(), (DateTime.Now.Ticks + 1).ToString(), script, True)
|
||||||
' Pag = Nothing
|
' Pag = Nothing
|
||||||
'End Sub
|
'End Sub
|
||||||
@@ -3644,16 +3640,7 @@ Namespace Extensiones
|
|||||||
|
|
||||||
<Runtime.CompilerServices.Extension()>
|
<Runtime.CompilerServices.Extension()>
|
||||||
Public Sub RegistraScript(Obj As Object, Script As String)
|
Public Sub RegistraScript(Obj As Object, Script As String)
|
||||||
RegistraScript(Script)
|
ClsPaginas.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
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
<Runtime.CompilerServices.Extension()>
|
<Runtime.CompilerServices.Extension()>
|
||||||
@@ -3668,7 +3655,7 @@ Namespace Extensiones
|
|||||||
|
|
||||||
Private ReadOnly Property ObjClsPaginas As ClsPaginas
|
Private ReadOnly Property ObjClsPaginas As ClsPaginas
|
||||||
Get
|
Get
|
||||||
Return DirectCast(System.Web.HttpContext.Current.Handler, ClsPaginas)
|
Return DirectCast(System.Web.HttpContext.Current.CurrentHandler, ClsPaginas)
|
||||||
End Get
|
End Get
|
||||||
End Property
|
End Property
|
||||||
|
|
||||||
|
|||||||
@@ -447,7 +447,7 @@ Partial Class Bancos_RepComplementoPago
|
|||||||
Protected Sub LnkExcel_Click(sender As Object, e As EventArgs)
|
Protected Sub LnkExcel_Click(sender As Object, e As EventArgs)
|
||||||
|
|
||||||
' GvD.ExportToExcelG("ReporteComplementos", "Reporte Complementos", UsuarioActual)
|
' GvD.ExportToExcelG("ReporteComplementos", "Reporte Complementos", UsuarioActual)
|
||||||
'GvD.ExportToExcelx("ReporteComplementos.xlsx")
|
'GvD.ExportToExcelX("ReporteComplementos.xlsx")
|
||||||
' GvD.ExportToExcel("ReporteComplementos.xlsx")
|
' GvD.ExportToExcel("ReporteComplementos.xlsx")
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -97,11 +97,11 @@ Partial Class Temporal_RepVotos
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub ImgExcelHombres_Click(sender As Object, e As EventArgs) Handles ImgExcelHombres.Click
|
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
|
End Sub
|
||||||
|
|
||||||
Private Sub ImgExcelMujeres_Click(sender As Object, e As EventArgs) Handles ImgExcelMujeres.Click
|
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 Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkAgregarCargoFijo_Click(object sender, EventArgs e)
|
protected void LnkAgregarCargoFijo_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
||||||
LimpiaModal();
|
LimpiaModal();
|
||||||
BtnAddCargoFijo.Text = "Agregar";
|
BtnAddCargoFijo.Text = "Agregar";
|
||||||
Modalidad = "A";
|
Modalidad = "A";
|
||||||
@@ -70,7 +70,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
|||||||
ClsCGame ObjCGame = new ClsCGame();
|
ClsCGame ObjCGame = new ClsCGame();
|
||||||
if (ObjCGame.RemoveCargoFijo(CveCargoFijo))
|
if (ObjCGame.RemoveCargoFijo(CveCargoFijo))
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
||||||
CargaCargosFijos();
|
CargaCargosFijos();
|
||||||
Alert("Eliminado Correctamente.");
|
Alert("Eliminado Correctamente.");
|
||||||
}
|
}
|
||||||
@@ -90,7 +90,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
|||||||
DdlMoneda.SelectedValueExist(gvRow.DataKey("CveMoneda"));
|
DdlMoneda.SelectedValueExist(gvRow.DataKey("CveMoneda"));
|
||||||
ChkEstatus.Checked = Convert.ToBoolean(gvRow.DataKey("Estatus"));
|
ChkEstatus.Checked = Convert.ToBoolean(gvRow.DataKey("Estatus"));
|
||||||
CambioTipo();
|
CambioTipo();
|
||||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
RegistraScript("$('#ModalAgregarCargoFijo').modal();");
|
||||||
DivEstatus.Visible = true;
|
DivEstatus.Visible = true;
|
||||||
BtnAddCargoFijo.Text = "Actualizar";
|
BtnAddCargoFijo.Text = "Actualizar";
|
||||||
UpModalCargoFijo.Update();
|
UpModalCargoFijo.Update();
|
||||||
@@ -148,7 +148,7 @@ public partial class CGame_CatCargosFijos : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (!Error)
|
if (!Error)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
RegistraScript("$('#ModalAgregarCargoFijo').modal('hide');");
|
||||||
CargaCargosFijos();
|
CargaCargosFijos();
|
||||||
if (Modalidad=="A") { Alert("Agregado Correctamente."); } else if (Modalidad == "U") { Alert("Actualizado Correctamente."); }
|
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()
|
protected void CargaConcepto()
|
||||||
{
|
{
|
||||||
ClsCGame ObjCGame = new ClsCGame();
|
ClsCGame ObjCGame = new ClsCGame();
|
||||||
if (ObjCGame.GetConceptoGastoCorte(UsuarioActual.CveEmpresa))
|
if (ObjCGame.GetConceptoGastoCorte(UsuarioActual.CveEmpresa))
|
||||||
{
|
{
|
||||||
@@ -58,16 +58,16 @@ public partial class CGame_CatConceptoGastoCorte : ClsPaginas
|
|||||||
protected void GvConcepto_RowDataBound(object sender, GridViewRowEventArgs e)
|
protected void GvConcepto_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
{
|
{
|
||||||
if (e.Row.RowType == DataControlRowType.DataRow)
|
if (e.Row.RowType == DataControlRowType.DataRow)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
||||||
{
|
{
|
||||||
e.Row.FCLabel("lblestatus").Text = "Activo";
|
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
|
else
|
||||||
{
|
{
|
||||||
e.Row.FCLabel("lblestatus").Text = "Inactivo";
|
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
|
public partial class CATHuerta :ClsPaginas
|
||||||
{
|
{
|
||||||
|
|
||||||
#region Propiedades
|
#region Propiedades
|
||||||
private int CveHuerta
|
private int CveHuerta
|
||||||
{
|
{
|
||||||
get{return (ViewState["CveHuerta"] == null) ? 0 : Convert.ToInt32(ViewState["CveHuerta"]);}
|
get{return (ViewState["CveHuerta"] == null) ? 0 : Convert.ToInt32(ViewState["CveHuerta"]);}
|
||||||
set{ViewState["CveHuerta"] =value;}
|
set{ViewState["CveHuerta"] =value;}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
protected void Page_Load(object sender, EventArgs e)
|
protected void Page_Load(object sender, EventArgs e)
|
||||||
|
|||||||
@@ -3,8 +3,8 @@
|
|||||||
using System.Linq;
|
using System.Linq;
|
||||||
using System.Web;
|
using System.Web;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Extensiones;
|
using Extensiones;
|
||||||
|
|
||||||
public partial class CATMotivosMerma :ClsPaginas
|
public partial class CATMotivosMerma :ClsPaginas
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ public partial class CATProductos : ClsPaginas
|
|||||||
CvePS = gvRow.DataKey("CvePS").ToEntero();
|
CvePS = gvRow.DataKey("CvePS").ToEntero();
|
||||||
TxtProdpS.Text = gvRow.DataKey("PS");
|
TxtProdpS.Text = gvRow.DataKey("PS");
|
||||||
ChkProdestatus.Checked = Convert.ToBoolean(gvRow.DataKey("Estatus"));
|
ChkProdestatus.Checked = Convert.ToBoolean(gvRow.DataKey("Estatus"));
|
||||||
this.RegistraScript("$('#DModalProductos').modal();");
|
RegistraScript("$('#DModalProductos').modal();");
|
||||||
BtnProdADD.Visible = false;
|
BtnProdADD.Visible = false;
|
||||||
BtnProdEdit.Visible = true;
|
BtnProdEdit.Visible = true;
|
||||||
DivEstatus.Visible = true;
|
DivEstatus.Visible = true;
|
||||||
@@ -56,7 +56,7 @@ public partial class CATProductos : ClsPaginas
|
|||||||
}
|
}
|
||||||
protected void LnkAgregarProd_Click(object sender, EventArgs e)
|
protected void LnkAgregarProd_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalProductos').modal();");
|
RegistraScript("$('#DModalProductos').modal();");
|
||||||
LimpiaProductos();
|
LimpiaProductos();
|
||||||
BtnProdADD.Visible=true;
|
BtnProdADD.Visible=true;
|
||||||
BtnProdEdit.Visible=false;
|
BtnProdEdit.Visible=false;
|
||||||
@@ -71,7 +71,7 @@ public partial class CATProductos : ClsPaginas
|
|||||||
ObjCGame.Dispose();
|
ObjCGame.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalProductos').modal('hide');");
|
RegistraScript("$('#DModalProductos').modal('hide');");
|
||||||
LimpiaProductos();
|
LimpiaProductos();
|
||||||
UPModalProd.Update();
|
UPModalProd.Update();
|
||||||
Alert("El Producto se ha agregado");
|
Alert("El Producto se ha agregado");
|
||||||
@@ -86,7 +86,7 @@ public partial class CATProductos : ClsPaginas
|
|||||||
ObjCGame.Dispose();
|
ObjCGame.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalProductos').modal('hide');");
|
RegistraScript("$('#DModalProductos').modal('hide');");
|
||||||
LimpiaProductos();
|
LimpiaProductos();
|
||||||
UPModalProd.Update();
|
UPModalProd.Update();
|
||||||
Alert("El Producto se ha actualizado");
|
Alert("El Producto se ha actualizado");
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ private int CveScat
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected void CargaScat()
|
protected void CargaScat()
|
||||||
{
|
{
|
||||||
ClsCGame ObjCGame = new ClsCGame();
|
ClsCGame ObjCGame = new ClsCGame();
|
||||||
if (ObjCGame.GetScat(UsuarioActual.CveEmpresa))
|
if (ObjCGame.GetScat(UsuarioActual.CveEmpresa))
|
||||||
{
|
{
|
||||||
@@ -51,7 +51,7 @@ private int CveScat
|
|||||||
BtnScatEdit.Visible = false;
|
BtnScatEdit.Visible = false;
|
||||||
DivEstatus.Visible = false;
|
DivEstatus.Visible = false;
|
||||||
UpModal.Update();
|
UpModal.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void GvScat_RowDataBound(object sender, GridViewRowEventArgs e)
|
protected void GvScat_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
{
|
{
|
||||||
@@ -61,11 +61,11 @@ private int CveScat
|
|||||||
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
||||||
{
|
{
|
||||||
e.Row.FCLabel("lblestatus").Text = "Activo";
|
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
|
else
|
||||||
{
|
{
|
||||||
e.Row.FCLabel("lblestatus").Text = "Inactivo";
|
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
|
public partial class CATTipoProducto : ClsPaginas
|
||||||
{
|
{
|
||||||
|
|
||||||
#region Propiedades
|
#region Propiedades
|
||||||
|
|
||||||
private int CveTipoProducto
|
private int CveTipoProducto
|
||||||
{
|
{
|
||||||
get{return (ViewState["CveTipoProducto"] == null) ? 0 : Convert.ToInt32(ViewState["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();
|
CargaGvResultado();
|
||||||
UpModalAdd.Update();
|
UpModalAdd.Update();
|
||||||
UpResultado.Update();
|
UpResultado.Update();
|
||||||
this.RegistraScript("$('#DivResultado').modal();");
|
RegistraScript("$('#DivResultado').modal();");
|
||||||
}
|
}
|
||||||
protected void LnkAgregarResultado_Click(object sender, EventArgs e)
|
protected void LnkAgregarResultado_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Modalidad = "A";
|
Modalidad = "A";
|
||||||
this.RegistraScript("$('#DivResultado').modal();");
|
RegistraScript("$('#DivResultado').modal();");
|
||||||
LimpiaModal();
|
LimpiaModal();
|
||||||
BtnOPADD.Text = "Agregar";
|
BtnOPADD.Text = "Agregar";
|
||||||
CargaGvResultado();
|
CargaGvResultado();
|
||||||
@@ -904,7 +904,7 @@ public partial class Empaque : ClsPaginas
|
|||||||
ChkTipoEtiqueta.Checked, DdlCalidad.SelectedValue.ToEntero(), DdlTipoCaja.SelectedValue.ToEntero(), TxtPeso.Text.ToDouble(),
|
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);
|
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.DataSource = DtResultado;
|
||||||
GvResultado.DataBind();
|
GvResultado.DataBind();
|
||||||
UpResultado.Update();
|
UpResultado.Update();
|
||||||
|
|||||||
@@ -156,11 +156,11 @@ public partial class CATCorte : ClsPaginas
{
|
|||||||
{
|
{
|
||||||
ClsCGame ObjCGame = new ClsCGame();
|
ClsCGame ObjCGame = new ClsCGame();
|
||||||
if (ObjCGame.GetFlete(UsuarioActual.CveEmpresa, CveOrdenCorte: DdlOrdenCorte.SelectedValue.ToEntero()))
|
if (ObjCGame.GetFlete(UsuarioActual.CveEmpresa, CveOrdenCorte: DdlOrdenCorte.SelectedValue.ToEntero()))
|
||||||
{
|
{
|
||||||
if (CveFlete < 1)
|
if (CveFlete < 1)
|
||||||
{
|
{
|
||||||
DdlFlete.DataSource = ObjCGame.DtResultados.FiltraParametros("Peso IS NULL");
|
DdlFlete.DataSource = ObjCGame.DtResultados.FiltraParametros("Peso IS NULL");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
DdlFlete.DataSource = ObjCGame.DtResultados.FiltraParametros(String.Format("Peso IS NULL OR CveFlete = {0}", CveFlete));
|
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();
|
ObjCGame.Dispose();
|
||||||
}
|
}
|
||||||
DdlFlete.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
DdlFlete.Items.Insert(0, new ListItem("Seleccione", "-1"));
|
||||||
DdlFlete.DataBind();
|
DdlFlete.DataBind();
|
||||||
}
|
}
|
||||||
@@ -192,7 +192,7 @@ public partial class CATCorte : ClsPaginas
{
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
@@ -228,7 +228,7 @@ public partial class CATCorte : ClsPaginas
{
|
|||||||
Agregar();
|
Agregar();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void Agregar()
|
protected void Agregar()
|
||||||
{
|
{
|
||||||
RegistraScript("$('#DModalCorte').modal();");
|
RegistraScript("$('#DModalCorte').modal();");
|
||||||
LimpiaCorte();
|
LimpiaCorte();
|
||||||
@@ -276,7 +276,7 @@ public partial class CATCorte : ClsPaginas
{
|
|||||||
CargaCorte();
|
CargaCorte();
|
||||||
Alert("La entrada de materia prima se ha agregado correctamente");
|
Alert("La entrada de materia prima se ha agregado correctamente");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ObjCort.RollBack();
|
ObjCort.RollBack();
|
||||||
|
|||||||
@@ -393,7 +393,7 @@ public partial class CGame_Fletes : ClsPaginas
|
|||||||
if (gvRow.DataKey("Adjunto").ToString() != "-1") { LnkDescargar.Visible = true; }
|
if (gvRow.DataKey("Adjunto").ToString() != "-1") { LnkDescargar.Visible = true; }
|
||||||
Modalidad = "U";
|
Modalidad = "U";
|
||||||
BtnAddFlete.Text = "Actualizar";
|
BtnAddFlete.Text = "Actualizar";
|
||||||
this.RegistraScript("$('#DModalFlete').modal();","asd");
|
RegistraScript("$('#DModalFlete').modal();","asd");
|
||||||
UpModalFleteAdd.Update();
|
UpModalFleteAdd.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -409,7 +409,7 @@ public partial class CGame_Fletes : ClsPaginas
|
|||||||
BtnAddFlete.Text = "Agregar";
|
BtnAddFlete.Text = "Agregar";
|
||||||
if (CveOrdenCorteOpcion > 0) { DdlOrdenCorte.SelectedValueExist(CveOrdenCorteOpcion); CargaFleteHuertaEmpaque(); DdlTipo.SelectedValue = "1"; }
|
if (CveOrdenCorteOpcion > 0) { DdlOrdenCorte.SelectedValueExist(CveOrdenCorteOpcion); CargaFleteHuertaEmpaque(); DdlTipo.SelectedValue = "1"; }
|
||||||
if (CveOrdenProduccionOpcion > 0) { DdlOrdenProduccion.SelectedValueExist(CveOrdenProduccionOpcion); DdlTipo.SelectedValue = "2"; }
|
if (CveOrdenProduccionOpcion > 0) { DdlOrdenProduccion.SelectedValueExist(CveOrdenProduccionOpcion); DdlTipo.SelectedValue = "2"; }
|
||||||
this.RegistraScript("$('#DModalFlete').modal();");
|
RegistraScript("$('#DModalFlete').modal();");
|
||||||
UpModalFleteAdd.Update();
|
UpModalFleteAdd.Update();
|
||||||
}
|
}
|
||||||
protected void BtnAddFlete_Click(object sender, EventArgs e)
|
protected void BtnAddFlete_Click(object sender, EventArgs e)
|
||||||
@@ -465,7 +465,7 @@ public partial class CGame_Fletes : ClsPaginas
|
|||||||
{
|
{
|
||||||
_CveFlete = ObjCGame.CveFlete;
|
_CveFlete = ObjCGame.CveFlete;
|
||||||
GuardarAdjunto();
|
GuardarAdjunto();
|
||||||
this.RegistraScript("$('#DModalFlete').modal('hide');");
|
RegistraScript("$('#DModalFlete').modal('hide');");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -538,7 +538,7 @@ public partial class CGame_Fletes : ClsPaginas
|
|||||||
_CveFlete = CveFlete;
|
_CveFlete = CveFlete;
|
||||||
Alert("El Flete fue actualizado correctamente");
|
Alert("El Flete fue actualizado correctamente");
|
||||||
GuardarAdjunto();
|
GuardarAdjunto();
|
||||||
this.RegistraScript("$('#DModalFlete').modal('hide');");
|
RegistraScript("$('#DModalFlete').modal('hide');");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -917,7 +917,7 @@ public partial class CGame_Fletes : ClsPaginas
|
|||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
//GvFlete.ExportToExcelx("Fletes");
|
//GvFlete.ExportToExcelX("Fletes");
|
||||||
ExportToExcelG(GvFlete,"Fletes", "Fletes", UsuarioActual);
|
ExportToExcelG(GvFlete,"Fletes", "Fletes", UsuarioActual);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
|
|||||||
@@ -137,8 +137,8 @@ public partial class CGame_GenerarOrdenCorte : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (SiSelecciono || RblTipoOC.SelectedValue.ToEntero()==2)
|
if (SiSelecciono || RblTipoOC.SelectedValue.ToEntero()==2)
|
||||||
{
|
{
|
||||||
this.RegistraScript("recorreGrilla();", "recorre");
|
RegistraScript("recorreGrilla();", "recorre");
|
||||||
this.RegistraScript("$('#DivModalOC').modal();");
|
RegistraScript("$('#DivModalOC').modal();");
|
||||||
LimpiaModal();
|
LimpiaModal();
|
||||||
UpAccion.Update();
|
UpAccion.Update();
|
||||||
}
|
}
|
||||||
@@ -187,9 +187,9 @@ public partial class CGame_GenerarOrdenCorte : ClsPaginas
|
|||||||
ObjCGame.Commit();
|
ObjCGame.Commit();
|
||||||
EnviarCorreo(CveOrdenCorte);
|
EnviarCorreo(CveOrdenCorte);
|
||||||
Alert("Se genero la orden de corte correctamente con el folio <b>" + Folio + "</b>.", TipoMensaje.MsgInformacion);
|
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();
|
CargaOrdenProduccionDetalle();
|
||||||
this.RegistraScript("recorreGrilla();", "recorre");
|
RegistraScript("recorreGrilla();", "recorre");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -276,7 +276,7 @@ public partial class CGame_GenerarOrdenCorte : ClsPaginas
|
|||||||
GvRow.FCCheckBox("ChkOC").Checked = true;
|
GvRow.FCCheckBox("ChkOC").Checked = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.RegistraScript("recorreGrilla();");
|
RegistraScript("recorreGrilla();");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1046,7 +1046,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
|||||||
BtnRegistrarCierreCancelacion.Text = "Actualizar";
|
BtnRegistrarCierreCancelacion.Text = "Actualizar";
|
||||||
}
|
}
|
||||||
|
|
||||||
this.RegistraScript("$('#ModalCierreMotivoRechazo').modal();");
|
RegistraScript("$('#ModalCierreMotivoRechazo').modal();");
|
||||||
UpCierreMotivoRechazo.Update();
|
UpCierreMotivoRechazo.Update();
|
||||||
}
|
}
|
||||||
protected void EliminarFile(object sender, EventArgs e)
|
protected void EliminarFile(object sender, EventArgs e)
|
||||||
@@ -1103,7 +1103,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
|||||||
CargaDatos();
|
CargaDatos();
|
||||||
CargaEtapasBitacora();
|
CargaEtapasBitacora();
|
||||||
|
|
||||||
this.RegistraScript("$('#ModalCierreMotivoRechazo').modal('hide');");
|
RegistraScript("$('#ModalCierreMotivoRechazo').modal('hide');");
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
@@ -1726,7 +1726,7 @@ public partial class CRM_Acercamiento : ClsPaginas
|
|||||||
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||||
string Lat = GvRow.DataKey("Lat");
|
string Lat = GvRow.DataKey("Lat");
|
||||||
string Long = GvRow.DataKey("Long");
|
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
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -210,7 +210,7 @@ public partial class CRM_CatEtapasProceso : ClsPaginas
|
|||||||
|
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
@@ -244,7 +244,7 @@ public partial class CRM_CatEtapasProceso : ClsPaginas
|
|||||||
|
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
private void bloquearEtapasAnteriores(int CveTipoEtapa)
|
private void bloquearEtapasAnteriores(int CveTipoEtapa)
|
||||||
@@ -323,7 +323,7 @@ public partial class CRM_CatEtapasProceso : ClsPaginas
|
|||||||
|
|
||||||
ObjCRM.Dispose();
|
ObjCRM.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
RegistraScript("$('#DivModal').modal('hide');");
|
||||||
CargaDatos(-1);
|
CargaDatos(-1);
|
||||||
DdlFiltroProceso.SelectedValueExist("-1");
|
DdlFiltroProceso.SelectedValueExist("-1");
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -126,7 +126,7 @@ public partial class CRM_CatMediosCaptacion : ClsPaginas
|
|||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void GVDatos_RowDeleting(object sender, GridViewDeleteEventArgs e)
|
protected void GVDatos_RowDeleting(object sender, GridViewDeleteEventArgs e)
|
||||||
@@ -189,7 +189,7 @@ public partial class CRM_CatMediosCaptacion : ClsPaginas
|
|||||||
DdlTipoProceso.SelectedValue = GvRow.DataKey("CveTipoProceso").ToString();
|
DdlTipoProceso.SelectedValue = GvRow.DataKey("CveTipoProceso").ToString();
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||||
@@ -219,7 +219,7 @@ public partial class CRM_CatMediosCaptacion : ClsPaginas
|
|||||||
|
|
||||||
ObjCRM.Dispose();
|
ObjCRM.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
RegistraScript("$('#DivModal').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -129,7 +129,7 @@ public partial class CRM_CatProbabilidadAcercamiento : ClsPaginas
|
|||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
@@ -146,7 +146,7 @@ public partial class CRM_CatProbabilidadAcercamiento : ClsPaginas
|
|||||||
DdlTipoProceso.SelectedValue = GvRow.DataKey("CveTipoProceso").ToString();
|
DdlTipoProceso.SelectedValue = GvRow.DataKey("CveTipoProceso").ToString();
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||||
@@ -176,7 +176,7 @@ public partial class CRM_CatProbabilidadAcercamiento : ClsPaginas
|
|||||||
|
|
||||||
ObjCRM.Dispose();
|
ObjCRM.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
RegistraScript("$('#DivModal').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -127,7 +127,7 @@ public partial class CRM_CatRechazoMotivo : ClsPaginas
|
|||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -145,7 +145,7 @@ public partial class CRM_CatRechazoMotivo : ClsPaginas
|
|||||||
|
|
||||||
UPModal.Update();
|
UPModal.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModal').modal();");
|
RegistraScript("$('#DivModal').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||||
@@ -176,7 +176,7 @@ public partial class CRM_CatRechazoMotivo : ClsPaginas
|
|||||||
|
|
||||||
ObjCRM.Dispose();
|
ObjCRM.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DivModal').modal('hide');");
|
RegistraScript("$('#DivModal').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -206,7 +206,7 @@ public partial class CRM_CatTipoProceso : ClsPaginas
|
|||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
UPModalTipoProceso.Update();
|
UPModalTipoProceso.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalTipoProceso').modal();");
|
RegistraScript("$('#DivModalTipoProceso').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
@@ -228,7 +228,7 @@ public partial class CRM_CatTipoProceso : ClsPaginas
|
|||||||
|
|
||||||
UPModalTipoProceso.Update();
|
UPModalTipoProceso.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalTipoProceso').modal();");
|
RegistraScript("$('#DivModalTipoProceso').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardar_Click(object sender, EventArgs e)
|
protected void BtnGuardar_Click(object sender, EventArgs e)
|
||||||
@@ -260,7 +260,7 @@ public partial class CRM_CatTipoProceso : ClsPaginas
|
|||||||
|
|
||||||
ObjCRM.Dispose();
|
ObjCRM.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DivModalTipoProceso').modal('hide');");
|
RegistraScript("$('#DivModalTipoProceso').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1082,7 +1082,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
CargaGridTipoContacto();
|
CargaGridTipoContacto();
|
||||||
CargaContactoSuperior(-1);
|
CargaContactoSuperior(-1);
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalContacto').modal();");
|
RegistraScript("$('#DivModalContacto').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditarContacto_Click(object sender, EventArgs e)
|
protected void LnkEditarContacto_Click(object sender, EventArgs e)
|
||||||
@@ -1111,7 +1111,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
UPModalContacto.Update();
|
UPModalContacto.Update();
|
||||||
|
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalContacto').modal();");
|
RegistraScript("$('#DivModalContacto').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardarContacto_Click(object sender, EventArgs e)
|
protected void BtnGuardarContacto_Click(object sender, EventArgs e)
|
||||||
@@ -1235,7 +1235,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
}
|
}
|
||||||
|
|
||||||
limpiarCamposModalContato();
|
limpiarCamposModalContato();
|
||||||
this.RegistraScript("$('#DivModalContacto').modal('hide');");
|
RegistraScript("$('#DivModalContacto').modal('hide');");
|
||||||
UpContactos.Update();
|
UpContactos.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1465,7 +1465,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
|
|
||||||
//protected void LnkAgregarEvento_Click(object sender, EventArgs e)
|
//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
|
#endregion
|
||||||
|
|
||||||
@@ -1740,7 +1740,7 @@ public partial class CRM_EmpresaCRM : ClsPaginas
|
|||||||
CargaMetodosCaptacion();
|
CargaMetodosCaptacion();
|
||||||
InicializaAcercamientos();
|
InicializaAcercamientos();
|
||||||
limpiarCamposModalAcercamiento();
|
limpiarCamposModalAcercamiento();
|
||||||
this.RegistraScript("$('#DivModalAltaAcercamiento').modal();");
|
RegistraScript("$('#DivModalAltaAcercamiento').modal();");
|
||||||
UpAltaAcercamiento.Update();
|
UpAltaAcercamiento.Update();
|
||||||
//Confirmacion("Se le redireccionara para realizar el Registro del Acercamiento, ¿Desea continuar?", "", "document.location.href=\"/CRM/Acercamiento.aspx\"", "");
|
//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();
|
ObjCRM.Dispose();
|
||||||
ObjBitacora.Dispose();
|
ObjBitacora.Dispose();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalAltaAcercamiento').modal('hide');");
|
RegistraScript("$('#DivModalAltaAcercamiento').modal('hide');");
|
||||||
|
|
||||||
UPAcercamientos.Update();
|
UPAcercamientos.Update();
|
||||||
|
|
||||||
|
|||||||
@@ -2777,6 +2777,11 @@ Partial Class Compras_Compras
|
|||||||
LBContabilizarAC.Visible = True
|
LBContabilizarAC.Visible = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If UsuarioActual.Empresa.TipoContabilidad = 1 Then
|
||||||
|
trContabilizada.Visible = False
|
||||||
|
End If
|
||||||
|
|
||||||
UPPDescontablizar.Update()
|
UPPDescontablizar.Update()
|
||||||
|
|
||||||
TxtFechaPago.Text = dr("FechaVencimiento").ToString.ToDate.ToShortDateString
|
TxtFechaPago.Text = dr("FechaVencimiento").ToString.ToDate.ToShortDateString
|
||||||
@@ -6645,7 +6650,16 @@ Partial Class Compras_Compras
|
|||||||
Else
|
Else
|
||||||
|
|
||||||
If Not CveCompraRefacturacion > 0 Then
|
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
|
ErrorPrepoliza = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -2394,7 +2394,7 @@ Partial Class Compras_Proveedores
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
UPPSucursales.Update()
|
UPPSucursales.Update()
|
||||||
Me.RegistraScript("$('#divAgregarSucursal').modal('hide');")
|
RegistraScript("$('#divAgregarSucursal').modal('hide');")
|
||||||
LimpiaModalAgregarSucursal()
|
LimpiaModalAgregarSucursal()
|
||||||
End Sub
|
End Sub
|
||||||
Private Sub OcultaDiv()
|
Private Sub OcultaDiv()
|
||||||
@@ -2528,7 +2528,7 @@ Partial Class Compras_Proveedores
|
|||||||
DivPContactosSucursal.Visible = True
|
DivPContactosSucursal.Visible = True
|
||||||
UpAgregarSucursal.Update()
|
UpAgregarSucursal.Update()
|
||||||
|
|
||||||
Me.RegistraScript("$('#divAgregarSucursal').modal('show');")
|
RegistraScript("$('#divAgregarSucursal').modal('show');")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub LnkAgregarSucursal_Click(sender As Object, e As EventArgs)
|
Protected Sub LnkAgregarSucursal_Click(sender As Object, e As EventArgs)
|
||||||
@@ -2540,7 +2540,7 @@ Partial Class Compras_Proveedores
|
|||||||
End If
|
End If
|
||||||
DivPContactosSucursal.Visible = False
|
DivPContactosSucursal.Visible = False
|
||||||
LimpiaModalAgregarSucursal()
|
LimpiaModalAgregarSucursal()
|
||||||
Me.RegistraScript("$('#divAgregarSucursal').modal('show');")
|
RegistraScript("$('#divAgregarSucursal').modal('show');")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub LimpiaModalAgregarSucursal()
|
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("SaldoDisponible", (TxtLimiteCredito.Text.ToDouble - dr("Saldo").ToString.ToDouble).ToString.FormatoNumero))
|
||||||
lista.Add(New CrystalParametro("UsuarioImprimio", UsuarioActual.Nombre))
|
lista.Add(New CrystalParametro("UsuarioImprimio", UsuarioActual.Nombre))
|
||||||
lista.Add(New CrystalParametro("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", "")))
|
lista.Add(New CrystalParametro("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", "")))
|
||||||
|
|
||||||
'Dim params As New List(Of ReportParameter)
|
'Dim params As New List(Of ReportParameter)
|
||||||
Dim dtnc As New DataTable
|
Dim dtnc As New DataTable
|
||||||
Dim ObjCompra As New ClsCompras()
|
Dim ObjCompra As New ClsCompras()
|
||||||
@@ -4908,7 +4908,7 @@ Partial Class Compras_Proveedores
|
|||||||
EsEditar = 0
|
EsEditar = 0
|
||||||
|
|
||||||
limpiarCamposModalAgregarContacto()
|
limpiarCamposModalAgregarContacto()
|
||||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal();")
|
RegistraScript("$('#DivAgregarContactoProveedor').modal();")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub imgEditarContactoProv_Click(sender As Object, e As EventArgs)
|
Protected Sub imgEditarContactoProv_Click(sender As Object, e As EventArgs)
|
||||||
@@ -4931,7 +4931,7 @@ Partial Class Compras_Proveedores
|
|||||||
|
|
||||||
UpAgregarContatoProveedor.Update()
|
UpAgregarContatoProveedor.Update()
|
||||||
|
|
||||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -4977,7 +4977,7 @@ Partial Class Compras_Proveedores
|
|||||||
EsContactoSucursal = 1
|
EsContactoSucursal = 1
|
||||||
EsEditar = 0
|
EsEditar = 0
|
||||||
limpiarCamposModalAgregarContacto()
|
limpiarCamposModalAgregarContacto()
|
||||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub imgEditarContactoProvSuc_Click(sender As Object, e As EventArgs)
|
Protected Sub imgEditarContactoProvSuc_Click(sender As Object, e As EventArgs)
|
||||||
@@ -5001,7 +5001,7 @@ Partial Class Compras_Proveedores
|
|||||||
|
|
||||||
UpAgregarContatoProveedor.Update()
|
UpAgregarContatoProveedor.Update()
|
||||||
|
|
||||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
RegistraScript("$('#DivAgregarContactoProveedor').modal('show');")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub GVContactosProveedorSucursal_RowDeleting(sender As Object, e As GridViewDeleteEventArgs)
|
Protected Sub GVContactosProveedorSucursal_RowDeleting(sender As Object, e As GridViewDeleteEventArgs)
|
||||||
@@ -5130,7 +5130,7 @@ Partial Class Compras_Proveedores
|
|||||||
|
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Me.RegistraScript("$('#DivAgregarContactoProveedor').modal('hide');")
|
RegistraScript("$('#DivAgregarContactoProveedor').modal('hide');")
|
||||||
limpiarCamposModalAgregarContacto()
|
limpiarCamposModalAgregarContacto()
|
||||||
|
|
||||||
End Sub
|
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))
|
RecurrenciaTipo: RecurrenciaTipo, Frecuencia: Frecuencia, Mes: Mes, RecurrenciaFin: RecurrenciaFin.ToString(), CveTipoEvento: CveTipoEvento, Importe: Importe))
|
||||||
{
|
{
|
||||||
LimpiaModal();
|
LimpiaModal();
|
||||||
this.RegistraScript("$('#DvModalGasto').modal('hide');");
|
RegistraScript("$('#DvModalGasto').modal('hide');");
|
||||||
Alert("El Evento Gasto Mensual se guardó correctamente", ModExtensiones.TipoMensaje.MsgInformacion);
|
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))
|
RecurrenciaTipo: RecurrenciaTipo, Frecuencia: Frecuencia, Mes: Mes, RecurrenciaFin: RecurrenciaFin.ToString(), Importe: Importe))
|
||||||
{
|
{
|
||||||
LimpiaModal();
|
LimpiaModal();
|
||||||
this.RegistraScript("$('#DvModalGasto').modal('hide');");
|
RegistraScript("$('#DvModalGasto').modal('hide');");
|
||||||
Alert("El Evento Gasto Mensual se ha Actualizado correctamente", ModExtensiones.TipoMensaje.MsgInformacion);
|
Alert("El Evento Gasto Mensual se ha Actualizado correctamente", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -179,7 +179,7 @@ public partial class Compras_RepGastosFijos : ClsPaginas
|
|||||||
{
|
{
|
||||||
LimpiaModal();
|
LimpiaModal();
|
||||||
UPModalGasto.Update();
|
UPModalGasto.Update();
|
||||||
this.RegistraScript("$('#DvModalGasto').modal();");
|
RegistraScript("$('#DvModalGasto').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
@@ -201,7 +201,7 @@ public partial class Compras_RepGastosFijos : ClsPaginas
|
|||||||
|
|
||||||
UPModalGasto.Update();
|
UPModalGasto.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalGasto').modal();");
|
RegistraScript("$('#DvModalGasto').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|||||||
@@ -2528,7 +2528,7 @@ Partial Class Compras_eFacturas
|
|||||||
|
|
||||||
TabPanel.ActiveTabIndex = 0
|
TabPanel.ActiveTabIndex = 0
|
||||||
cargasolicitudes()
|
cargasolicitudes()
|
||||||
Me.RegistraScript("$('#ModalViewSolicitudes').modal();")
|
RegistraScript("$('#ModalViewSolicitudes').modal();")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -2553,9 +2553,9 @@ Partial Class Compras_eFacturas
|
|||||||
' 'If Continuar Then
|
' 'If Continuar Then
|
||||||
' ' txtFechaIAdd.Text = ""
|
' ' txtFechaIAdd.Text = ""
|
||||||
' ' txtFechaFAdd.Text = ""
|
' ' txtFechaFAdd.Text = ""
|
||||||
' ' Me.RegistraScript("$('#DModalSolicitudesNominas').modal('hide');")
|
' ' RegistraScript("$('#DModalSolicitudesNominas').modal('hide');")
|
||||||
' ' cargasolicitudes()
|
' ' 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
|
' 'End If
|
||||||
|
|
||||||
' Dim idSolicitudCFDI As Integer = 0
|
' Dim idSolicitudCFDI As Integer = 0
|
||||||
@@ -2640,7 +2640,7 @@ Partial Class Compras_eFacturas
|
|||||||
' If Continuar Then
|
' If Continuar Then
|
||||||
' txtFechaIAdd.Text = ""
|
' txtFechaIAdd.Text = ""
|
||||||
' txtFechaFAdd.Text = ""
|
' txtFechaFAdd.Text = ""
|
||||||
' Me.RegistraScript("$('#ModalViewSolicitudes').modal('hide');")
|
' RegistraScript("$('#ModalViewSolicitudes').modal('hide');")
|
||||||
' cargasolicitudes()
|
' cargasolicitudes()
|
||||||
' End If
|
' End If
|
||||||
|
|
||||||
@@ -2705,7 +2705,7 @@ Partial Class Compras_eFacturas
|
|||||||
txtFechaIAdd.Text = ""
|
txtFechaIAdd.Text = ""
|
||||||
txtFechaFAdd.Text = ""
|
txtFechaFAdd.Text = ""
|
||||||
ChkMetaDatos.Checked = False
|
ChkMetaDatos.Checked = False
|
||||||
Me.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');")
|
RegistraScript("$('#ModalAgregarSolicitud').modal('hide');")
|
||||||
cargasolicitudes()
|
cargasolicitudes()
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
@@ -2869,7 +2869,7 @@ Partial Class Compras_eFacturas
|
|||||||
txtFechaFAdd.Text = ""
|
txtFechaFAdd.Text = ""
|
||||||
ChkMetaDatos.Checked = False
|
ChkMetaDatos.Checked = False
|
||||||
UPModalViewSolicitudesAgregar.Update()
|
UPModalViewSolicitudesAgregar.Update()
|
||||||
Me.RegistraScript("$('#ModalAgregarSolicitud').modal('show');")
|
RegistraScript("$('#ModalAgregarSolicitud').modal('show');")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub GVSolicitudesNominas_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs)
|
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
|
Protected Sub LnkExcel_Click(sender As Object, e As EventArgs) Handles LnkExcel.Click
|
||||||
'GvDatos.ExportToExcelG("RepAnexoCatalogoSegmento", "RepAnexoCatalogoSegmento", UsuarioActual)
|
'GvDatos.ExportToExcelG("RepAnexoCatalogoSegmento", "RepAnexoCatalogoSegmento", UsuarioActual)
|
||||||
GvDatos.ExportToExcelx("RepAnexoCatalogoSegmento")
|
GvDatos.ExportToExcelX("RepAnexoCatalogoSegmento")
|
||||||
End Sub
|
End Sub
|
||||||
'Private Sub ImprimirReporte(Optional Formato As String = "PDF")
|
'Private Sub ImprimirReporte(Optional Formato As String = "PDF")
|
||||||
' Dim Imagen As New System.IO.FileInfo($"{UsuarioActual.Empresa.Ruta}/Logo.png")
|
' Dim Imagen As New System.IO.FileInfo($"{UsuarioActual.Empresa.Ruta}/Logo.png")
|
||||||
|
|||||||
@@ -321,7 +321,7 @@ public partial class Contratos_CatRefrendos : ClsPaginas
|
|||||||
|
|
||||||
UPModalRefrendo.Update();
|
UPModalRefrendo.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalRefrendo').modal();");
|
RegistraScript("$('#DvModalRefrendo').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void imgE_Click(object sender, EventArgs e)
|
protected void imgE_Click(object sender, EventArgs e)
|
||||||
@@ -382,7 +382,7 @@ public partial class Contratos_CatRefrendos : ClsPaginas
|
|||||||
|
|
||||||
UPModalRefrendo.Update();
|
UPModalRefrendo.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalRefrendo').modal();");
|
RegistraScript("$('#DvModalRefrendo').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardarRefrendo_Click(object sender, EventArgs e)
|
protected void BtnGuardarRefrendo_Click(object sender, EventArgs e)
|
||||||
@@ -445,7 +445,7 @@ public partial class Contratos_CatRefrendos : ClsPaginas
|
|||||||
|
|
||||||
ObjContrato.Dispose();
|
ObjContrato.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DvModalRefrendo').modal('hide');");
|
RegistraScript("$('#DvModalRefrendo').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4212,7 +4212,7 @@ Partial Class Contratos_Default
|
|||||||
LnkDescargar.Visible = False
|
LnkDescargar.Visible = False
|
||||||
BtnGuardarFianza.Text = "Guardar"
|
BtnGuardarFianza.Text = "Guardar"
|
||||||
UPModalFianza.Update()
|
UPModalFianza.Update()
|
||||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
RegistraScript("$('#DvModalFianza').modal();")
|
||||||
GvFianzas.DataSource = DtTmpFianzas
|
GvFianzas.DataSource = DtTmpFianzas
|
||||||
GvFianzas.DataBind()
|
GvFianzas.DataBind()
|
||||||
UpGvFianzas.Update()
|
UpGvFianzas.Update()
|
||||||
@@ -4259,7 +4259,7 @@ Partial Class Contratos_Default
|
|||||||
UpGvFianzas.Update()
|
UpGvFianzas.Update()
|
||||||
|
|
||||||
LimpiarCamposModalFianzas()
|
LimpiarCamposModalFianzas()
|
||||||
Me.RegistraScript("$('#DvModalFianza').modal('hide');")
|
RegistraScript("$('#DvModalFianza').modal('hide');")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -4335,7 +4335,7 @@ Partial Class Contratos_Default
|
|||||||
txth4Fianza.InnerText = "Editar Fianza"
|
txth4Fianza.InnerText = "Editar Fianza"
|
||||||
BtnGuardarFianza.Text = "Actualizar"
|
BtnGuardarFianza.Text = "Actualizar"
|
||||||
UPModalFianza.Update()
|
UPModalFianza.Update()
|
||||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
RegistraScript("$('#DvModalFianza').modal();")
|
||||||
GvFianzas.DataSource = DtTmpFianzas
|
GvFianzas.DataSource = DtTmpFianzas
|
||||||
GvFianzas.DataBind()
|
GvFianzas.DataBind()
|
||||||
UpGvFianzas.Update()
|
UpGvFianzas.Update()
|
||||||
|
|||||||
@@ -3945,7 +3945,7 @@ Partial Class Contratos_ContratoObra
|
|||||||
LnkDescargar.Visible = False
|
LnkDescargar.Visible = False
|
||||||
'BtnGuardarFianza.Text = "Guardar"
|
'BtnGuardarFianza.Text = "Guardar"
|
||||||
UPModalFianza.Update()
|
UPModalFianza.Update()
|
||||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
RegistraScript("$('#DvModalFianza').modal();")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -3995,7 +3995,7 @@ Partial Class Contratos_ContratoObra
|
|||||||
txth4Fianza.InnerText = "Editar Fianza"
|
txth4Fianza.InnerText = "Editar Fianza"
|
||||||
|
|
||||||
UPModalFianza.Update()
|
UPModalFianza.Update()
|
||||||
Me.RegistraScript("$('#DvModalFianza').modal();")
|
RegistraScript("$('#DvModalFianza').modal();")
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
Protected Sub CreaDtTmpFianzas()
|
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>
|
<TablixBody>
|
||||||
<TablixColumns>
|
<TablixColumns>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.50708cm</Width>
|
<Width>1.19026cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.63629cm</Width>
|
<Width>1.4759cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.29788cm</Width>
|
<Width>1.29788cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.66402cm</Width>
|
<Width>1.48643cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>8.32569cm</Width>
|
<Width>7.60751cm</Width>
|
||||||
|
</TablixColumn>
|
||||||
|
<TablixColumn>
|
||||||
|
<Width>1.37298cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.42482cm</Width>
|
<Width>1.42482cm</Width>
|
||||||
@@ -464,6 +467,52 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</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>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="Textbox84">
|
<Textbox Name="Textbox84">
|
||||||
@@ -806,6 +855,41 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</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>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="PU1">
|
<Textbox Name="PU1">
|
||||||
@@ -932,6 +1016,7 @@
|
|||||||
<TablixMember />
|
<TablixMember />
|
||||||
<TablixMember />
|
<TablixMember />
|
||||||
<TablixMember />
|
<TablixMember />
|
||||||
|
<TablixMember />
|
||||||
</TablixMembers>
|
</TablixMembers>
|
||||||
</TablixColumnHierarchy>
|
</TablixColumnHierarchy>
|
||||||
<TablixRowHierarchy>
|
<TablixRowHierarchy>
|
||||||
@@ -2692,7 +2777,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||||
<Top>0.14926cm</Top>
|
<Top>0.02226cm</Top>
|
||||||
<Left>1.30058cm</Left>
|
<Left>1.30058cm</Left>
|
||||||
<Height>0.46066cm</Height>
|
<Height>0.46066cm</Height>
|
||||||
<Width>18.98926cm</Width>
|
<Width>18.98926cm</Width>
|
||||||
@@ -2728,7 +2813,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||||
<Top>0.735cm</Top>
|
<Top>0.57625cm</Top>
|
||||||
<Left>5.06432cm</Left>
|
<Left>5.06432cm</Left>
|
||||||
<Height>0.41981cm</Height>
|
<Height>0.41981cm</Height>
|
||||||
<Width>5.31841cm</Width>
|
<Width>5.31841cm</Width>
|
||||||
@@ -2761,7 +2846,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||||
<Top>0.735cm</Top>
|
<Top>0.57625cm</Top>
|
||||||
<Left>10.38273cm</Left>
|
<Left>10.38273cm</Left>
|
||||||
<Height>0.41981cm</Height>
|
<Height>0.41981cm</Height>
|
||||||
<Width>7.14985cm</Width>
|
<Width>7.14985cm</Width>
|
||||||
@@ -3106,7 +3191,7 @@
|
|||||||
</TablixMembers>
|
</TablixMembers>
|
||||||
</TablixRowHierarchy>
|
</TablixRowHierarchy>
|
||||||
<DataSetName>DataSet4</DataSetName>
|
<DataSetName>DataSet4</DataSetName>
|
||||||
<Top>1.39643cm</Top>
|
<Top>1.07893cm</Top>
|
||||||
<Left>3.56258cm</Left>
|
<Left>3.56258cm</Left>
|
||||||
<Height>0.85604cm</Height>
|
<Height>0.85604cm</Height>
|
||||||
<Width>15.30142cm</Width>
|
<Width>15.30142cm</Width>
|
||||||
@@ -3120,7 +3205,7 @@
|
|||||||
</ReportItems>
|
</ReportItems>
|
||||||
<KeepTogether>true</KeepTogether>
|
<KeepTogether>true</KeepTogether>
|
||||||
<Top>12.06599cm</Top>
|
<Top>12.06599cm</Top>
|
||||||
<Height>2.28935cm</Height>
|
<Height>1.93497cm</Height>
|
||||||
<Width>20.28984cm</Width>
|
<Width>20.28984cm</Width>
|
||||||
<ZIndex>46</ZIndex>
|
<ZIndex>46</ZIndex>
|
||||||
<Visibility>
|
<Visibility>
|
||||||
@@ -3298,7 +3383,7 @@
|
|||||||
<Width>20.2229cm</Width>
|
<Width>20.2229cm</Width>
|
||||||
<ZIndex>47</ZIndex>
|
<ZIndex>47</ZIndex>
|
||||||
<Visibility>
|
<Visibility>
|
||||||
<Hidden>=Not Parameters!TieneCartaPorte.Value</Hidden>
|
<Hidden>= iif(IsNothing(Parameters!TieneCartaPorte), True, iif(Parameters!TieneCartaPorte.Value , True, False))</Hidden>
|
||||||
</Visibility>
|
</Visibility>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -3394,8 +3479,50 @@
|
|||||||
<PaddingBottom>2pt</PaddingBottom>
|
<PaddingBottom>2pt</PaddingBottom>
|
||||||
</Style>
|
</Style>
|
||||||
</Textbox>
|
</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>
|
</ReportItems>
|
||||||
<Height>14.35534cm</Height>
|
<Height>14.6887cm</Height>
|
||||||
<Style />
|
<Style />
|
||||||
</Body>
|
</Body>
|
||||||
<Width>20.42213cm</Width>
|
<Width>20.42213cm</Width>
|
||||||
@@ -3656,6 +3783,10 @@
|
|||||||
<DataField>SATClaveUM</DataField>
|
<DataField>SATClaveUM</DataField>
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
</Field>
|
</Field>
|
||||||
|
<Field Name="CodigoObjetoImpuesto">
|
||||||
|
<DataField>CodigoObjetoImpuesto</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
</Fields>
|
</Fields>
|
||||||
<rd:DataSetInfo>
|
<rd:DataSetInfo>
|
||||||
<rd:DataSetName>DsOC</rd:DataSetName>
|
<rd:DataSetName>DsOC</rd:DataSetName>
|
||||||
|
|||||||
@@ -4534,7 +4534,7 @@
|
|||||||
<Paragraph>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<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>
|
<Style>
|
||||||
<FontFamily>calibri</FontFamily>
|
<FontFamily>calibri</FontFamily>
|
||||||
<FontSize>5pt</FontSize>
|
<FontSize>5pt</FontSize>
|
||||||
@@ -4776,7 +4776,7 @@
|
|||||||
<Value>=Parameters!QR.Value</Value>
|
<Value>=Parameters!QR.Value</Value>
|
||||||
<Sizing>FitProportional</Sizing>
|
<Sizing>FitProportional</Sizing>
|
||||||
<Top>3.46321in</Top>
|
<Top>3.46321in</Top>
|
||||||
<Left>6.67189in</Left>
|
<Left>6.65939in</Left>
|
||||||
<Height>1.17372in</Height>
|
<Height>1.17372in</Height>
|
||||||
<Width>1.38542in</Width>
|
<Width>1.38542in</Width>
|
||||||
<ZIndex>7</ZIndex>
|
<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>
|
<Paragraph>
|
||||||
<TextRuns>
|
<TextRuns>
|
||||||
<TextRun>
|
<TextRun>
|
||||||
<Value>RFC: CMN9810221L8</Value>
|
<Value>DE C.V. RFC: CMN9810221L8</Value>
|
||||||
<Style>
|
<Style>
|
||||||
<FontStyle>Normal</FontStyle>
|
<FontStyle>Normal</FontStyle>
|
||||||
<FontFamily>arial</FontFamily>
|
<FontFamily>arial</FontFamily>
|
||||||
@@ -182,7 +182,7 @@
|
|||||||
<Top>1.88777in</Top>
|
<Top>1.88777in</Top>
|
||||||
<Left>1.00929in</Left>
|
<Left>1.00929in</Left>
|
||||||
<Height>0.17222in</Height>
|
<Height>0.17222in</Height>
|
||||||
<Width>4.18029in</Width>
|
<Width>3.87821in</Width>
|
||||||
<ZIndex>2</ZIndex>
|
<ZIndex>2</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -208,7 +208,7 @@
|
|||||||
<TablixBody>
|
<TablixBody>
|
||||||
<TablixColumns>
|
<TablixColumns>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.50708cm</Width>
|
<Width>1.28695cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.63629cm</Width>
|
<Width>1.63629cm</Width>
|
||||||
@@ -217,16 +217,19 @@
|
|||||||
<Width>1.29788cm</Width>
|
<Width>1.29788cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.66402cm</Width>
|
<Width>1.38144cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>8.32569cm</Width>
|
<Width>7.44005cm</Width>
|
||||||
|
</TablixColumn>
|
||||||
|
<TablixColumn>
|
||||||
|
<Width>1.50542cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.42482cm</Width>
|
<Width>1.42482cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>1.73271cm</Width>
|
<Width>1.56278cm</Width>
|
||||||
</TablixColumn>
|
</TablixColumn>
|
||||||
<TablixColumn>
|
<TablixColumn>
|
||||||
<Width>2.4815cm</Width>
|
<Width>2.4815cm</Width>
|
||||||
@@ -480,6 +483,52 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</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>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="Textbox84">
|
<Textbox Name="Textbox84">
|
||||||
@@ -822,6 +871,41 @@
|
|||||||
</Textbox>
|
</Textbox>
|
||||||
</CellContents>
|
</CellContents>
|
||||||
</TablixCell>
|
</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>
|
<TablixCell>
|
||||||
<CellContents>
|
<CellContents>
|
||||||
<Textbox Name="PU1">
|
<Textbox Name="PU1">
|
||||||
@@ -948,6 +1032,7 @@
|
|||||||
<TablixMember />
|
<TablixMember />
|
||||||
<TablixMember />
|
<TablixMember />
|
||||||
<TablixMember />
|
<TablixMember />
|
||||||
|
<TablixMember />
|
||||||
</TablixMembers>
|
</TablixMembers>
|
||||||
</TablixColumnHierarchy>
|
</TablixColumnHierarchy>
|
||||||
<TablixRowHierarchy>
|
<TablixRowHierarchy>
|
||||||
@@ -964,7 +1049,7 @@
|
|||||||
<Top>6.28717cm</Top>
|
<Top>6.28717cm</Top>
|
||||||
<Left>0.44641cm</Left>
|
<Left>0.44641cm</Left>
|
||||||
<Height>1.2353cm</Height>
|
<Height>1.2353cm</Height>
|
||||||
<Width>20.06999cm</Width>
|
<Width>20.01713cm</Width>
|
||||||
<ZIndex>3</ZIndex>
|
<ZIndex>3</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1761,7 +1846,7 @@
|
|||||||
<Top>2.03638in</Top>
|
<Top>2.03638in</Top>
|
||||||
<Left>1.00929in</Left>
|
<Left>1.00929in</Left>
|
||||||
<Height>0.18472in</Height>
|
<Height>0.18472in</Height>
|
||||||
<Width>1.74279in</Width>
|
<Width>1.60737in</Width>
|
||||||
<ZIndex>20</ZIndex>
|
<ZIndex>20</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1802,7 +1887,7 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox19</rd:DefaultName>
|
<rd:DefaultName>Textbox19</rd:DefaultName>
|
||||||
<Top>2.03499in</Top>
|
<Top>2.03499in</Top>
|
||||||
<Left>7.00999cm</Left>
|
<Left>6.69249cm</Left>
|
||||||
<Height>0.19861in</Height>
|
<Height>0.19861in</Height>
|
||||||
<Width>0.81128in</Width>
|
<Width>0.81128in</Width>
|
||||||
<ZIndex>21</ZIndex>
|
<ZIndex>21</ZIndex>
|
||||||
@@ -1844,9 +1929,9 @@
|
|||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox19</rd:DefaultName>
|
<rd:DefaultName>Textbox19</rd:DefaultName>
|
||||||
<Top>2.03638in</Top>
|
<Top>2.03638in</Top>
|
||||||
<Left>3.58501in</Left>
|
<Left>3.46001in</Left>
|
||||||
<Height>0.18472in</Height>
|
<Height>0.18472in</Height>
|
||||||
<Width>1.60457in</Width>
|
<Width>1.42749in</Width>
|
||||||
<ZIndex>22</ZIndex>
|
<ZIndex>22</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -1931,7 +2016,7 @@
|
|||||||
<Top>2.2586in</Top>
|
<Top>2.2586in</Top>
|
||||||
<Left>1.00929in</Left>
|
<Left>1.00929in</Left>
|
||||||
<Height>0.15972in</Height>
|
<Height>0.15972in</Height>
|
||||||
<Width>4.18029in</Width>
|
<Width>3.87821in</Width>
|
||||||
<ZIndex>24</ZIndex>
|
<ZIndex>24</ZIndex>
|
||||||
<Style>
|
<Style>
|
||||||
<Border>
|
<Border>
|
||||||
@@ -2525,7 +2610,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox2</rd:DefaultName>
|
<rd:DefaultName>Textbox2</rd:DefaultName>
|
||||||
<Top>11.78131cm</Top>
|
<Top>11.74956cm</Top>
|
||||||
<Left>0.4667cm</Left>
|
<Left>0.4667cm</Left>
|
||||||
<Height>0.44842cm</Height>
|
<Height>0.44842cm</Height>
|
||||||
<Width>8.9127cm</Width>
|
<Width>8.9127cm</Width>
|
||||||
@@ -2720,7 +2805,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox5</rd:DefaultName>
|
<rd:DefaultName>Textbox5</rd:DefaultName>
|
||||||
<Top>0.14926cm</Top>
|
<Top>0.02226cm</Top>
|
||||||
<Left>0.9525cm</Left>
|
<Left>0.9525cm</Left>
|
||||||
<Height>0.46066cm</Height>
|
<Height>0.46066cm</Height>
|
||||||
<Width>18.98926cm</Width>
|
<Width>18.98926cm</Width>
|
||||||
@@ -2756,7 +2841,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||||
<Top>0.735cm</Top>
|
<Top>0.5445cm</Top>
|
||||||
<Left>4.71624cm</Left>
|
<Left>4.71624cm</Left>
|
||||||
<Height>0.41981cm</Height>
|
<Height>0.41981cm</Height>
|
||||||
<Width>5.31841cm</Width>
|
<Width>5.31841cm</Width>
|
||||||
@@ -2789,7 +2874,7 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox29</rd:DefaultName>
|
<rd:DefaultName>Textbox29</rd:DefaultName>
|
||||||
<Top>0.735cm</Top>
|
<Top>0.5445cm</Top>
|
||||||
<Left>10.03465cm</Left>
|
<Left>10.03465cm</Left>
|
||||||
<Height>0.41981cm</Height>
|
<Height>0.41981cm</Height>
|
||||||
<Width>7.14985cm</Width>
|
<Width>7.14985cm</Width>
|
||||||
@@ -3134,7 +3219,7 @@
|
|||||||
</TablixMembers>
|
</TablixMembers>
|
||||||
</TablixRowHierarchy>
|
</TablixRowHierarchy>
|
||||||
<DataSetName>DataSet4</DataSetName>
|
<DataSetName>DataSet4</DataSetName>
|
||||||
<Top>1.39643cm</Top>
|
<Top>1.04718cm</Top>
|
||||||
<Left>3.2145cm</Left>
|
<Left>3.2145cm</Left>
|
||||||
<Height>0.85604cm</Height>
|
<Height>0.85604cm</Height>
|
||||||
<Width>15.30142cm</Width>
|
<Width>15.30142cm</Width>
|
||||||
@@ -3149,7 +3234,7 @@
|
|||||||
<KeepTogether>true</KeepTogether>
|
<KeepTogether>true</KeepTogether>
|
||||||
<Top>14.54249cm</Top>
|
<Top>14.54249cm</Top>
|
||||||
<Left>0.07193cm</Left>
|
<Left>0.07193cm</Left>
|
||||||
<Height>2.25247cm</Height>
|
<Height>1.90322cm</Height>
|
||||||
<Width>20.37753cm</Width>
|
<Width>20.37753cm</Width>
|
||||||
<ZIndex>45</ZIndex>
|
<ZIndex>45</ZIndex>
|
||||||
<Visibility>
|
<Visibility>
|
||||||
@@ -3176,14 +3261,144 @@
|
|||||||
</Border>
|
</Border>
|
||||||
</Style>
|
</Style>
|
||||||
</Image>
|
</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>
|
</ReportItems>
|
||||||
<Height>16.79496cm</Height>
|
<Height>17.06688cm</Height>
|
||||||
<Style />
|
<Style />
|
||||||
</Body>
|
</Body>
|
||||||
<Width>20.5164cm</Width>
|
<Width>20.5164cm</Width>
|
||||||
<Page>
|
<Page>
|
||||||
<PageFooter>
|
<PageFooter>
|
||||||
<Height>0.64232cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<PrintOnFirstPage>true</PrintOnFirstPage>
|
<PrintOnFirstPage>true</PrintOnFirstPage>
|
||||||
<PrintOnLastPage>true</PrintOnLastPage>
|
<PrintOnLastPage>true</PrintOnLastPage>
|
||||||
<ReportItems>
|
<ReportItems>
|
||||||
@@ -3207,7 +3422,6 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox3</rd:DefaultName>
|
<rd:DefaultName>Textbox3</rd:DefaultName>
|
||||||
<Top>0.04232cm</Top>
|
|
||||||
<Left>16.34905cm</Left>
|
<Left>16.34905cm</Left>
|
||||||
<Height>0.6cm</Height>
|
<Height>0.6cm</Height>
|
||||||
<Width>3.95896cm</Width>
|
<Width>3.95896cm</Width>
|
||||||
@@ -3251,7 +3465,6 @@
|
|||||||
</Paragraph>
|
</Paragraph>
|
||||||
</Paragraphs>
|
</Paragraphs>
|
||||||
<rd:DefaultName>Textbox8</rd:DefaultName>
|
<rd:DefaultName>Textbox8</rd:DefaultName>
|
||||||
<Top>0.10582cm</Top>
|
|
||||||
<Left>0.50295cm</Left>
|
<Left>0.50295cm</Left>
|
||||||
<Height>0.46771cm</Height>
|
<Height>0.46771cm</Height>
|
||||||
<Width>6.86562cm</Width>
|
<Width>6.86562cm</Width>
|
||||||
@@ -3438,6 +3651,10 @@
|
|||||||
<DataField>SATClaveUM</DataField>
|
<DataField>SATClaveUM</DataField>
|
||||||
<rd:TypeName>System.String</rd:TypeName>
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
</Field>
|
</Field>
|
||||||
|
<Field Name="CodigoObjetoImpuesto">
|
||||||
|
<DataField>CodigoObjetoImpuesto</DataField>
|
||||||
|
<rd:TypeName>System.String</rd:TypeName>
|
||||||
|
</Field>
|
||||||
</Fields>
|
</Fields>
|
||||||
<rd:DataSetInfo>
|
<rd:DataSetInfo>
|
||||||
<rd:DataSetName>DsOC</rd:DataSetName>
|
<rd:DataSetName>DsOC</rd:DataSetName>
|
||||||
@@ -4167,6 +4384,18 @@
|
|||||||
<AllowBlank>true</AllowBlank>
|
<AllowBlank>true</AllowBlank>
|
||||||
<Prompt>ReportParameter1</Prompt>
|
<Prompt>ReportParameter1</Prompt>
|
||||||
</ReportParameter>
|
</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>
|
</ReportParameters>
|
||||||
<EmbeddedImages>
|
<EmbeddedImages>
|
||||||
<EmbeddedImage Name="Logo">
|
<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");
|
int NoEstatusInicio = DtEstatus.COUNT("CveEstatusTrayecto", "EsInicio = True");
|
||||||
if (NoEstatusInicio > 0)
|
if (NoEstatusInicio > 0)
|
||||||
{
|
{
|
||||||
this.Alert("Ya existe un estatus de inicio.", TipoMensaje.MsgAdvertencia);
|
Alert("Ya existe un estatus de inicio.", TipoMensaje.MsgAdvertencia);
|
||||||
ObjGPS.Dispose();
|
ObjGPS.Dispose();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -97,7 +97,7 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
|||||||
int NoEstatusFin = DtEstatus.COUNT("CveEstatusTrayecto", "EsFin = True");
|
int NoEstatusFin = DtEstatus.COUNT("CveEstatusTrayecto", "EsFin = True");
|
||||||
if (NoEstatusFin > 0)
|
if (NoEstatusFin > 0)
|
||||||
{
|
{
|
||||||
this.Alert("Ya existe un estatus de final.", TipoMensaje.MsgAdvertencia);
|
Alert("Ya existe un estatus de final.", TipoMensaje.MsgAdvertencia);
|
||||||
ObjGPS.Dispose();
|
ObjGPS.Dispose();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -108,7 +108,7 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
|||||||
|
|
||||||
if (RblInicioFin.SelectedValue == "2" && CveEstatusAnterior <= 0)
|
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();
|
ObjGPS.Dispose();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
@@ -122,18 +122,18 @@ public partial class GPS_CatEstatusTrayectos : ClsPaginas
|
|||||||
{
|
{
|
||||||
if (ObjGPS.UpdateEstatusTrayectos(CveEstatusSiguiente,"",false,false, CveEstatusNuevo, UsuarioActual.CveCliente))
|
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
|
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
|
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))
|
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";
|
BtnGuardar.Text = "Guardar";
|
||||||
UPConsulta.Update();
|
UPConsulta.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalGrupo').modal();");
|
RegistraScript("$('#DvModalGrupo').modal();");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -269,7 +269,7 @@ public partial class GPS_CatGrupos : ClsPaginas
|
|||||||
|
|
||||||
ObjGPS.Dispose();
|
ObjGPS.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DvModalGrupo').modal('hide');");
|
RegistraScript("$('#DvModalGrupo').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -363,7 +363,7 @@ public partial class GPS_CatGrupos : ClsPaginas
|
|||||||
BtnGuardar.Text = "Actualizar";
|
BtnGuardar.Text = "Actualizar";
|
||||||
UPConsulta.Update();
|
UPConsulta.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalGrupo').modal('show');");
|
RegistraScript("$('#DvModalGrupo').modal('show');");
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|||||||
@@ -197,6 +197,6 @@ public partial class GPS_RepParardas : ClsPaginas
|
|||||||
{
|
{
|
||||||
//var table = new System.Web.UI.HtmlControls.HtmlTable();
|
//var table = new System.Web.UI.HtmlControls.HtmlTable();
|
||||||
// table.InnerHtml = DivIndicadores.InnerHtml;
|
// table.InnerHtml = DivIndicadores.InnerHtml;
|
||||||
GvDatos.ExportToExcel("ReporteRutas");
|
GvDatos.ExportToExcelX("ReporteRutas");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -145,12 +145,12 @@ public partial class GPS_Shipments : ClsPaginas
|
|||||||
{
|
{
|
||||||
IniciaDTStops();
|
IniciaDTStops();
|
||||||
LimpiarModal();
|
LimpiarModal();
|
||||||
this.RegistraScript("$('#DivShipment').modal({backdrop: 'static', keyboard: false});");
|
RegistraScript("$('#DivShipment').modal({backdrop: 'static', keyboard: false});");
|
||||||
}
|
}
|
||||||
protected void LnkAddNewStop_Click(object sender, EventArgs e)
|
protected void LnkAddNewStop_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
LimpiarModalStop();
|
LimpiarModalStop();
|
||||||
this.RegistraScript("$('#DivStop').modal({backdrop: 'static', keyboard: false});");
|
RegistraScript("$('#DivStop').modal({backdrop: 'static', keyboard: false});");
|
||||||
}
|
}
|
||||||
protected void LnkAddStop_Click(object sender, EventArgs e)
|
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.OnError("Ocurrió un error al registrar la parada (stop)", ex);
|
||||||
}
|
}
|
||||||
|
|
||||||
this.RegistraScript("$('#DivStop').modal('hide');");
|
RegistraScript("$('#DivStop').modal('hide');");
|
||||||
}
|
}
|
||||||
protected void LimpiarModal()
|
protected void LimpiarModal()
|
||||||
{
|
{
|
||||||
@@ -623,13 +623,13 @@ public partial class GPS_Shipments : ClsPaginas
|
|||||||
if (TieneError)
|
if (TieneError)
|
||||||
{
|
{
|
||||||
ObjGPS.RollBack();
|
ObjGPS.RollBack();
|
||||||
this.Alert("No se pudo guardar el shipment.", TipoMensaje.MsgError);
|
Alert("No se pudo guardar el shipment.", TipoMensaje.MsgError);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
ObjGPS.Commit();
|
ObjGPS.Commit();
|
||||||
this.Alert("El shipment se envió correctamente a FreightVerify.", TipoMensaje.MsgInformacion);
|
Alert("El shipment se envió correctamente a FreightVerify.", TipoMensaje.MsgInformacion);
|
||||||
this.RegistraScript("$('#DivShipment').modal('hide');");
|
RegistraScript("$('#DivShipment').modal('hide');");
|
||||||
}
|
}
|
||||||
ObjGPS.Dispose();
|
ObjGPS.Dispose();
|
||||||
|
|
||||||
@@ -639,7 +639,7 @@ public partial class GPS_Shipments : ClsPaginas
|
|||||||
}
|
}
|
||||||
else
|
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);
|
CargaStops(CveShipment);
|
||||||
|
|
||||||
this.RegistraScript("$('#DivEvent').modal({backdrop: 'static', keyboard: false});", "1");
|
RegistraScript("$('#DivEvent').modal({backdrop: 'static', keyboard: false});", "1");
|
||||||
CargaPosicionStop(DdlStops.SelectedValue.ToEntero());
|
CargaPosicionStop(DdlStops.SelectedValue.ToEntero());
|
||||||
UpEvent.Update();
|
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());
|
||||||
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)
|
private void CargaStops(int CveShipment)
|
||||||
{
|
{
|
||||||
@@ -693,7 +693,7 @@ public partial class GPS_Shipments : ClsPaginas
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||||
}
|
}
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
UpDatos.Update();
|
UpDatos.Update();
|
||||||
@@ -727,16 +727,16 @@ public partial class GPS_Shipments : ClsPaginas
|
|||||||
if (envio)
|
if (envio)
|
||||||
{
|
{
|
||||||
Alert("Se envio el evento correctamente.");
|
Alert("Se envio el evento correctamente.");
|
||||||
this.RegistraScript("$('#DivEvent').modal('hide');");
|
RegistraScript("$('#DivEvent').modal('hide');");
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
Alert("No se pudo eliminar el shipment.", TipoMensaje.MsgError);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
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";
|
BtnGuardarTC.Text = "Guardar";
|
||||||
UPModalTipoCambio.Update();
|
UPModalTipoCambio.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void limpiarCamposModal()
|
protected void limpiarCamposModal()
|
||||||
@@ -136,7 +136,7 @@ public partial class General_CatTipoCambio : ClsPaginas
|
|||||||
|
|
||||||
UPModalTipoCambio.Update();
|
UPModalTipoCambio.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
RegistraScript("$('#DvModalTipoCambio').modal('show');");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -200,7 +200,7 @@ public partial class General_CatTipoCambio : ClsPaginas
|
|||||||
ObjGeneral.Dispose();
|
ObjGeneral.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
|
|
||||||
this.RegistraScript("$('#DvModalTipoCambio').modal('hide');");
|
RegistraScript("$('#DvModalTipoCambio').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -146,13 +146,13 @@ public partial class General_ExcelToBD : System.Web.UI.Page
|
|||||||
{
|
{
|
||||||
if (objbase.ExcelToBD(xml))
|
if (objbase.ExcelToBD(xml))
|
||||||
{
|
{
|
||||||
this.Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GVDatos.DataSource = dt;
|
GVDatos.DataSource = dt;
|
||||||
GVDatos.DataBind();
|
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)
|
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();
|
ObjGeneral.Dispose();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -542,7 +542,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
UPEditarGuia.Update();
|
UPEditarGuia.Update();
|
||||||
|
|
||||||
|
|
||||||
this.RegistraScript("$('#DivEditarGuia').modal('show');");
|
RegistraScript("$('#DivEditarGuia').modal('show');");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtGuardarGuia_Click(object sender, EventArgs e)
|
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)
|
protected void BtnEliminarGuia_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
EliminaGuia();
|
EliminaGuia();
|
||||||
this.RegistraScript("$('#DivEditarGuia').modal('hide');");
|
RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -638,7 +638,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
protected void LnkAgregarGuia_Click(object sender, EventArgs e)
|
protected void LnkAgregarGuia_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//Agregamos guia sin vincular
|
//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)
|
protected void LnkImprimirPDF_Click(object sender, EventArgs e)
|
||||||
@@ -686,7 +686,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
|
|
||||||
UpModalUploadGuiaDocumento.Update();
|
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)
|
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)
|
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);
|
GridViewRow GvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||||
CvePaqueteriaGuiaReasignar = GvRow.DataKey("CvePaqueteriaGuia").ToEntero();
|
CvePaqueteriaGuiaReasignar = GvRow.DataKey("CvePaqueteriaGuia").ToEntero();
|
||||||
CveVenta = GvRow.DataKey("CveAgrupador").ToString().ToEntero();
|
CveVenta = GvRow.DataKey("CveAgrupador").ToString().ToEntero();
|
||||||
@@ -1083,7 +1083,7 @@ public partial class General_RepPaqueteriasGuias : ClsPaginas
|
|||||||
UPDatos.Update();
|
UPDatos.Update();
|
||||||
CvePaqueteriaGuiaReasignar = -1;
|
CvePaqueteriaGuiaReasignar = -1;
|
||||||
EnviarCorreoNotificacionEntrega(3, Folio, "", "", "", "", "", -1, null);
|
EnviarCorreoNotificacionEntrega(3, Folio, "", "", "", "", "", -1, null);
|
||||||
this.RegistraScript("$('#ModalMotivoReasignacion').modal('hide')", "hidemodal3");
|
RegistraScript("$('#ModalMotivoReasignacion').modal('hide')", "hidemodal3");
|
||||||
}
|
}
|
||||||
|
|
||||||
private string DocumentoEntregaInterna(int CveVenta)
|
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
|
'S U B P R O Y E C T O S
|
||||||
|
|
||||||
Using ObjSubProyectos As New ClsSubProyectos
|
'Using ObjSubProyectos As New ClsSubProyectos
|
||||||
'If ObjSubProyectos.GetSubProyectos Then Application("GlobalDTSubProyectos") = ObjSubProyectos.DtResultados Else Application("GlobalDTSubProyectos") = Nothing
|
' 'If ObjSubProyectos.GetSubProyectos Then Application("GlobalDTSubProyectos") = ObjSubProyectos.DtResultados Else Application("GlobalDTSubProyectos") = Nothing
|
||||||
If ObjSubProyectos.GetSubProyectosUsuarios Then
|
' If ObjSubProyectos.GetSubProyectosUsuarios Then
|
||||||
Application("GlobalDTProyectosUsuarios") = ObjSubProyectos.DtResultados.FiltraParametros("", "", {"Proyecto", "CveProyecto", "CveUsuario", "CveEmpresa", "CveEstatusProyecto"})
|
' Application("GlobalDTProyectosUsuarios") = ObjSubProyectos.DtResultados.FiltraParametros("", "", {"Proyecto", "CveProyecto", "CveUsuario", "CveEmpresa", "CveEstatusProyecto"})
|
||||||
Application("GlobalDTSubProyectosUsuarios") = ObjSubProyectos.DtResultados
|
' Application("GlobalDTSubProyectosUsuarios") = ObjSubProyectos.DtResultados
|
||||||
Else
|
' Else
|
||||||
Application("GlobalDTProyectosUsuarios") = Nothing
|
' Application("GlobalDTProyectosUsuarios") = Nothing
|
||||||
Application("GlobalDTSubProyectosUsuarios") = Nothing
|
' Application("GlobalDTSubProyectosUsuarios") = Nothing
|
||||||
End If
|
' End If
|
||||||
'Else Application("GlobalDTProyectosUsuarios") = Nothing
|
' 'Else Application("GlobalDTProyectosUsuarios") = Nothing
|
||||||
End Using
|
'End Using
|
||||||
GuardaLogAsax(String.Format("Globalasax 26:{0}", DateTime.Now))
|
'GuardaLogAsax(String.Format("Globalasax 26:{0}", DateTime.Now))
|
||||||
|
|
||||||
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
'------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||||
'T I P O S - D E - E V E N T O S
|
'T I P O S - D E - E V E N T O S
|
||||||
|
|||||||
@@ -1074,7 +1074,7 @@ Partial Class Inicio
|
|||||||
Private Sub CargaDirectorioTelefonico()
|
Private Sub CargaDirectorioTelefonico()
|
||||||
Dim ObjPersonal As New ClsRH
|
Dim ObjPersonal As New ClsRH
|
||||||
|
|
||||||
Me.RegistraScript("$get('DivActualizarEvento').style.display = 'true';")
|
RegistraScript("$get('DivActualizarEvento').style.display = 'true';")
|
||||||
'$get('DivActualizarEvento').style.display = 'none';
|
'$get('DivActualizarEvento').style.display = 'none';
|
||||||
|
|
||||||
If ObjPersonal.DirectorioTelefonicoGet(UsuarioActual.CveEmpresa) Then
|
If ObjPersonal.DirectorioTelefonicoGet(UsuarioActual.CveEmpresa) Then
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ public partial class Inventarios_CatGrupoPSaspx : ClsPaginas
|
|||||||
DtGrupoPSDetalle.Rows.Clear();
|
DtGrupoPSDetalle.Rows.Clear();
|
||||||
UpModal.Update();
|
UpModal.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
protected void LnkAddGrupoPS_Click(object sender, EventArgs e)
|
protected void LnkAddGrupoPS_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -129,7 +129,7 @@ public partial class Inventarios_CatGrupoPSaspx : ClsPaginas
|
|||||||
}
|
}
|
||||||
ObjInv.Dispose();
|
ObjInv.Dispose();
|
||||||
CargaGrupoPS();
|
CargaGrupoPS();
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
@@ -211,7 +211,7 @@ public partial class Inventarios_CatGrupoPSaspx : ClsPaginas
|
|||||||
if (!ObjInv.RemoveGrupoPSDetalle(Dr["CveGrupoPSDetalle"].ToEntero()))
|
if (!ObjInv.RemoveGrupoPSDetalle(Dr["CveGrupoPSDetalle"].ToEntero()))
|
||||||
{
|
{
|
||||||
Error = true;
|
Error = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!Error)
|
if (!Error)
|
||||||
|
|||||||
@@ -4115,7 +4115,7 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
' CargaModalCombosDirecciones(CveCliente, CveDireccion);
|
' CargaModalCombosDirecciones(CveCliente, CveDireccion);
|
||||||
|
|
||||||
' UpModalEditarentrega.Update();
|
' UpModalEditarentrega.Update();
|
||||||
' this.RegistraScript("$('#DivEditarEntrega').modal('show');");
|
' RegistraScript("$('#DivEditarEntrega').modal('show');");
|
||||||
'}
|
'}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1000,7 +1000,7 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
|||||||
CargaModalCombosDirecciones(CveCliente, CveDireccion);
|
CargaModalCombosDirecciones(CveCliente, CveDireccion);
|
||||||
|
|
||||||
UpModalEditarentrega.Update();
|
UpModalEditarentrega.Update();
|
||||||
this.RegistraScript("$('#DivEditarEntrega').modal('show');");
|
RegistraScript("$('#DivEditarEntrega').modal('show');");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnModalEditarentrega_Click(object sender, EventArgs e)
|
protected void BtnModalEditarentrega_Click(object sender, EventArgs e)
|
||||||
@@ -1017,7 +1017,7 @@ public partial class Inventarios_EntregaAlmacenRuta : ClsPaginas
|
|||||||
|
|
||||||
if (ProcesoOK)
|
if (ProcesoOK)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
||||||
Alert("Dirección Actualizada correctamente.", ModExtensiones.TipoMensaje.ToastInformacion);
|
Alert("Dirección Actualizada correctamente.", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -401,7 +401,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
|||||||
|
|
||||||
|
|
||||||
UpModalEditarentrega.Update();
|
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)
|
if (ProcesoOK)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
RegistraScript("$('#DivEditarEntrega').modal('hide');");
|
||||||
Alert("Entrega Actualizada correctamente.");
|
Alert("Entrega Actualizada correctamente.");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
@@ -611,7 +611,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
|||||||
protected void BtnEliminarGuia_Click(object sender, EventArgs e)
|
protected void BtnEliminarGuia_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
//EliminaGuia();
|
//EliminaGuia();
|
||||||
//this.RegistraScript("$('#DivEditarGuia').modal('hide');");
|
//RegistraScript("$('#DivEditarGuia').modal('hide');");
|
||||||
//CargaDatos();
|
//CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -64,14 +64,14 @@ public partial class Nomina_Acumulados : ClsPaginas
|
|||||||
|
|
||||||
DdlTipoAcumulado .SelectedValueExist(cveTipoAcumulado.ToString());
|
DdlTipoAcumulado .SelectedValueExist(cveTipoAcumulado.ToString());
|
||||||
TxtAcumacumulado.Text = acumulado.ToString();
|
TxtAcumacumulado.Text = acumulado.ToString();
|
||||||
this.RegistraScript("$('#DModalAcumulados').modal();");
|
RegistraScript("$('#DModalAcumulados').modal();");
|
||||||
BtnAcumADD.Visible = false;
|
BtnAcumADD.Visible = false;
|
||||||
BtnAcumEdit.Visible = true;
|
BtnAcumEdit.Visible = true;
|
||||||
UPModalAcum.Update();
|
UPModalAcum.Update();
|
||||||
}
|
}
|
||||||
protected void LnkAgregarAcum_Click(object sender, EventArgs e)
|
protected void LnkAgregarAcum_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalAcumulados').modal();");
|
RegistraScript("$('#DModalAcumulados').modal();");
|
||||||
LimpiaAcumulados();
|
LimpiaAcumulados();
|
||||||
BtnAcumADD.Visible = true;
|
BtnAcumADD.Visible = true;
|
||||||
BtnAcumEdit.Visible = false;
|
BtnAcumEdit.Visible = false;
|
||||||
@@ -92,11 +92,11 @@ public partial class Nomina_Acumulados : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalAcumulados').modal('hide');");
|
RegistraScript("$('#DModalAcumulados').modal('hide');");
|
||||||
LimpiaAcumulados();
|
LimpiaAcumulados();
|
||||||
CargaAcumulados();
|
CargaAcumulados();
|
||||||
UPModalAcum.Update();
|
UPModalAcum.Update();
|
||||||
this.Alert("El Acumulados Se ha agregado");
|
Alert("El Acumulados Se ha agregado");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected void BtnAcumEdit_Click(object sender, EventArgs e)
|
protected void BtnAcumEdit_Click(object sender, EventArgs e)
|
||||||
@@ -112,11 +112,11 @@ public partial class Nomina_Acumulados : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalAcumulados').modal('hide');");
|
RegistraScript("$('#DModalAcumulados').modal('hide');");
|
||||||
LimpiaAcumulados();
|
LimpiaAcumulados();
|
||||||
UPModalAcum.Update();
|
UPModalAcum.Update();
|
||||||
CargaAcumulados();
|
CargaAcumulados();
|
||||||
this.Alert("El Acumulados Se ha actualizado");
|
Alert("El Acumulados Se ha actualizado");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected void LnkEliminarAcum_Click(object sender, EventArgs e)
|
protected void LnkEliminarAcum_Click(object sender, EventArgs e)
|
||||||
@@ -132,7 +132,7 @@ public partial class Nomina_Acumulados : ClsPaginas
|
|||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
CargaAcumulados();
|
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)
|
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();
|
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))
|
if (objbase.ExcelToBD(xml))
|
||||||
{
|
{
|
||||||
this.Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
Alert("Información capturada", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
GVDatos.DataSource = dt;
|
GVDatos.DataSource = dt;
|
||||||
|
|||||||
@@ -795,7 +795,7 @@ public partial class Nomina_Finiquito : ClsPaginas
|
|||||||
protected void LnkCambiarEmpleado_Click(object sender, EventArgs e)
|
protected void LnkCambiarEmpleado_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
CargaDdlPersonal();
|
CargaDdlPersonal();
|
||||||
this.RegistraScript("$('#ModalEmpleados').modal();");
|
RegistraScript("$('#ModalEmpleados').modal();");
|
||||||
UpModalEmpleados.Update();
|
UpModalEmpleados.Update();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1449,18 +1449,18 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
objrh.NomBitacoraCorreoAdd(CvePeriodoSeleccionado, CvePersonal, Correo.Trim(), UsuarioActual.CveEmpresa, UsuarioActual.CveUsuario);
|
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
|
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
|
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)
|
protected void LnkTimbrar_Click(object sender, EventArgs e)
|
||||||
@@ -6309,10 +6309,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalMovtoPermanente').modal('hide');");
|
RegistraScript("$('#DModalMovtoPermanente').modal('hide');");
|
||||||
CargaMovtoPermanente();
|
CargaMovtoPermanente();
|
||||||
UpMovtosPermanentes.Update();
|
UpMovtosPermanentes.Update();
|
||||||
this.Alert("Se ha agregado el movimiento permanente");
|
Alert("Se ha agregado el movimiento permanente");
|
||||||
}
|
}
|
||||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide')");
|
RegistraScript("$('#ModalMovtoPermanente').modal('hide')");
|
||||||
|
|
||||||
@@ -6337,10 +6337,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
||||||
CargaMovtoPermanente();
|
CargaMovtoPermanente();
|
||||||
UpMovtosPermanentes.Update();
|
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)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
RegistraScript("$('#ModalMovtoPermanente').modal('hide');");
|
||||||
CargaMovtoPermanente();
|
CargaMovtoPermanente();
|
||||||
UpMovtosPermanentes.Update();
|
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)
|
protected void LnkEditarMovtoPermanente_Click(object sender, EventArgs e)
|
||||||
@@ -7734,7 +7734,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
{
|
{
|
||||||
CargaPersonalIncapacidad();
|
CargaPersonalIncapacidad();
|
||||||
UpsrIncapacidadpersonal.Update();
|
UpsrIncapacidadpersonal.Update();
|
||||||
this.Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion);
|
Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion);
|
||||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')");
|
RegistraScript("$('#ModalSRIncapacidad').modal('hide')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -7762,7 +7762,7 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
{
|
{
|
||||||
CargaPersonalIncapacidad();
|
CargaPersonalIncapacidad();
|
||||||
UpsrIncapacidadpersonal.Update();
|
UpsrIncapacidadpersonal.Update();
|
||||||
this.Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion);
|
Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion);
|
||||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')");
|
RegistraScript("$('#ModalSRIncapacidad').modal('hide')");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -8968,10 +8968,10 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalVacacionesEmpresas').modal('hide');");
|
RegistraScript("$('#DModalVacacionesEmpresas').modal('hide');");
|
||||||
CargaVacacionesEmpresas();
|
CargaVacacionesEmpresas();
|
||||||
upDatosVacaEmpre.Update();
|
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)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
CargaVacacionesEmpresas();
|
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;
|
DivModalLayoutBancosFecha.Visible = false;
|
||||||
TxtModalLayoutBancosFecha.Text = "";
|
TxtModalLayoutBancosFecha.Text = "";
|
||||||
|
|
||||||
this.RegistraScript("$('#ModalLayoutBancos').modal('show');");
|
RegistraScript("$('#ModalLayoutBancos').modal('show');");
|
||||||
UpModalBancosLayout.Update();
|
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{DateTime.Now.ToString("yyyyMMddhhmmss").ToString()}.txt\"");
|
||||||
Response.AppendHeader("Content-Disposition", $"attachment;filename=\"Nomina {DdlPeriodo.SelectedItem.Text}.txt\"");
|
Response.AppendHeader("Content-Disposition", $"attachment;filename=\"Nomina {DdlPeriodo.SelectedItem.Text}.txt\"");
|
||||||
Response.Write(sb.ToString());
|
Response.Write(sb.ToString());
|
||||||
this.RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
||||||
Response.Flush();
|
Response.Flush();
|
||||||
Response.End();
|
Response.End();
|
||||||
}
|
}
|
||||||
@@ -9347,13 +9347,13 @@ public partial class Nomina_Nomina2 : ClsPaginas
|
|||||||
Response.ContentType = "text/plain";
|
Response.ContentType = "text/plain";
|
||||||
Response.AppendHeader("Content-Disposition", $"attachment;filename=\"NI{Emisora.PadLeft(5, Cero)}{Consecutivo.ToString("00")}.PAG\"");
|
Response.AppendHeader("Content-Disposition", $"attachment;filename=\"NI{Emisora.PadLeft(5, Cero)}{Consecutivo.ToString("00")}.PAG\"");
|
||||||
Response.Write(sb.ToString());
|
Response.Write(sb.ToString());
|
||||||
this.RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
RegistraScript("$('#ModalLayoutBancos').modal('hide');");
|
||||||
Response.Flush();
|
Response.Flush();
|
||||||
Response.End();
|
Response.End();
|
||||||
}
|
}
|
||||||
else
|
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)
|
protected void LnkAgregar_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarPara));
|
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarPara));
|
||||||
ResetCombos();
|
ResetCombos();
|
||||||
ConsultaCorreos();
|
ConsultaCorreos();
|
||||||
UpModalSeleccionCorreos.Update();
|
UpModalSeleccionCorreos.Update();
|
||||||
|
|||||||
@@ -200,7 +200,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkUpUsuarios_Click(object sender, EventArgs e)
|
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";
|
LtlTituloUsuarios.Text = "Actualizar miembros";
|
||||||
BtnUpMiembros.Visible = true;
|
BtnUpMiembros.Visible = true;
|
||||||
DdlModera.SelectedValueExist(CveUsuarioDe.ToString());
|
DdlModera.SelectedValueExist(CveUsuarioDe.ToString());
|
||||||
@@ -264,12 +264,12 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
|||||||
//Setpermisos();
|
//Setpermisos();
|
||||||
}
|
}
|
||||||
UpContenido.Update();
|
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)
|
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);
|
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
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)
|
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))
|
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);
|
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 = "";
|
TxtTema.Text = "";
|
||||||
set_GlobalDTOIRevision(-1, objoi.DtResultados);
|
set_GlobalDTOIRevision(-1, objoi.DtResultados);
|
||||||
CargaTemas();
|
CargaTemas();
|
||||||
@@ -519,7 +519,7 @@ public partial class OI_ConvocatoriaDetalle : ClsPaginas
|
|||||||
CveEventoMinuta = CveEvento;
|
CveEventoMinuta = CveEvento;
|
||||||
LnkOpenModalAsistencia.Visible = true;
|
LnkOpenModalAsistencia.Visible = true;
|
||||||
UpAcciones.Update();
|
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);
|
LnkOpenModalAsistencia_Click(null, null);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -402,7 +402,7 @@ public partial class OI_MinutaDetalle : ClsPaginas
|
|||||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
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);
|
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||||
}
|
}
|
||||||
cargarAgenda();
|
cargarAgenda();
|
||||||
this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||||
TxtTareaAsunto.Text = "";
|
TxtTareaAsunto.Text = "";
|
||||||
TxtTareaDescripcion.Text = "";
|
TxtTareaDescripcion.Text = "";
|
||||||
txtTareaFechaI.Text = "";
|
txtTareaFechaI.Text = "";
|
||||||
txtTareaFechaF.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);
|
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||||
}
|
}
|
||||||
this.Alert("Se ha agregadó la nueva agenda");
|
Alert("Se ha agregadó la nueva agenda");
|
||||||
TxtAgendaAsunto.Text = "";
|
TxtAgendaAsunto.Text = "";
|
||||||
TxtAgendaDescripcion.Text = "";
|
TxtAgendaDescripcion.Text = "";
|
||||||
txtAgendaFechaI.Text = "";
|
txtAgendaFechaI.Text = "";
|
||||||
txtAgendaFechaF.Text = "";
|
txtAgendaFechaF.Text = "";
|
||||||
cargarAgenda();
|
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);
|
ruta = string.Format("{0}{1}{2}", ruta, CveComentario, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||||
}
|
}
|
||||||
//this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
//RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
||||||
this.Alert("Comentario agregadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
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));
|
//Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||||
}
|
}
|
||||||
TxtComentario.Text = "";
|
TxtComentario.Text = "";
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,14 +70,14 @@ public partial class OI_Proyecto : ClsPaginas
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
str.AppendLine("];loadGant();");
|
str.AppendLine("];loadGant();");
|
||||||
this.RegistraScript(str.ToString());
|
RegistraScript(str.ToString());
|
||||||
UpContenido.Update();
|
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 }
|
//{ 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)
|
protected void LnkNewProyecto_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
RegistraScript(string.Format("$('#{0}').modal()", iddivAgregarProyecto));
|
||||||
RCveEventoB = RCveEvento;
|
RCveEventoB = RCveEvento;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -201,7 +201,7 @@ public partial class OI_Proyecto : ClsPaginas
|
|||||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
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();
|
loadEvento();
|
||||||
TxtAsunto.Text = "";
|
TxtAsunto.Text = "";
|
||||||
TxtDescripcion.Text = "";
|
TxtDescripcion.Text = "";
|
||||||
@@ -217,7 +217,7 @@ public partial class OI_Proyecto : ClsPaginas
|
|||||||
protected void BtnopenmodalClickGant_Click(object sender, EventArgs e)
|
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();
|
RCveEventoB = txtCveEvento.Text.ToEntero();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -44,7 +44,7 @@ public partial class OI_RepProyectos : ClsPaginas
|
|||||||
}
|
}
|
||||||
protected void LnkNewProyecto_Click(object sender, EventArgs e)
|
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)
|
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);
|
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
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));
|
||||||
this.Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
Alert("Se ha agregadó la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||||
|
|
||||||
cargar();
|
cargar();
|
||||||
TxtAsunto.Text = "";
|
TxtAsunto.Text = "";
|
||||||
|
|||||||
@@ -196,7 +196,7 @@ public partial class OI_RepReuniones : ClsPaginas
|
|||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
BtnCargarReunion_Click(null, null);
|
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()
|
CargaDatosOIEventosTareasAsignaron()
|
||||||
|
|
||||||
UPDatosOIEventosTareasAsignaron.Update()
|
UPDatosOIEventosTareasAsignaron.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
#End Region
|
#End Region
|
||||||
|
|||||||
@@ -325,7 +325,7 @@ Partial Class OI_RepTareas
|
|||||||
CargaDatosOIEventosTareasAsigne()
|
CargaDatosOIEventosTareasAsigne()
|
||||||
CargaDatosOIEventosTareasCCP()
|
CargaDatosOIEventosTareasCCP()
|
||||||
UPDatosOIEventosTareasAsignaron.Update()
|
UPDatosOIEventosTareasAsignaron.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatosOIEventosTareasAsignaron.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
|
|||||||
@@ -17,6 +17,6 @@ public partial class OI_RepTareas3 : System.Web.UI.Page
|
|||||||
protected void LnkAddEvento_Click(object sender, EventArgs e)
|
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();
|
TxtTabltablero.Text = tablero.ToString();
|
||||||
DdlTablusuario.SelectedValueExist(cveUsuario.ToString());
|
DdlTablusuario.SelectedValueExist(cveUsuario.ToString());
|
||||||
this.RegistraScript("$('#DModalTablero').modal();");
|
RegistraScript("$('#DModalTablero').modal();");
|
||||||
BtnTablADD.Visible = false;
|
BtnTablADD.Visible = false;
|
||||||
BtnTablEdit.Visible = true;
|
BtnTablEdit.Visible = true;
|
||||||
UPModalTabl.Update();
|
UPModalTabl.Update();
|
||||||
@@ -85,11 +85,11 @@ public partial class OI_Tablero : ClsPaginas
|
|||||||
ObjTabl.Dispose();
|
ObjTabl.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalTablero').modal('hide');");
|
RegistraScript("$('#DModalTablero').modal('hide');");
|
||||||
LimpiaTablero();
|
LimpiaTablero();
|
||||||
CargaTablero();
|
CargaTablero();
|
||||||
UPModalTabl.Update();
|
UPModalTabl.Update();
|
||||||
this.Alert("El Tablero Se ha agregado");
|
Alert("El Tablero Se ha agregado");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected void BtnTablEdit_Click(object sender, EventArgs e)
|
protected void BtnTablEdit_Click(object sender, EventArgs e)
|
||||||
@@ -102,11 +102,11 @@ public partial class OI_Tablero : ClsPaginas
|
|||||||
ObjTabl.Dispose();
|
ObjTabl.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalTablero').modal('hide');");
|
RegistraScript("$('#DModalTablero').modal('hide');");
|
||||||
LimpiaTablero();
|
LimpiaTablero();
|
||||||
UPModalTabl.Update();
|
UPModalTabl.Update();
|
||||||
CargaTablero();
|
CargaTablero();
|
||||||
this.Alert("El Tablero Se ha actualizado");
|
Alert("El Tablero Se ha actualizado");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected void LnkEliminarTabl_Click(object sender, EventArgs e)
|
protected void LnkEliminarTabl_Click(object sender, EventArgs e)
|
||||||
@@ -120,15 +120,15 @@ public partial class OI_Tablero : ClsPaginas
|
|||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
CargaTablero();
|
CargaTablero();
|
||||||
this.Alert("El Tablero Se ha Eliminado");
|
Alert("El Tablero Se ha Eliminado");
|
||||||
}else
|
}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)
|
protected void LnkTableros_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalTablero').modal();");
|
RegistraScript("$('#DModalTablero').modal();");
|
||||||
LimpiaTablero();
|
LimpiaTablero();
|
||||||
BtnTablADD.Visible = true;
|
BtnTablADD.Visible = true;
|
||||||
BtnTablEdit.Visible = false;
|
BtnTablEdit.Visible = false;
|
||||||
|
|||||||
@@ -86,14 +86,14 @@ public partial class OI_TableroDetalle : ClsPaginas
|
|||||||
string lista = gvRow.DataKey("Lista");
|
string lista = gvRow.DataKey("Lista");
|
||||||
|
|
||||||
TxtTabllista.Text = lista.ToString();
|
TxtTabllista.Text = lista.ToString();
|
||||||
this.RegistraScript("$('#DModalTableroLista').modal();");
|
RegistraScript("$('#DModalTableroLista').modal();");
|
||||||
BtnTablADD.Visible = false;
|
BtnTablADD.Visible = false;
|
||||||
BtnTablEdit.Visible = true;
|
BtnTablEdit.Visible = true;
|
||||||
UPModalTabl.Update();
|
UPModalTabl.Update();
|
||||||
}
|
}
|
||||||
protected void LnkAgregarTabl_Click(object sender, EventArgs e)
|
protected void LnkAgregarTabl_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalTableroLista').modal();");
|
RegistraScript("$('#DModalTableroLista').modal();");
|
||||||
LimpiaTableroLista();
|
LimpiaTableroLista();
|
||||||
BtnTablADD.Visible = true;
|
BtnTablADD.Visible = true;
|
||||||
BtnTablEdit.Visible = false;
|
BtnTablEdit.Visible = false;
|
||||||
@@ -108,11 +108,11 @@ public partial class OI_TableroDetalle : ClsPaginas
|
|||||||
ObjTabl.Dispose();
|
ObjTabl.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalTableroLista').modal('hide');");
|
RegistraScript("$('#DModalTableroLista').modal('hide');");
|
||||||
LimpiaTableroLista();
|
LimpiaTableroLista();
|
||||||
CargaTableroLista();
|
CargaTableroLista();
|
||||||
UPModalTabl.Update();
|
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)
|
protected void BtnTablEdit_Click(object sender, EventArgs e)
|
||||||
@@ -124,11 +124,11 @@ public partial class OI_TableroDetalle : ClsPaginas
|
|||||||
ObjTabl.Dispose();
|
ObjTabl.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalTableroLista').modal('hide');");
|
RegistraScript("$('#DModalTableroLista').modal('hide');");
|
||||||
LimpiaTableroLista();
|
LimpiaTableroLista();
|
||||||
UPModalTabl.Update();
|
UPModalTabl.Update();
|
||||||
CargaTableroLista();
|
CargaTableroLista();
|
||||||
this.Alert("La Lista Se ha actualizado");
|
Alert("La Lista Se ha actualizado");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected void LnkEliminarTabl_Click(object sender, EventArgs e)
|
protected void LnkEliminarTabl_Click(object sender, EventArgs e)
|
||||||
@@ -141,7 +141,7 @@ public partial class OI_TableroDetalle : ClsPaginas
|
|||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
CargaTableroLista();
|
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)
|
//Dim item As DataRowView = DirectCast(e.Item.DataItem, DataRowView)
|
||||||
|
|||||||
@@ -95,12 +95,12 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
catch (Exception)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
this.RegistraScript("window.close();");
|
RegistraScript("window.close();");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
this.RegistraScript("window.close();");
|
RegistraScript("window.close();");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -791,7 +791,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
ruta = string.Format("{0}{1}", ruta, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
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);
|
cargaActividades(objOI);
|
||||||
}
|
}
|
||||||
this.Alert("Se actualizó la tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
Alert("Se actualizó la tarea", ModExtensiones.TipoMensaje.MsgInformacion);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (errorMessage.Length > 0)
|
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);
|
DdlEventoEstatus.SelectedValueExist(DDlEstatus.SelectedValue);
|
||||||
lblEstatus.Text = DdlEventoEstatus.SelectedItem.Text;
|
lblEstatus.Text = DdlEventoEstatus.SelectedItem.Text;
|
||||||
UpEstatus.Update();
|
UpEstatus.Update();
|
||||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivCambiarEstatus));
|
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivCambiarEstatus));
|
||||||
Alert(mensaje, ModExtensiones.TipoMensaje.ToastInformacion);
|
Alert(mensaje, ModExtensiones.TipoMensaje.ToastInformacion);
|
||||||
cargaActividades(objOI);
|
cargaActividades(objOI);
|
||||||
|
|
||||||
@@ -1074,13 +1074,13 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkcambiarEstatus_Click(object sender, EventArgs e)
|
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)
|
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)
|
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))
|
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);
|
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 = "";
|
TxtTema.Text = "";
|
||||||
set_GlobalDTOIRevision(-1, objoi.DtResultados);
|
set_GlobalDTOIRevision(-1, objoi.DtResultados);
|
||||||
CargaTemas();
|
CargaTemas();
|
||||||
@@ -1105,7 +1105,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
protected void LnkAgregarActividad_Click(object sender, EventArgs e)
|
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)
|
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);
|
ruta = string.Format("{0}{1}{2}", ruta, CveComentario, archivoname);//, ArchivoExtencion);
|
||||||
System.IO.File.Move(rutaarchivoOri, ruta);
|
System.IO.File.Move(rutaarchivoOri, ruta);
|
||||||
}
|
}
|
||||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregar));
|
||||||
this.Alert("Comentario agregadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
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));
|
//Alert("Se ha agregado la nueva tarea", ModExtensiones.TipoMensaje.MsgInformacion, string.Format("location.replace(\"/OI/TareaDetalle.aspx?CveEvento={0}\");", CveEvento));
|
||||||
}
|
}
|
||||||
TxtComentario.Text = "";
|
TxtComentario.Text = "";
|
||||||
}
|
}
|
||||||
@@ -1197,7 +1197,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkUpFile_Click(object sender, EventArgs e)
|
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)
|
if (continuar)
|
||||||
{
|
{
|
||||||
LoadTarea();
|
LoadTarea();
|
||||||
this.RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarArchivo));
|
RegistraScript(string.Format("$('#{0}').modal('hide')", iddivAgregarArchivo));
|
||||||
this.Alert("Archivo Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
Alert("Archivo Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||||
}
|
}
|
||||||
UpContenido.Update();
|
UpContenido.Update();
|
||||||
UpAcciones.Update();
|
UpAcciones.Update();
|
||||||
@@ -1307,7 +1307,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
if (continuar)
|
if (continuar)
|
||||||
{
|
{
|
||||||
this.Alert("Avance Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
Alert("Avance Actualizadó", ModExtensiones.TipoMensaje.ToastInformacion);
|
||||||
|
|
||||||
}
|
}
|
||||||
//UpTitulo.Update();
|
//UpTitulo.Update();
|
||||||
@@ -1315,12 +1315,12 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkAddTtemaB_Click(object sender, EventArgs e)
|
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)
|
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";
|
LtlTituloUsuarios.Text = "Reasignar Tarea";
|
||||||
BtnUpMiembros.Visible = false;
|
BtnUpMiembros.Visible = false;
|
||||||
BtnReasignarTarea.Visible = true;
|
BtnReasignarTarea.Visible = true;
|
||||||
@@ -1361,7 +1361,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
}
|
}
|
||||||
protected void LnkUpUsuarios_Click(object sender, EventArgs e)
|
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";
|
LtlTituloUsuarios.Text = "Actualizar miembros";
|
||||||
BtnUpMiembros.Visible = true;
|
BtnUpMiembros.Visible = true;
|
||||||
BtnReasignarTarea.Visible = false;
|
BtnReasignarTarea.Visible = false;
|
||||||
@@ -1440,7 +1440,7 @@ public partial class OI_TareaDetalle : ClsPaginas
|
|||||||
Setpermisos();
|
Setpermisos();
|
||||||
}
|
}
|
||||||
UpContenido.Update();
|
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)
|
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
|
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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
|
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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
|
'Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
' CargaDatos()
|
' CargaDatos()
|
||||||
' UPDatos.Update()
|
' UPDatos.Update()
|
||||||
' Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
' RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
'End Sub
|
'End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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
|
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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
|
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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
|
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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
|
Protected Sub BtnConsultar_Click(sender As Object, e As EventArgs) Handles BtnConsultar.Click
|
||||||
CargaDatos()
|
CargaDatos()
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
Me.RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
RegistraScript("UpperBound = " & GvDatos.Rows.Count - 1 & ";")
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Protected Sub ImgExcel_Click(sender As Object, e As System.Web.UI.ImageClickEventArgs) Handles ImgExcel.Click
|
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();
|
limpiarCamposModal();
|
||||||
UPModalConcepto.Update();
|
UPModalConcepto.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalConcepto').modal();");
|
RegistraScript("$('#DivModalConcepto').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
@@ -112,7 +112,7 @@ public partial class RH_CatConceptosViaticos : ClsPaginas
|
|||||||
|
|
||||||
UPModalConcepto.Update();
|
UPModalConcepto.Update();
|
||||||
|
|
||||||
this.RegistraScript("$('#DivModalConcepto').modal();");
|
RegistraScript("$('#DivModalConcepto').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void BtnGuardarConcepto_Click(object sender, EventArgs e)
|
protected void BtnGuardarConcepto_Click(object sender, EventArgs e)
|
||||||
@@ -142,7 +142,7 @@ public partial class RH_CatConceptosViaticos : ClsPaginas
|
|||||||
|
|
||||||
ObjBanco.Dispose();
|
ObjBanco.Dispose();
|
||||||
limpiarCamposModal();
|
limpiarCamposModal();
|
||||||
this.RegistraScript("$('#DivModalConcepto').modal('hide');");
|
RegistraScript("$('#DivModalConcepto').modal('hide');");
|
||||||
CargaDatos();
|
CargaDatos();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public partial class RH_DiasFestivos : ClsPaginas
|
|||||||
}
|
}
|
||||||
protected void LnkAgregarDias_Click(object sender, EventArgs e)
|
protected void LnkAgregarDias_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalDiasFestivos').modal();");
|
RegistraScript("$('#DModalDiasFestivos').modal();");
|
||||||
LimpiaDiasFestivos();
|
LimpiaDiasFestivos();
|
||||||
BtnDiasADD.Visible = true;
|
BtnDiasADD.Visible = true;
|
||||||
UPModalDias.Update();
|
UPModalDias.Update();
|
||||||
@@ -48,11 +48,11 @@ public partial class RH_DiasFestivos : ClsPaginas
|
|||||||
ObjDias.Dispose();
|
ObjDias.Dispose();
|
||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
this.RegistraScript("$('#DModalDiasFestivos').modal('hide');");
|
RegistraScript("$('#DModalDiasFestivos').modal('hide');");
|
||||||
LimpiaDiasFestivos();
|
LimpiaDiasFestivos();
|
||||||
CargaDiasFestivos();
|
CargaDiasFestivos();
|
||||||
UPModalDias.Update();
|
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)
|
protected void LnkEliminarDias_Click(object sender, EventArgs e)
|
||||||
@@ -65,7 +65,7 @@ public partial class RH_DiasFestivos : ClsPaginas
|
|||||||
if (Continuar)
|
if (Continuar)
|
||||||
{
|
{
|
||||||
CargaDiasFestivos();
|
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
|
End Using
|
||||||
|
|
||||||
If Continuar Then
|
If Continuar Then
|
||||||
Me.RegistraScript("$('#DModalMovtoPermanente').modal('hide');")
|
RegistraScript("$('#DModalMovtoPermanente').modal('hide');")
|
||||||
CargaMovtoPermanente()
|
CargaMovtoPermanente()
|
||||||
UpMovtosPermanentes.Update()
|
UpMovtosPermanentes.Update()
|
||||||
Me.Alert("Se ha agregado el movimiento permanente")
|
Alert("Se ha agregado el movimiento permanente")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
RegistraScript("$('#ModalMovtoPermanente').modal('hide')")
|
RegistraScript("$('#ModalMovtoPermanente').modal('hide')")
|
||||||
@@ -7207,10 +7207,10 @@ Partial Class RH_Personal
|
|||||||
End Using
|
End Using
|
||||||
|
|
||||||
If Continuar Then
|
If Continuar Then
|
||||||
Me.RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
||||||
CargaMovtoPermanente()
|
CargaMovtoPermanente()
|
||||||
UpMovtosPermanentes.Update()
|
UpMovtosPermanentes.Update()
|
||||||
Me.Alert("Se ha actualizado el movimiento permanente")
|
Alert("Se ha actualizado el movimiento permanente")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -7229,10 +7229,10 @@ Partial Class RH_Personal
|
|||||||
End Using
|
End Using
|
||||||
|
|
||||||
If Continuar Then
|
If Continuar Then
|
||||||
Me.RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
RegistraScript("$('#ModalMovtoPermanente').modal('hide');")
|
||||||
CargaMovtoPermanente()
|
CargaMovtoPermanente()
|
||||||
UpMovtosPermanentes.Update()
|
UpMovtosPermanentes.Update()
|
||||||
Me.Alert("Se ha eliminadó el movimiento permanente")
|
Alert("Se ha eliminadó el movimiento permanente")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -7386,7 +7386,7 @@ Partial Class RH_Personal
|
|||||||
If Continuar Then
|
If Continuar Then
|
||||||
CargaPersonalIncapacidad()
|
CargaPersonalIncapacidad()
|
||||||
UpsrIncapacidadpersonal.Update()
|
UpsrIncapacidadpersonal.Update()
|
||||||
Me.Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion)
|
Alert("La incapacidad se ha agregado.", TipoMensaje.ToastInformacion)
|
||||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')")
|
RegistraScript("$('#ModalSRIncapacidad').modal('hide')")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
@@ -7412,7 +7412,7 @@ Partial Class RH_Personal
|
|||||||
If Continuar Then
|
If Continuar Then
|
||||||
CargaPersonalIncapacidad()
|
CargaPersonalIncapacidad()
|
||||||
UpsrIncapacidadpersonal.Update()
|
UpsrIncapacidadpersonal.Update()
|
||||||
Me.Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion)
|
Alert("La incapacidad se ha actualizado.", TipoMensaje.ToastInformacion)
|
||||||
RegistraScript("$('#ModalSRIncapacidad').modal('hide')")
|
RegistraScript("$('#ModalSRIncapacidad').modal('hide')")
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|||||||
@@ -164,7 +164,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
TabPanel.ActiveTabIndex = 0;
|
TabPanel.ActiveTabIndex = 0;
|
||||||
cargasolicitudes();
|
cargasolicitudes();
|
||||||
|
|
||||||
this.RegistraScript("$('#ModalViewSolicitudes').modal();");
|
RegistraScript("$('#ModalViewSolicitudes').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkSolicitarSat_Click(object sender, EventArgs e)
|
protected void LnkSolicitarSat_Click(object sender, EventArgs e)
|
||||||
@@ -248,7 +248,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
txtFechaIAdd.Text = "";
|
txtFechaIAdd.Text = "";
|
||||||
txtFechaFAdd.Text = "";
|
txtFechaFAdd.Text = "";
|
||||||
ChkMetaDatos.Checked = false;
|
ChkMetaDatos.Checked = false;
|
||||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||||
cargasolicitudes();
|
cargasolicitudes();
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -389,7 +389,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
txtFechaFAdd.Text = "";
|
txtFechaFAdd.Text = "";
|
||||||
ChkMetaDatos.Checked = false;
|
ChkMetaDatos.Checked = false;
|
||||||
UPModalViewSolicitudesAgregar.Update();
|
UPModalViewSolicitudesAgregar.Update();
|
||||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void GvResumen_RowDataBound(object sender, GridViewRowEventArgs e)
|
protected void GvResumen_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
|
|||||||
@@ -187,12 +187,12 @@ public partial class SAT_SolicitudesNominaSat : ClsPaginas
|
|||||||
txtFechaFAdd.Text = "";
|
txtFechaFAdd.Text = "";
|
||||||
ChkMetaDatos.Checked = false;
|
ChkMetaDatos.Checked = false;
|
||||||
UPModalViewSolicitudesAgregar.Update();
|
UPModalViewSolicitudesAgregar.Update();
|
||||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
RegistraScript("$('#ModalAgregarSolicitud').modal('show');");
|
||||||
}
|
}
|
||||||
protected void LnkShowSolicitudes_Click(object sender, EventArgs e)
|
protected void LnkShowSolicitudes_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
cargasolicitudes();
|
cargasolicitudes();
|
||||||
this.RegistraScript("$('#ModalViewSolicitudes').modal();");
|
RegistraScript("$('#ModalViewSolicitudes').modal();");
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkSolicitarSat_Click(object sender, EventArgs e)
|
protected void LnkSolicitarSat_Click(object sender, EventArgs e)
|
||||||
@@ -218,10 +218,10 @@ public partial class SAT_SolicitudesNominaSat : ClsPaginas
|
|||||||
{
|
{
|
||||||
txtFechaIAdd.Text = "";
|
txtFechaIAdd.Text = "";
|
||||||
txtFechaFAdd.Text = "";
|
txtFechaFAdd.Text = "";
|
||||||
//this.RegistraScript("$('#DModalSolicitudesNominas').modal('hide');");
|
//RegistraScript("$('#DModalSolicitudesNominas').modal('hide');");
|
||||||
this.RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
RegistraScript("$('#ModalAgregarSolicitud').modal('hide');");
|
||||||
cargasolicitudes();
|
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
|
If ObjPS.DtResultados.Rows.Count > 0 Then
|
||||||
GvProductos.DataSource = ObjPS.DtResultados
|
GvProductos.DataSource = ObjPS.DtResultados
|
||||||
GvProductos.DataBind()
|
GvProductos.DataBind()
|
||||||
GvProductos.ExportToExcelx("Reporte de Producto")
|
GvProductos.ExportToExcelX("Reporte de Producto")
|
||||||
Else
|
Else
|
||||||
Alert("Todos los productos tienen Asignada Clave Producto Servicio SAT.", TipoMensaje.MsgInformacion)
|
Alert("Todos los productos tienen Asignada Clave Producto Servicio SAT.", TipoMensaje.MsgInformacion)
|
||||||
End If
|
End If
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
|||||||
ClsVentas ObjVentas = new ClsVentas();
|
ClsVentas ObjVentas = new ClsVentas();
|
||||||
if (ObjVentas.GetClasificacionDetalle(UsuarioActual.CveEmpresa))
|
if (ObjVentas.GetClasificacionDetalle(UsuarioActual.CveEmpresa))
|
||||||
{
|
{
|
||||||
GvDatos.DataSource = ObjVentas.DtResultados;
|
GvDatos.DataSource = ObjVentas.DtResultados;
|
||||||
}
|
}
|
||||||
ObjVentas.Dispose();
|
ObjVentas.Dispose();
|
||||||
GvDatos.DataBind();
|
GvDatos.DataBind();
|
||||||
@@ -74,7 +74,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
|||||||
|
|
||||||
if (Convert.ToBoolean(e.Row.DBCampo("Estatus")) == true)
|
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;
|
e.Row.Cells[3].ForeColor = System.Drawing.Color.Green;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@@ -87,7 +87,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
|||||||
|
|
||||||
protected void LnkEliminar_Click(object sender, EventArgs e)
|
protected void LnkEliminar_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
GridViewRow gvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
GridViewRow gvRow = (GridViewRow)(((LinkButton)sender).NamingContainer);
|
||||||
ClsVentas ObjVenta = new ClsVentas();
|
ClsVentas ObjVenta = new ClsVentas();
|
||||||
bool Continuar = ObjVenta.RemoveClasificacionDetalle(gvRow.DataKey("CveClasificacionDetalle").ToEntero());
|
bool Continuar = ObjVenta.RemoveClasificacionDetalle(gvRow.DataKey("CveClasificacionDetalle").ToEntero());
|
||||||
ObjVenta.Dispose();
|
ObjVenta.Dispose();
|
||||||
@@ -97,7 +97,7 @@ public partial class Ventas_ClasificacionesDetalle : ClsPaginas
|
|||||||
CargaDatos();
|
CargaDatos();
|
||||||
Alert("La Clasificacion Detalle se ha eliminado");
|
Alert("La Clasificacion Detalle se ha eliminado");
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void LnkEditar_Click(object sender, EventArgs e)
|
protected void LnkEditar_Click(object sender, EventArgs e)
|
||||||
|
|||||||
@@ -668,19 +668,34 @@
|
|||||||
<label for="<%= DdlClasificacion.ClientID.ToString()%>">Giro:</label>
|
<label for="<%= DdlClasificacion.ClientID.ToString()%>">Giro:</label>
|
||||||
</div>
|
</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>
|
<div class="col-md-6">
|
||||||
<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>
|
<table>
|
||||||
<label for="<%= DdlVendedor.ClientID.ToString()%>">Vendedor:</label>
|
<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>
|
||||||
|
|
||||||
|
|
||||||
<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>
|
||||||
<div class="form-group form-md-line-input input-iconright" id="Div2" runat="server">
|
<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)
|
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>";
|
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)
|
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)
|
protected void LnkDescargaExcel_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
||||||
if(TipoLinea == 1)
|
if(TipoLinea == 1)
|
||||||
{
|
{
|
||||||
GridView gvTemp = GvLineasAdicionales;
|
GridView gvTemp = GvLineasAdicionales;
|
||||||
gvTemp.ExportToExcelX("RepLineasAdicionales" + DateTime.Now.ToShortDateString());
|
gvTemp.ExportToExcelX("RepLineasAdicionales" + DateTime.Now.ToShortDateString());
|
||||||
}
|
}
|
||||||
else if(TipoLinea == 2)
|
else if(TipoLinea == 2)
|
||||||
{
|
{
|
||||||
GridView gvTemp = GvLAPO;
|
GridView gvTemp = GvLAPO;
|
||||||
gvTemp.Columns[8].Visible = false;
|
gvTemp.Columns[8].Visible = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user