From fa0fa097ba2622426071645135f0896016619352 Mon Sep 17 00:00:00 2001 From: JORGE LUIS CAUDILLO ESPARZA Date: Tue, 4 Oct 2022 22:57:46 -0700 Subject: [PATCH 1/3] --- App_Code/ClsRH.vb | 18 + Ashx/SigFiles.ashx | 4 + GPS/PalletEtiqueta2 - copia.rdlc | 3684 ++++++++++++++++++++++++++++++ GPS/PalletEtiqueta2.rdlc | 1108 ++++----- RH/CatPersonal.aspx | 29 +- RH/CatPersonal.aspx.vb | 7 + RH/Personal.aspx.vb | 15 +- vwd.webinfo | 2 + 8 files changed, 4310 insertions(+), 557 deletions(-) create mode 100644 GPS/PalletEtiqueta2 - copia.rdlc diff --git a/App_Code/ClsRH.vb b/App_Code/ClsRH.vb index 2fc71f5d3..8d4a1894e 100644 --- a/App_Code/ClsRH.vb +++ b/App_Code/ClsRH.vb @@ -2264,6 +2264,24 @@ chkAplicaVacacion As Boolean, chkAplicaIncapacidad As Boolean, chkAplicaRetardo End Try Return Retorno End Function + Public Function PersonalUitimoCodigoGET(CveEmpresa As Integer, prefijo As String) As String + Dim Codigo As String = "-1" + SqlDataAdapter("PA_RH_PersonalUitimoCodigoGET") + With SqlAdapter.SelectCommand.Parameters + .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa + .Add("@Prefijo", SqlDbType.VarChar).Value = prefijo + .Add("@Codigo", SqlDbType.Int).Direction = ParameterDirection.Output + End With + Try + SqlAdapter.Fill(Data) + Codigo = SqlAdapter.SelectCommand.Parameters("@Codigo").Value.ToString() + Catch ex As SqlException + OnError("Ocurrió un error al intentar guardar los cambios en el Personal.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo) + End Try + Return Codigo + End Function + + Public Function Updateestemporal(CvePersonal As Integer, CveEmpresa As Integer, estemporal As Boolean) As Boolean Dim Retorno As Boolean = False SqlDataAdapter("PA_RH_PersonalUpdateesTemporal") diff --git a/Ashx/SigFiles.ashx b/Ashx/SigFiles.ashx index 3ab1e80ad..2cb7cab5d 100644 --- a/Ashx/SigFiles.ashx +++ b/Ashx/SigFiles.ashx @@ -12,6 +12,10 @@ public class SigFiles : IHttpHandler //context.Response.ContentType = "text/plain"; //context.Response.Write("Hello World"); string path = ""; + if (context.Request["Ru"] != null) + { + path = string.Format("{0}",ModExtensiones.Decripta( context.Request["Ru"])); + } if (context.Request["FileUrl"] != null) { path = string.Format("{0}{1}", ModExtensiones.DirectorioBaseEmpresas, context.Request["FileUrl"]); diff --git a/GPS/PalletEtiqueta2 - copia.rdlc b/GPS/PalletEtiqueta2 - copia.rdlc new file mode 100644 index 000000000..656ddb873 --- /dev/null +++ b/GPS/PalletEtiqueta2 - copia.rdlc @@ -0,0 +1,3684 @@ + + + 0 + + + + System.Data.DataSet + /* Local Connection */ + + 06ae5329-8ff5-42b5-b7f4-6d68e5186421 + + + + + + dsImagenes + /* Local Query */ + + + + ImagenByte + System.Byte[] + + + + dsImagenes + C:\Users\Caudillo\Documents\Visual Studio 2013\WebSites\WebSite3\App_Code\DataSet.xsd + dtImagenes + + + + + + + + + + + + + + + 2.81806cm + + + 2.93411cm + + + 2.28832cm + + + 2.65186cm + + + + + 0.44125cm + + + + + true + true + + + + + PALLET-TAG + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.44125cm + + + + + true + true + + + + + COMMODITY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Cultivo.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + 3 + + + + + + + + 0.38833cm + + + + + true + true + + + + + VARIETY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Variedad.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + 3 + + + + + + + + 0.44125cm + + + + + true + true + + + + + STYLE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Envase.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + 3 + + + + + + + + 0.36187cm + + + + + true + true + + + + + LABEL + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Grower + + + + + + 2pt + 2pt + 2pt + 2pt + + + 3 + + + + + + + + 0.36187cm + + + + + true + true + + + + + PACKS + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!NoCajas.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + 3 + + + + + + + + 0.25604cm + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + Database + =First(Fields!ImagenByte.Value, "dsImagenes") + image/png + FitProportional + 14 + + + + + 2 + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.49417cm + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + 2 + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.41479cm + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.41479cm + + + + + true + true + + + + + PALLET-TAG + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.44125cm + + + + + true + true + + + + + COMMODITY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + VARIETY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + COUNTRY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + Database + =First(Fields!ImagenByte.Value, "dsImagenes") + image/png + FitProportional + 14 + + + + + + + + + + 0.45921cm + + + + + true + + + + + =Parameters!Cultivo.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + + + + =Parameters!Variedad.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MEXICO + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.3475cm + + + + + true + true + + + + + STYLE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SIZE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + LABEL + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + =Parameters!Envase.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Tamano.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Grower + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.36187cm + + + + + true + true + + + + + PALLET-TAG + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.17667cm + + + + + true + true + + + + + COMMODITY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + VARIETY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + COUNTRY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + Database + =First(Fields!ImagenByte.Value, "dsImagenes") + image/png + FitProportional + 14 + + + + + + + + + + 0.44125cm + + + + + true + + + + + =Parameters!Cultivo.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + + + + =Parameters!Variedad.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MEXICO + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.36187cm + + + + + true + true + + + + + STYLE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SIZE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + LABEL + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.62646cm + + + + + true + true + + + + + =Parameters!Envase.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Tamano.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Grower + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.41479cm + + + + + true + true + + + + + PALLET-TAG + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.41479cm + + + + + true + true + + + + + COMMODITY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + VARIETY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + COUNTRY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + Database + =First(Fields!ImagenByte.Value, "dsImagenes") + image/png + FitProportional + 14 + + + + + + + + + + 0.38833cm + + + + + true + + + + + =Parameters!Cultivo.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + + + + =Parameters!Variedad.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MEXICO + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.38833cm + + + + + true + true + + + + + STYLE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SIZE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + LABEL + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.6cm + + + + + true + true + + + + + =Parameters!Envase.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Tamano.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Grower + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.44125cm + + + + + true + true + + + + + PALLET-TAG + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.36187cm + + + + + true + true + + + + + COMMODITY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + VARIETY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + COUNTRY + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + Database + =First(Fields!ImagenByte.Value, "dsImagenes") + image/png + FitProportional + 14 + + + + + + + + + + 0.44125cm + + + + + true + + + + + =Parameters!Cultivo.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + + + + + =Parameters!Variedad.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + MEXICO + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + 03 + + + + =Parameters!noPallet.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.33542cm + + + + + true + true + + + + + STYLE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + SIZE + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + LABEL + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + 0.36187cm + + + + + true + true + + + + + =Parameters!Envase.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Parameters!Tamano.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Grower + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0.0762cm + 0.10266cm + 12.57959cm + 10.69235cm + + + + + + 5.09718in + @@ -80,10 +80,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -99,14 +99,14 @@ 03 =Parameters!noPallet.Value @@ -119,10 +119,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 2 @@ -139,7 +139,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -161,7 +163,7 @@ - 0.44125cm + 0.38833cm @@ -174,7 +176,7 @@ COMMODITY @@ -187,10 +189,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -206,7 +208,7 @@ =Parameters!Cultivo.Value @@ -218,10 +220,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 3 @@ -232,7 +234,7 @@ - 0.38833cm + 0.30896cm @@ -245,7 +247,7 @@ VARIETY @@ -258,10 +260,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -277,7 +279,7 @@ =Parameters!Variedad.Value @@ -289,10 +291,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 3 @@ -303,7 +305,7 @@ - 0.44125cm + 0.38833cm @@ -316,7 +318,7 @@ STYLE @@ -329,10 +331,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -348,7 +350,7 @@ =Parameters!Envase.Value @@ -360,10 +362,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 3 @@ -387,7 +389,7 @@ LABEL @@ -400,10 +402,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -419,7 +421,7 @@ Grower @@ -432,10 +434,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 3 @@ -446,7 +448,7 @@ - 0.36187cm + 0.33541cm @@ -459,7 +461,7 @@ PACKS @@ -472,10 +474,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -491,7 +493,7 @@ =Parameters!NoCajas.Value @@ -503,10 +505,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 3 @@ -517,7 +519,7 @@ - 0.25604cm + 0.15021cm @@ -530,7 +532,7 @@ @@ -543,10 +545,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -561,7 +563,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -590,7 +594,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -619,7 +625,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -654,7 +662,7 @@ @@ -667,10 +675,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -703,7 +711,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -738,7 +748,7 @@ @@ -751,10 +761,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -770,14 +780,14 @@ 03 =Parameters!noPallet.Value @@ -790,10 +800,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt 2 @@ -810,7 +820,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -832,7 +844,7 @@ - 0.41479cm + 0.22958cm @@ -845,7 +857,7 @@ @@ -858,10 +870,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -877,7 +889,7 @@ @@ -889,10 +901,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -908,7 +920,7 @@ @@ -921,10 +933,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -939,7 +951,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -974,7 +988,7 @@ PALLET-TAG @@ -987,10 +1001,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1006,7 +1020,7 @@ @@ -1018,10 +1032,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1037,14 +1051,14 @@ 03 =Parameters!noPallet.Value @@ -1057,10 +1071,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1075,7 +1089,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1110,7 +1126,7 @@ COMMODITY @@ -1123,10 +1139,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1142,7 +1158,7 @@ VARIETY @@ -1155,10 +1171,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1174,7 +1190,7 @@ COUNTRY @@ -1187,10 +1203,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1226,7 +1242,7 @@ =Parameters!Cultivo.Value @@ -1238,10 +1254,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1256,7 +1272,7 @@ =Parameters!Variedad.Value @@ -1268,10 +1284,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1287,7 +1303,7 @@ MEXICO @@ -1300,10 +1316,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1319,14 +1335,14 @@ 03 =Parameters!noPallet.Value @@ -1339,10 +1355,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1363,7 +1379,7 @@ STYLE @@ -1376,10 +1392,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1395,7 +1411,7 @@ SIZE @@ -1408,10 +1424,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1427,7 +1443,7 @@ LABEL @@ -1440,10 +1456,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1458,7 +1474,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1493,7 +1511,7 @@ =Parameters!Envase.Value @@ -1505,10 +1523,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1524,7 +1542,7 @@ =Parameters!Tamano.Value @@ -1536,10 +1554,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1555,7 +1573,7 @@ Grower @@ -1568,10 +1586,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1587,7 +1605,7 @@ @@ -1600,10 +1618,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1624,7 +1642,7 @@ PALLET-TAG @@ -1637,10 +1655,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1656,7 +1674,7 @@ @@ -1668,10 +1686,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1687,14 +1705,14 @@ 03 =Parameters!noPallet.Value @@ -1707,10 +1725,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1725,7 +1743,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1760,7 +1780,7 @@ COMMODITY @@ -1773,10 +1793,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1792,7 +1812,7 @@ VARIETY @@ -1805,10 +1825,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1824,7 +1844,7 @@ COUNTRY @@ -1837,10 +1857,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1876,7 +1896,7 @@ =Parameters!Cultivo.Value @@ -1888,10 +1908,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1906,7 +1926,7 @@ =Parameters!Variedad.Value @@ -1918,10 +1938,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1937,7 +1957,7 @@ MEXICO @@ -1950,10 +1970,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -1969,14 +1989,14 @@ 03 =Parameters!noPallet.Value @@ -1989,10 +2009,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2013,7 +2033,7 @@ STYLE @@ -2026,10 +2046,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2045,7 +2065,7 @@ SIZE @@ -2058,10 +2078,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2077,7 +2097,7 @@ LABEL @@ -2090,10 +2110,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2108,7 +2128,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2143,7 +2165,7 @@ =Parameters!Envase.Value @@ -2155,10 +2177,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2174,7 +2196,7 @@ =Parameters!Tamano.Value @@ -2186,10 +2208,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2205,7 +2227,7 @@ Grower @@ -2218,10 +2240,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2237,7 +2259,7 @@ @@ -2250,10 +2272,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2274,7 +2296,7 @@ PALLET-TAG @@ -2287,10 +2309,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2306,7 +2328,7 @@ @@ -2318,10 +2340,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2337,14 +2359,14 @@ 03 =Parameters!noPallet.Value @@ -2357,10 +2379,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2375,7 +2397,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2410,7 +2434,7 @@ COMMODITY @@ -2423,10 +2447,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2442,7 +2466,7 @@ VARIETY @@ -2455,10 +2479,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2474,7 +2498,7 @@ COUNTRY @@ -2487,10 +2511,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2526,7 +2550,7 @@ =Parameters!Cultivo.Value @@ -2538,10 +2562,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2556,7 +2580,7 @@ =Parameters!Variedad.Value @@ -2568,10 +2592,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2587,7 +2611,7 @@ MEXICO @@ -2600,10 +2624,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2619,14 +2643,14 @@ 03 =Parameters!noPallet.Value @@ -2639,10 +2663,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2663,7 +2687,7 @@ STYLE @@ -2676,10 +2700,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2695,7 +2719,7 @@ SIZE @@ -2708,10 +2732,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2727,7 +2751,7 @@ LABEL @@ -2740,10 +2764,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2758,7 +2782,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2793,7 +2819,7 @@ =Parameters!Envase.Value @@ -2805,10 +2831,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2824,7 +2850,7 @@ =Parameters!Tamano.Value @@ -2836,10 +2862,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2855,7 +2881,7 @@ Grower @@ -2868,10 +2894,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2887,7 +2913,7 @@ @@ -2900,10 +2926,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2924,7 +2950,7 @@ PALLET-TAG @@ -2937,10 +2963,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2956,7 +2982,7 @@ @@ -2968,10 +2994,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -2987,14 +3013,14 @@ 03 =Parameters!noPallet.Value @@ -3007,10 +3033,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3025,7 +3051,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3060,7 +3088,7 @@ COMMODITY @@ -3073,10 +3101,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3092,7 +3120,7 @@ VARIETY @@ -3105,10 +3133,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3124,7 +3152,7 @@ COUNTRY @@ -3137,10 +3165,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3176,7 +3204,7 @@ =Parameters!Cultivo.Value @@ -3188,10 +3216,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3206,7 +3234,7 @@ =Parameters!Variedad.Value @@ -3218,10 +3246,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3237,7 +3265,7 @@ MEXICO @@ -3250,10 +3278,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3269,14 +3297,14 @@ 03 =Parameters!noPallet.Value @@ -3289,10 +3317,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3313,7 +3341,7 @@ STYLE @@ -3326,10 +3354,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3345,7 +3373,7 @@ SIZE @@ -3358,10 +3386,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3377,7 +3405,7 @@ LABEL @@ -3390,10 +3418,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3408,7 +3436,9 @@ - - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3443,7 +3473,7 @@ =Parameters!Envase.Value @@ -3455,10 +3485,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3474,7 +3504,7 @@ =Parameters!Tamano.Value @@ -3486,10 +3516,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3505,7 +3535,7 @@ Grower @@ -3518,10 +3548,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3537,7 +3567,7 @@ @@ -3550,10 +3580,10 @@ - 2pt - 2pt - 2pt - 2pt + 0.5pt + 0.5pt + 0.5pt + 0.5pt @@ -3606,8 +3636,8 @@ 0.0762cm 0.10266cm - 12.57959cm - 10.69235cm + 11.99751cm + 9.15777cm @@ -3615,17 +3645,17 @@ - 5.09718in + 4.7951in - Textbox4 @@ -211,12 +230,14 @@ Sub Proyecto - Textbox14 @@ -243,14 +264,16 @@ - Descripcion + Activo Fijo - Textbox6 @@ -279,12 +302,14 @@ Producto - Textbox15 @@ -313,12 +338,14 @@ Responsable - Textbox16 @@ -345,26 +372,30 @@ - Horometro/ + Horo./ - - Odometro + Odo. - Textbox18 @@ -382,6 +413,78 @@ + + + + true + true + + + + + Tipo Mant. + + + + + + + Textbox17 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + Clasificacion 2 + + + + + + + Textbox21 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + @@ -393,12 +496,14 @@ U.M. - Textbox5 @@ -425,14 +530,16 @@ - Cantidad + Cant. - Textbox19 @@ -461,12 +568,14 @@ PU - Textbox3 @@ -495,12 +604,14 @@ Total - Textbox13 @@ -518,6 +629,42 @@ + + + + true + true + + + + + Cuenta Contable + + + + + + + Textbox20 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + @@ -534,7 +681,7 @@ =Fields!SerieFolio.Value @@ -567,7 +714,7 @@ =Fields!SubProyecto.Value @@ -599,7 +746,7 @@ =Fields!CodigoAF.Value @@ -631,7 +778,7 @@ =Fields!CodigoPS.Value @@ -664,7 +811,7 @@ =Fields!NombreCompleto.Value @@ -697,7 +844,7 @@ =Fields!AFMedida.Value @@ -719,6 +866,76 @@ + + + + true + true + + + + + =Fields!AFTipoMantenimientoStr.Value + + + + + + + AFTipoMantenimientoStr + + + =IIF(Fields!Orden.Value.ToString = "0","Silver","White") + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Clasificacion2.Value + + + + + + + Clasificacion2 + + + =IIF(Fields!Orden.Value.ToString = "0","Silver","White") + 2pt + 2pt + 2pt + 2pt + + + + @@ -730,7 +947,7 @@ =Fields!UnidadMedida.Value @@ -763,7 +980,7 @@ =Fields!Cantidad.Value @@ -799,7 +1016,7 @@ =Fields!PU.Value @@ -835,7 +1052,7 @@ =Fields!Total.Value @@ -860,6 +1077,41 @@ + + + + true + true + + + + + =Fields!CuentaContable.Value + + + + + + + CuentaContable + + + =IIF(Fields!Orden.Value.ToString = "0","Silver","White") + 2pt + 2pt + 2pt + 2pt + + + + @@ -876,6 +1128,9 @@ + + + @@ -891,7 +1146,7 @@ DataSet1 0.9482cm 0.09525cm - 1.06771cm + 1.20002cm 26.76762cm 2 - - - Conciliación CFDI SAT - - - - -
  • Solicitudes SAT
  • - -
    - - - - - - -
    -
    -
    - - -
    -
    -
    - - -
    - Fecha Inicio: -
    -
    -
    - - - - -
    - - - - - - -
    -
    - Fecha Fin: -
    -
    -
    - - - - -
    - - - - - - -
    -
    -
    -
    - -
    -
    -
    - - - - - - - - - - - - <%# Eval("CFDISIG")%> - - - - - <%# Eval("CFDISAT")%> - - - - - <%# Eval("CFDISIGSinSAT")%> - - - - - <%# Eval("CFDISATSinSIG")%> - - - - - - - - - - - - - - <%----%> - - -
    - - - - diff --git a/Ventas/RepConciliacionSat.aspx.cs b/Ventas/RepConciliacionSat.aspx.cs deleted file mode 100644 index 6d282df49..000000000 --- a/Ventas/RepConciliacionSat.aspx.cs +++ /dev/null @@ -1,135 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using Extensiones; - -public partial class Ventas_RepConciliacionSat : ClsPaginas -{ - const string rqFechaInicio = "FechaInicio"; - const string rqFechaFin = "FechaFin"; - public string RfechaI - { - get - { - return ViewState["RfechaI"].ToString(); - } - set { ViewState["RfechaI"] = value; } - } - public string RfechaF - { - get - { - return ViewState["RfechaF"].ToString(); - } - set { ViewState["RfechaF"] = value; } - } - protected void Page_Load(object sender, EventArgs e) - { - if (!IsPostBack) - { - DateTime fecha; - DateTime fechaInicio = DateTime.Now; - DateTime fechaFin = DateTime.Now; - if (fechaInicio.Day < 5) { fechaInicio = fechaInicio.AddMonths(-1); } - fechaInicio = fechaInicio.AddDays(1 - fechaInicio.DayOfYear); - fechaFin = fechaInicio.AddYears(1).AddDays(-1); - if (Request[rqFechaInicio] != null) { DateTime.TryParse(Request[rqFechaInicio], out fecha); fechaInicio = fecha.Year > 1900 ? fecha : fechaInicio; } - if (Request[rqFechaFin] != null) { DateTime.TryParse(Request[rqFechaFin], out fecha); fechaFin = fecha.Year > 1900 ? fecha : fechaFin; } - txtFechaI.Text = string.Format("{0:dd/MM/yyyy}", fechaInicio); - txtFechaF.Text = string.Format("{0:dd/MM/yyyy}", fechaFin); - - - } - CargaRepConciliacionSatGET(); - } - - - protected void CargaRepConciliacionSatGET() - { - string RtipoDocto; - RtipoDocto = "I"; - RfechaI = txtFechaI.Text.Length > 0 ? txtFechaI.Text.ToDateTime().ToString("yyyy/MM/dd") : ""; - RfechaF = txtFechaF.Text.Length > 0 ? txtFechaF.Text.ToDateTime().ToString("yyyy/MM/dd") : ""; - using (ClsGenerales ObjRepC = new ClsGenerales()) - { - ObjRepC.RepConciliacionSATGet(UsuarioActual.CveEmpresa, RtipoDocto, RfechaI, RfechaF); - GVRepConciliacionSatGET.DataSource = ObjRepC.DtResultados; - ObjRepC.Dispose(); - - } - GVRepConciliacionSatGET.DataBind(); - upDatosRepC.Update(); - } - - protected void BtnConsultar_Click(object sender, EventArgs e) - { - CargaRepConciliacionSatGET(); - } - - protected void GVRepConciliacionSatGET_RowDataBound(object sender, GridViewRowEventArgs e) - { - if (e.Row.RowType == DataControlRowType.DataRow) - { - string fechaI = RfechaI; - string fechaF = RfechaF; - DateTime danio; - DateTime danioF; - int GRUPOCve = e.Row.DBCampo("GRUPOCve").ToString().ToEntero(); - e.Row.CssClass = string.Format("Grupo{0}", GRUPOCve); - e.Row.Attributes.Add("ganio", string.Format("{0}", e.Row.DBCampo("anio"))); - e.Row.Attributes.Add("gMes", string.Format("{0}", e.Row.DBCampo("Mes"))); - string navigateurl = ""; - switch (GRUPOCve) - { - case 0: - break; - case 1: - danio = string.Format("{0}/01/01", e.Row.DBCampo("anio")).ToDateTime(); - danioF = danio.AddYears(1).AddSeconds(-1); - if (RfechaI.ToDateTime() < danio) - { - fechaI = danio.ToString("yyyy/MM/dd"); - } - if (RfechaF.ToDateTime() > danioF || RfechaF.Length == 0) - { - fechaF = danioF.ToString("yyyy/MM/dd HH:mm:ss"); - } - break; - case 2: - danio = string.Format("{0}/{1}/01", e.Row.DBCampo("anio"), e.Row.DBCampo("Mes").Substring(4)).ToDateTime(); - danioF = danio.AddMonths(1).AddSeconds(-1); - if (RfechaI.ToDateTime() < danio) - { - fechaI = danio.ToString("yyyy/MM/dd"); - } - if (RfechaF.ToDateTime() > danioF || RfechaF.Length == 0) - { - fechaF = danioF.ToString("yyyy/MM/dd HH:mm:ss"); - } - break; - case 3: - danio = string.Format("{0:yyyy/MM/dd}", e.Row.DBCampo("dia")).ToDateTime(); - danioF = danio.AddDays(1).AddSeconds(-1); - if (RfechaI.ToDateTime() < danio) - { - fechaI = danio.ToString("yyyy/MM/dd"); - } - if (RfechaF.ToDateTime() > danioF || RfechaF.Length == 0) - { - fechaF = danioF.ToString("yyyy/MM/dd HH:mm:ss"); - } - break; - default: - break; - } - navigateurl = string.Format("{0}&{3}={1}&{4}={2}", navigateurl, fechaI, fechaF, rqFechaInicio, rqFechaFin); - e.Row.FCHyperLink("HypSIG").NavigateUrl = string.Format("/Ventas/RepConciliacionEmitidosSat.aspx?RegistroEn=1{0}", navigateurl); - e.Row.FCHyperLink("HypSAT").NavigateUrl = string.Format("/Ventas/RepConciliacionEmitidosSat.aspx?RegistroEn=2{0}", navigateurl); - e.Row.FCHyperLink("HypSIGnoSAT").NavigateUrl = string.Format("/Ventas/RepConciliacionEmitidosSat.aspx?RegistroEn=3{0}", navigateurl); - e.Row.FCHyperLink("HypSatnoSIG").NavigateUrl = string.Format("/Ventas/RepConciliacionEmitidosSat.aspx?RegistroEn=4{0}", navigateurl); - } - } -} \ No newline at end of file diff --git a/Ventas/RepIngresos.aspx b/Ventas/RepIngresos.aspx deleted file mode 100644 index 59b888063..000000000 --- a/Ventas/RepIngresos.aspx +++ /dev/null @@ -1,252 +0,0 @@ -<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="RepIngresos.aspx.vb" Inherits="Ventas_RepIngresos" %> - - - - - - - - Reporte de Ingresos - - - - - - -
  • - PDF -
  • -
  • - Excel -
  • -
  • - Ver Dlls en pesos -
  • -
    - - - - -
    -
    - - - - - - -
    -
    -
    - - - "> - - -
    -
    -
    -
    - -
    -
    -
    - - - - -
    - - -
    -
    - -
    -
    -
    - - - - -
    - - -
    -
    - -
    - -
    - - - - - - - - - - - - <%-- - - - - - - --%> -
    -
    - -
    -
    - <%-- - - --%> - - - - -
    -
    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    -
    - - - - - -
    - - - diff --git a/Ventas/RepIngresos.aspx.vb b/Ventas/RepIngresos.aspx.vb deleted file mode 100644 index 8e5a5f6af..000000000 --- a/Ventas/RepIngresos.aspx.vb +++ /dev/null @@ -1,197 +0,0 @@ - -Imports System.Data -Imports Extensiones -Imports Microsoft.Reporting.WebForms - -Partial Class Ventas_RepIngresos - Inherits ClsPaginas - -#Region "Propiedades" - Protected ReadOnly Property Filtros As String - Get - Dim retorno As New StringBuilder - If RsFechaI <> "-1" Then - retorno.Append("&RsFechaI=") - retorno.Append(RsFechaI) - End If - If RsFechaF <> "-1" Then - retorno.Append("&RsFechaF=") - retorno.Append(RsFechaF) - End If - If TipoDoc <> "-1" Then - retorno.Append("&TipoDoc=") - retorno.Append(TipoDoc) - End If - If CveSubProyecto <> -1 Then - retorno.Append("&CveSubProyecto=") - retorno.Append(CveSubProyecto) - End If - Return retorno.ToString() - End Get - End Property - Private Property RsFechaI() As String - Get - Return If(IsNothing(ViewState("RsFechaI")), "-1", CStr(ViewState("RsFechaI"))) - End Get - Set - ViewState("RsFechaI") = Value - End Set - End Property - Private Property RsFechaF() As String - Get - Return If(IsNothing(ViewState("RsFechaF")), "-1", CStr(ViewState("RsFechaF"))) - End Get - Set - ViewState("RsFechaF") = Value - End Set - End Property - Private Property TipoDoc() As String - Get - Return If(IsNothing(ViewState("TipoDoc")), "-1", CStr(ViewState("TipoDoc"))) - End Get - Set - ViewState("TipoDoc") = Value - End Set - End Property - Private Property CveSubProyecto() As Integer - Get - Return If(IsNothing(ViewState("CveSubProyecto")), -1, ViewState("CveSubProyecto").ToString().ToEntero()) - End Get - Set - ViewState("CveSubProyecto") = Value - End Set - End Property - Private Property DtDatos As DataTable - Get - DtDatos = DirectCast(ViewState("DtDatos"), DataTable) - End Get - - Set(ByVal value As DataTable) - ViewState("DtDatos") = value - End Set - End Property - - Private Property TipoCambio As Integer - Get - Return ViewState("TipoCambio").ToString.ToEntero - End Get - - Set(value As Integer) - ViewState("TipoCambio") = value - End Set - End Property - Private Property TCEspecifico As Decimal - Get - Return ViewState("TCEspecifico").ToString.ToDecimal - End Get - - Set(value As Decimal) - ViewState("TCEspecifico") = value - End Set - End Property -#End Region - - Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load - If Not IsPostBack Then - TCEspecifico = -1 - TipoCambio = 1 - CveSubProyecto = -1 - TxtFechaInicio.Text = String.Format("01/01/{0}", Now.Year) - DdlSubProyecto.DataSource = GlobalDTSubProyectosUsuarios(UsuarioActual.CveUsuario, -1, UsuarioActual.CveEmpresa, -1, 1) - DdlSubProyecto.DataBind() - - End If - End Sub - - Protected Sub CargaRepIngresos(Optional tipoReporte As Integer = -1) - Dim Cves_Subprotectos As String = If(DdlSubProyecto.GetSelectedValuesM = "", "-1", DdlSubProyecto.GetSelectedValuesM) - Dim TiposDoc As String = If(DdlTipoDocto.GetSelectedValuesM = "", "-1", DdlTipoDocto.GetSelectedValuesM) - - 'If RblTipoCambio.SelectedValue.ToEntero = 3 And TxtEspecifico.Text <> "" Then - ' TCEspecifico = TxtEspecifico.Text.ToDecimal - 'Else - ' TCEspecifico = -1 - 'End If - - Dim ObjRepI As New ClsVentas() - If ObjRepI.RepIngresos(UsuarioActual.CveEmpresa, If(RsFechaI = "-1", MinFecha, RsFechaI.ToDate), If(RsFechaF = "-1", MaxFecha, RsFechaF.ToDate), TiposDoc, Cves_Subprotectos, TipoCambio:=TipoCambio, TCEspecifico:=TCEspecifico) Then - GVRepIngresos.DataSource = ObjRepI.DtResultados - DtDatos = ObjRepI.DtResultados - End If - ObjRepI.Dispose() - GVRepIngresos.DataBind() - upDatosRepI.Update() - End Sub - Protected Sub LnkFiltrar_Click(sender As Object, e As EventArgs) - RsFechaI = TxtFechaInicio.Text.Replace("__/__/____", "").Trim() - RsFechaI = If(RsFechaI.Length > 6, RsFechaI.ToDate().ToString("yyyy/MM/dd"), "-1") - RsFechaF = TxtFechaFin.Text.Replace("__/__/____", "").Trim() - RsFechaF = If(RsFechaF.Length > 6, RsFechaF.ToDate().ToString("yyyy/MM/dd"), "-1") - TipoDoc = DdlTipoDocto.SelectedValue - CveSubProyecto = DdlSubProyecto.SelectedValue.ToEntero() - CargaRepIngresos() - End Sub -#Region "IMPRESION" - Protected Sub LnkPDF_Click(sender As Object, e As EventArgs) - GeneraImpresion() - End Sub - Protected Sub LnkExcel_Click(sender As Object, e As EventArgs) - GeneraImpresion("Excel") - End Sub - - Private Sub GeneraImpresion(Optional Formato As String = "PDF") - - Dim Imagen As New System.IO.FileInfo(String.Format("{0}/Logo.png", UsuarioActual.Empresa.Ruta)) - Dim logouri = String.Format("{0}://{1}:{2}/Empresas/{3}/Logo.png", Request.Url.Scheme, Request.Url.Host, Request.Url.Port, UsuarioActual.CveEmpresa) - - Dim FI As String = If(TxtFechaInicio.Text = "", "", $"Fecha Inicio: {TxtFechaInicio.Text} ") - Dim FF As String = If(TxtFechaFin.Text = "", "", $"Fecha Fin: {TxtFechaFin.Text} ") - Dim Tipo As String = If(DdlTipoDocto.SelectedValue = "", "", $"Tipo Docto: {DdlTipoDocto.GetSelectedText} ") - Dim subProy As String = If(DdlSubProyecto.SelectedValue = "", "", $"SubProyecto: {DdlSubProyecto.GetSelectedText} ") - - If DtDatos IsNot Nothing AndAlso DtDatos.Rows.Count > 0 Then - - Dim params As New List(Of ReportParameter) - - params.Add(New ReportParameter("NombreEmpresa", UsuarioActual.Empresa.Empresa)) - params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre)) - params.Add(New ReportParameter("AgrupadoPor", $"{FI}{FF}{Tipo}{subProy}")) - params.Add(New ReportParameter("FechaImpresion", DateAndTime.Now)) - If Imagen.Exists Then - params.Add(New ReportParameter("LogoPath", logouri)) - Else - params.Add(New ReportParameter("LogoPath", "")) - End If - - ImprimirPDF("Empresas/Grales/Formatos/RepIngresos.rdlc", DtDatos, params, "RepPUESinPago", Formato) - Else - Alert("No se encontraron datos con los filtros especificados", TipoMensaje.MsgAdvertencia) - End If - - End Sub -#End Region - Protected Sub GVRepIngresos_RowDataBound(sender As Object, e As GridViewRowEventArgs) - If e.Row.RowType = DataControlRowType.DataRow Then - If e.Row.DBCampo("TipoAmortizacion") = "" Then - e.Row.CssClass = "Totales" - ElseIf e.Row.DBCampo("TipoAmortizacion") <> "" AndAlso e.Row.DBCampo("CveConceptoContable") = "" Then - e.Row.CssClass = "SubTotales" - End If - End If - End Sub - Private Sub RblTipoCambio_SelectedIndexChanged(sender As Object, e As EventArgs) Handles RblTipoCambio.SelectedIndexChanged - TipoCambio = RblTipoCambio.SelectedValue.ToEntero - 'If TipoCambio = 3 Then - ' LiEspecifico.Visible = True - ' TCEspecifico = GlobalTipoCambio(Now).ToDecimal - ' TxtEspecifico.Text = TCEspecifico.ToString - 'Else - ' LiEspecifico.Visible = False - 'End If - UpBodyTipoCambio.Update() - End Sub - Private Sub BtnTipoCambio_Click(sender As Object, e As EventArgs) Handles BtnTipoCambio.Click - RegistraScript(String.Format("$('#{0}').modal('hide');", "DivTipoCambio")) - LnkFiltrar_Click(LnkFiltrar, EventArgs.Empty) - End Sub -End Class diff --git a/Ventas/ReporteDetalle.aspx b/Ventas/ReporteDetalle.aspx deleted file mode 100644 index 8b4f500cf..000000000 --- a/Ventas/ReporteDetalle.aspx +++ /dev/null @@ -1,52 +0,0 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ReporteDetalle.aspx.cs" Inherits="Ventas_ReporteDetalle" %> - -<%@ Register Assembly="Stimulsoft.Report.MobileDesign, Version=2017.1.10, Culture=neutral, PublicKeyToken=EBE6666CBA19647A" - Namespace="Stimulsoft.Report.MobileDesign" TagPrefix="cc2" %> - - - - - - - - - - -
    - - - - - diff --git a/Ventas/SolicitudesSAT.aspx b/Ventas/SolicitudesSAT.aspx deleted file mode 100644 index 66c61af18..000000000 --- a/Ventas/SolicitudesSAT.aspx +++ /dev/null @@ -1,406 +0,0 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="SolicitudesSAT.aspx.cs" Inherits="Ventas_SolicitudesSAT" %> - - - - - - - - Solicitudes CFDI SAT - - - - - - -
  • - Verificar Solicitudes
  • -
  • - Solicitar SAT
  • -
    -
    -
    - - - - - -
    -
    -
    - - <%----%> -
    -
    -
    -
    - Tipo: -
    -
    - - - - - -
    -
    - Fecha Inicio(ing.): -
    -
    -
    - - - - -
    - - - - - - -
    -
    - Fecha Fin(ing.): -
    -
    -
    - - - - -
    - - - - - - -
    -
    - Fecha Inicio(Sol.): -
    -
    -
    - - - - -
    - - - - - - -
    -
    - Fecha Fin(Sol.): -
    -
    -
    - - - - -
    - - - - - - -
    -
    -
    -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    - - - - diff --git a/Ventas/SolicitudesSAT.aspx.cs b/Ventas/SolicitudesSAT.aspx.cs deleted file mode 100644 index 4206749c7..000000000 --- a/Ventas/SolicitudesSAT.aspx.cs +++ /dev/null @@ -1,151 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; -using System.Web.UI; -using System.Web.UI.WebControls; -using Extensiones; - -public partial class Ventas_SolicitudesSAT : ClsPaginas -{ - protected void Page_Load(object sender, EventArgs e) - { - - if (!IsPostBack) - { - //this.RegistraScript("$('#ModalSolicitarSat').modal();"); - int rtipo = Request["tipo"] == null ? -1 : Request["tipo"].ToString().ToEntero(); - string rfIngInicio = Request["fIngInicio"] == null ? "" : Request["fIngInicio"].ToString().Trim(); - string rfIngFin = Request["fIngFin"] == null ? "" : Request["fIngFin"].ToString().Trim(); - string rfSolInicio = Request["fSolInicio"] == null ? "" : Request["fSolInicio"].ToString().Trim(); - string rfSolFin = Request["fSolFin"] == null ? "" : Request["fSolFin"].ToString().Trim(); - - if (rfIngInicio == "") - { - rfIngInicio = string.Format("{0:01/MM/yyyy}",DateTime.Now); - } - if (rfIngFin == "") - { - rfIngFin = string.Format("{0:dd/MM/yyyy}",string.Format("{0:01/MM/yyyy}", DateTime.Now).ToDateTime().AddMonths(1).AddDays(-1)); - - } - DateTime dValor = DateTime.Now; - dValor = DateTime.Now; if (DateTime.TryParse(rfIngInicio, out dValor)) { rfIngInicio = string.Format("{0:dd/MM/yyyy}", dValor); } else { rfIngInicio = ""; } - dValor = DateTime.Now; if (DateTime.TryParse(rfIngFin, out dValor)) { rfIngFin = string.Format("{0:dd/MM/yyyy}", dValor); } else { rfIngFin = ""; } - dValor = DateTime.Now; if (DateTime.TryParse(rfSolInicio, out dValor)) { rfSolInicio = string.Format("{0:dd/MM/yyyy}", dValor); } else { rfSolInicio = ""; } - dValor = DateTime.Now; if (DateTime.TryParse(rfSolFin, out dValor)) { rfSolFin = string.Format("{0:dd/MM/yyyy}", dValor); } else { rfSolFin = ""; } - - DdlTipo.SelectedValueExist(rtipo); - txtFechaI.Text = rfIngInicio; - txtFechaF.Text = rfIngFin; - txtFechaISol.Text = rfSolInicio; - txtFechaFSol.Text = rfSolFin; - cargarDatos(); - } - } - - - private void cargarDatos() - { - int rtipo = DdlTipo.SelectedValue.ToEntero(); - string rfIngInicio = txtFechaI.Text; - string rfIngFin = txtFechaF.Text; - string rfSolInicio = txtFechaISol.Text; - string rfSolFin = txtFechaFSol.Text; - using (ClsGenerales objgral = new ClsGenerales()) - { - objgral.SAT_DescargaSolicitudesGET(UsuarioActual.CveEmpresa, rtipo, rfIngInicio, rfIngFin, rfSolInicio, rfSolFin); - GVSAT_DescargaSolicitudes.DataSource = objgral.DtResultados; - GVSAT_DescargaSolicitudes.DataBind(); - } - upDatosSAT.Update(); - } - - protected void BtnConsultar_Click(object sender, EventArgs e) - { - cargarDatos(); - } - - protected void LnkVerificarSolicitudes_Click(object sender, EventArgs e) - { - string direxe = string.Format("{0}{1}", AppDomain.CurrentDomain.BaseDirectory, "Utilerias\\ADSUtilerias.exe"); - - String json = string.Format("{{cveTareaProgramada:{0},cveEmpresa:{1},CveTareaProgramadaHistorial:{2},recursividad:{3},Resultado:{4},parametros:'Tipo=SP'}}", 1, UsuarioActual.CveEmpresa, -1, 0, 1);//Mod.ToLiteral(new System.Web.Script.Serialization.JavaScriptSerializer().Serialize(tarea)); - //this.Alert(string.Format("json:{0} : --mod TareaProgramada --Item {1}", DateTime.Now, json)); - try - { - string Mensajes = ""; - System.Diagnostics.Process ObjProcess = null; - { - ObjProcess = new System.Diagnostics.Process(); - ObjProcess.StartInfo.RedirectStandardOutput = true; - ObjProcess.StartInfo.FileName = direxe;//System.Configuration.ConfigurationManager.AppSettings["DirUtilerias"].ToString(); - ObjProcess.StartInfo.Arguments = $"--mod TareaProgramada --Item {json} "; - ObjProcess.StartInfo.UseShellExecute = false; - ObjProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal; - ObjProcess.Start(); - } - using (System.IO.StreamReader myStreamReader = ObjProcess.StandardOutput) - { - Mensajes = myStreamReader.ReadLine(); - - } - } - catch (Exception ex) - { - ex.ToString().GuardaLog(); - } - cargarDatos(); - Alert("La solicitud ha sido enviada"); - } - - protected void LnkSolicitarCFDI_Click(object sender, EventArgs e) - { - string FechaI = string.Format("{0:yyyy-MM-dd}T00:00:00", txtFechaIAdd.Text.ToDateTime()); - string FechaF = string.Format("{0:yyyy-MM-dd}T23:59:59", txtFechaFAdd.Text.ToDateTime()); - - string direxe = string.Format("{0}{1}", AppDomain.CurrentDomain.BaseDirectory, "Utilerias\\ADSUtilerias.exe"); - - String json = string.Format("{{cveTareaProgramada:{0},cveEmpresa:{1},CveTareaProgramadaHistorial:{2},recursividad:{3},Resultado:{4},parametros:'Tipo={5}&fechai={6}&fechaf={7}'}}", 1, UsuarioActual.CveEmpresa, -1, 0, 1, DdlTipoAdd.SelectedValue, FechaI, FechaF);//Mod.ToLiteral(new System.Web.Script.Serialization.JavaScriptSerializer().Serialize(tarea)); - //this.Alert(string.Format("json:{0} : --mod TareaProgramada --Item {1}", DateTime.Now, json)); - try - { - string Mensajes = ""; - System.Diagnostics.Process ObjProcess = null; - { - ObjProcess = new System.Diagnostics.Process(); - ObjProcess.StartInfo.RedirectStandardOutput = true; - ObjProcess.StartInfo.FileName = direxe;//System.Configuration.ConfigurationManager.AppSettings["DirUtilerias"].ToString(); - ObjProcess.StartInfo.Arguments = $"--mod TareaProgramada --Item {json} "; - ObjProcess.StartInfo.UseShellExecute = false; - ObjProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal; - ObjProcess.Start(); - } - using (System.IO.StreamReader myStreamReader = ObjProcess.StandardOutput) - { - Mensajes = myStreamReader.ReadLine(); - - } - } - catch (Exception ex) - { - ex.ToString().GuardaLog(); - } - cargarDatos(); - Alert("La solicitud ha sido enviada"); - } - - protected void LnknoCFDI_Click(object sender, EventArgs e) - { - GridViewRow gvrow = (GridViewRow)(((LinkButton)sender).NamingContainer); - int CveSolicitudSat = gvrow.DataKey("CveSolicitudSat").ToEntero(); - using (ClsGenerales objgeneral = new ClsGenerales()) - { - objgeneral.SAT_DescargaSolicitudeUUIDSGET(CveSolicitudSat); - GVFoliosSAT.DataSource = objgeneral.DtResultados; - } - GVFoliosSAT.DataBind(); - RegistraScript("$('#ModalFoliosSolicitud').modal();"); - UpFoliosSAT.Update(); - } -} \ No newline at end of file From 10f86c3f9fba58f8c90b6c969d573890de415d52 Mon Sep 17 00:00:00 2001 From: Oscar Irigoyen Date: Wed, 5 Oct 2022 10:38:56 -0700 Subject: [PATCH 3/3] Ajsutes Clientes --- Ventas/Clientes.aspx | 78 +++++++++++++++++++++++++------------------- 1 file changed, 45 insertions(+), 33 deletions(-) diff --git a/Ventas/Clientes.aspx b/Ventas/Clientes.aspx index 3ddfef9e4..1726f0ca5 100644 --- a/Ventas/Clientes.aspx +++ b/Ventas/Clientes.aspx @@ -177,6 +177,10 @@ color: orange; background-color: orange; } + + .margenChk{ + margin-left:15px!important; + } @@ -1648,13 +1652,11 @@
    - Parametros - - - + Parametros
    +
    - +
    @@ -1802,12 +1804,26 @@ - -
    - - +
    +
    +
    + + +
    +
    +
    +
    + + + +
    +
    + + + +
    @@ -1817,17 +1833,12 @@
    - - - + +
    - -
    - - -
    +
    @@ -1871,53 +1882,54 @@
    - -
    + +
    - + +
    -
    - -
    +
    +
    - + +
    -
    - -
    +
    +
    - + +
    -
    - -
    +
    +
    - + +
    - +