Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -70,14 +70,15 @@ Partial Class Acumuladores_RepEntradasUsados
|
||||
Dim Mes As String = {"enero", "febrero", "marzo", "abril", "mayo", "junio", "julio", "agosto", "septiembre", "octubre", "noviembre", "diciembre"}(Month(Today) - 1)
|
||||
|
||||
Dim FechaConFormato As String = String.Format("{0}, {1} de {2} de {3}", Dia, Day(Today), Mes, Year(Today))
|
||||
|
||||
Dim Direccion As String = String.Format("{0} {1}", UsuarioActual.Empresa.Direccion.ToString, UsuarioActual.Empresa.NoExt.ToString)
|
||||
Dim params As New List(Of ReportParameter)
|
||||
|
||||
params.Add(New ReportParameter("Direccion", "dirección"))
|
||||
params.Add(New ReportParameter("FechaConFormato", FechaConFormato))
|
||||
params.Add(New ReportParameter("Direccion", Direccion))
|
||||
params.Add(New ReportParameter("FechaConFormato", Date.Now.ToString))
|
||||
params.Add(New ReportParameter("FechaInicial", txtFechaI.Text))
|
||||
params.Add(New ReportParameter("FechaFinal", txtFechaF.Text))
|
||||
params.Add(New ReportParameter("Sucursal", "Sucursal"))
|
||||
params.Add(New ReportParameter("Almacen", DdlAlmacenes.SelectedItem.ToString))
|
||||
|
||||
Dim rds As New ReportDataSource With {.Name = "DataSet1", .Value = DatosEntradasUsados}
|
||||
|
||||
|
||||
@@ -6617,7 +6617,7 @@ Public Class ClsPaginas
|
||||
|
||||
|
||||
'CLIENTE
|
||||
If Vta.CveCliente.ToEntero > 0 Then
|
||||
If Vta.CveCliente.ToEntero > 0 Or Vta.CveEmpresaCRM.ToEntero > 0 Then
|
||||
params.Add(New ReportParameter("ClienteCodigo", Vta.Cliente.Codigo))
|
||||
params.Add(New ReportParameter("ClienteNombre", If(Vta.ClienteSucursal.ImprimeNombreSucursal = "True", If(Vta.CveClienteSucursal > 0, Vta.ClienteSucursal.Sucursal, Vta.Cliente.Nombre), If(Vta.AtencionA <> "" AndAlso Vta.TipoDocto.Contiene("Ing", "Rem") AndAlso Vta.Cliente.RFC = "XAXX010101000", $"{Vta.Cliente.Nombre}({Vta.AtencionA})", Vta.Cliente.Nombre))))
|
||||
params.Add(New ReportParameter("ClienteDireccion", ClienteDireccion))
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -120,7 +120,7 @@
|
||||
<TablixBody>
|
||||
<TablixColumns>
|
||||
<TablixColumn>
|
||||
<Width>4.91744cm</Width>
|
||||
<Width>3.06478cm</Width>
|
||||
</TablixColumn>
|
||||
<TablixColumn>
|
||||
<Width>4.73895cm</Width>
|
||||
@@ -790,7 +790,7 @@
|
||||
<Top>0.82931cm</Top>
|
||||
<Left>0.06614cm</Left>
|
||||
<Height>0.93542cm</Height>
|
||||
<Width>23.14606cm</Width>
|
||||
<Width>21.2934cm</Width>
|
||||
<Style>
|
||||
<Border>
|
||||
<Style>None</Style>
|
||||
@@ -837,7 +837,7 @@
|
||||
<Height>0.79506in</Height>
|
||||
<Style />
|
||||
</Body>
|
||||
<Width>9.13866in</Width>
|
||||
<Width>8.41991in</Width>
|
||||
<Page>
|
||||
<PageHeader>
|
||||
<Height>2.22362cm</Height>
|
||||
@@ -1209,6 +1209,7 @@
|
||||
<Prompt>ReportParameter1</Prompt>
|
||||
</ReportParameter>
|
||||
</ReportParameters>
|
||||
|
||||
<Language>es-MX</Language>
|
||||
<rd:ReportUnitType>Cm</rd:ReportUnitType>
|
||||
<rd:ReportID>40c94aad-a12a-44fb-ab0d-ea36a9656792</rd:ReportID>
|
||||
|
||||
@@ -483,7 +483,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4 col-sm-4">
|
||||
<%--<div class="col-md-4 col-sm-4">
|
||||
<asp:UpdatePanel ID="UPPTareas" runat="server" RenderMode="Inline" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
|
||||
@@ -534,7 +534,7 @@
|
||||
|
||||
</ContentTemplate>
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
</div>--%>
|
||||
<%-- <div class="col-md-2 col-sm-2">
|
||||
<div class="portlet light ">
|
||||
<div class="portlet-title">
|
||||
|
||||
@@ -178,7 +178,7 @@ Partial Class Inicio
|
||||
CargaGraficas()
|
||||
End If
|
||||
|
||||
CargaTareas()
|
||||
'CargaTareas()
|
||||
If UsuarioActual.CveRol = 1 Then
|
||||
divInd.Visible = True
|
||||
CargaSubProyectos()
|
||||
@@ -463,39 +463,39 @@ Partial Class Inicio
|
||||
|
||||
End Sub
|
||||
|
||||
Private Sub CargaTareas()
|
||||
Dim ObjProspectos As New ClsOIEventos
|
||||
'Private Sub CargaTareas()
|
||||
' Dim ObjProspectos As New ClsOIEventos
|
||||
|
||||
Dim FechaI, FechaF As DateTime
|
||||
Dim CveEventoEstatus As Integer = -1
|
||||
FechaI = Now.AddDays(-180)
|
||||
FechaF = Now
|
||||
If ObjProspectos.GetRepEventos(-1, 1, -1, "-1", "-1", -1, -1, -1, 1, -1, -1, "-1", -1, -1, -1, -1, -1, -1, -1, -1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, FechaI, FechaF) Then
|
||||
' Dim FechaI, FechaF As DateTime
|
||||
' Dim CveEventoEstatus As Integer = -1
|
||||
' FechaI = Now.AddDays(-180)
|
||||
' FechaF = Now
|
||||
' If ObjProspectos.GetRepEventos(-1, 1, -1, "-1", "-1", -1, -1, -1, 1, -1, -1, "-1", -1, -1, -1, -1, -1, -1, -1, -1, -1, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa, FechaI, FechaF) Then
|
||||
|
||||
Dim DT As DataTable = ObjProspectos.DtResultados.Clone
|
||||
' Dim DT As DataTable = ObjProspectos.DtResultados.Clone
|
||||
|
||||
If ChkOIPorHacer.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioPara = {0} ", UsuarioActual.CveUsuario)))
|
||||
If ChkOIAsigne.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioDe = {0} ", UsuarioActual.CveUsuario)))
|
||||
' If ChkOIPorHacer.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioPara = {0} ", UsuarioActual.CveUsuario)))
|
||||
' If ChkOIAsigne.Checked Then DT.Merge(ObjProspectos.DtResultados.FiltraParametros(String.Format("CveUsuarioDe = {0} ", UsuarioActual.CveUsuario)))
|
||||
|
||||
GvT.DataSource = DT
|
||||
End If
|
||||
' GvT.DataSource = DT
|
||||
' End If
|
||||
|
||||
ObjProspectos.Dispose()
|
||||
GvT.DataBind()
|
||||
End Sub
|
||||
Protected Sub GvT_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvT.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
Select Case UsuarioActual.CveUsuario.ToString
|
||||
Case e.Row.DBCampo("CveUsuarioPara")
|
||||
'etiqueta de 'asignado'
|
||||
e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-warning "
|
||||
e.Row.FCLabel("LblTipo").Text = "por hacer <i class='fa fa-share'></i>"
|
||||
Case e.Row.DBCampo("CveUsuarioDe")
|
||||
e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-success"
|
||||
e.Row.FCLabel("LblTipo").Text = "Asigné"
|
||||
End Select
|
||||
End If
|
||||
End Sub
|
||||
' ObjProspectos.Dispose()
|
||||
' GvT.DataBind()
|
||||
'End Sub
|
||||
'Protected Sub GvT_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GvT.RowDataBound
|
||||
' If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
' Select Case UsuarioActual.CveUsuario.ToString
|
||||
' Case e.Row.DBCampo("CveUsuarioPara")
|
||||
' 'etiqueta de 'asignado'
|
||||
' e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-warning "
|
||||
' e.Row.FCLabel("LblTipo").Text = "por hacer <i class='fa fa-share'></i>"
|
||||
' Case e.Row.DBCampo("CveUsuarioDe")
|
||||
' e.Row.FCLabel("LblTipo").CssClass = "label label-sm label-success"
|
||||
' e.Row.FCLabel("LblTipo").Text = "Asigné"
|
||||
' End Select
|
||||
' End If
|
||||
'End Sub
|
||||
Private Sub MuestraIndicador(DIV As HtmlGenericControl, Color As String, Icono As String, Titulo As String, Comentario As String, Link As String, TitleComentario As String)
|
||||
Dim htmldiv As New StringBuilder
|
||||
htmldiv.AppendFormat("{0}<div class='col-lg-4 col-md-4 col-sm-6 col-xs-12'><div class='dashboard-stat {1}'><div class='visual'><i class='{2}' '=''></i></div>", DIV.InnerHtml, Color, Icono)
|
||||
@@ -844,9 +844,9 @@ Partial Class Inicio
|
||||
End Sub
|
||||
#End Region
|
||||
|
||||
Protected Sub ChkOIAsigne_CheckedChanged(sender As Object, e As EventArgs) Handles ChkOIAsigne.CheckedChanged, ChkOIPorHacer.CheckedChanged
|
||||
CargaTareas()
|
||||
End Sub
|
||||
'Protected Sub ChkOIAsigne_CheckedChanged(sender As Object, e As EventArgs) Handles ChkOIAsigne.CheckedChanged, ChkOIPorHacer.CheckedChanged
|
||||
' CargaTareas()
|
||||
'End Sub
|
||||
Protected Sub DdlFiltroIndicador_SelectedIndexChanged(sender As Object, e As EventArgs)
|
||||
|
||||
End Sub
|
||||
|
||||
@@ -178,7 +178,7 @@ public partial class OC_RepSolicitudesAnticipo : ClsPaginas
|
||||
para.Add(new ReportParameter("UsuarioImprimio", UsuarioActual.Nombre));
|
||||
para.Add(new ReportParameter("Estatus", DdlEstatus.SelectedValue));
|
||||
String Agrupadores = $"{Proveedor}{FechaI}{FechaF}{Estatus}{Usuario}{SubProyectos}";
|
||||
para.Add(new ReportParameter("AgrupadoPor", (Agrupadores == "" ? "": $"<b>Agrupado Por:</b> {Agrupadores}")));
|
||||
para.Add(new ReportParameter("AgrupadoPor", (Agrupadores == "" ? "": $"<b></b> {Agrupadores}")));
|
||||
if (Imagen.Exists)
|
||||
{
|
||||
para.Add(new ReportParameter("LogoPath", logouri));
|
||||
|
||||
Reference in New Issue
Block a user