Documentos 140, correcion folio fiscal complemento pac 5, entrega anexo correcion filrtado de sgmento
This commit is contained in:
@@ -6743,6 +6743,7 @@ Public Class ClsContPAQi
|
||||
StrSQL.Append(" LEFT JOIN MovimientosPoliza MP ON T.ID = MP.IdCuenta AND MP.Fecha < CAST('0001-01-01' AS DATE)")
|
||||
StrSQL.Append(" LEFT JOIN TiposPolizas TP ON MP.TipoPol = TP.Codigo")
|
||||
StrSQL.Append(" LEFT JOIN Polizas P ON MP.IdPoliza = P.Id")
|
||||
StrSQL.Append(" WHERE (MP.IdSegNeg = @IdSegNeg OR ( @IdSegNeg =-1 OR MP.IdSegNeg IS NULL)) ")
|
||||
|
||||
|
||||
StrSQL.Append(" UNION")
|
||||
@@ -6751,6 +6752,7 @@ Public Class ClsContPAQi
|
||||
StrSQL.Append(" LEFT JOIN MovimientosPoliza MP ON T.ID = MP.IdCuenta AND CAST(MP.Fecha AS DATE) BETWEEN @FechaI AND @FechaF")
|
||||
StrSQL.Append(" LEFT JOIN TiposPolizas TP ON MP.TipoPol = TP.Codigo")
|
||||
StrSQL.Append(" LEFT JOIN Polizas P ON MP.IdPoliza = P.Id")
|
||||
StrSQL.Append(" WHERE (MP.IdSegNeg = @IdSegNeg OR ( @IdSegNeg =-1 OR MP.IdSegNeg IS NULL)) ")
|
||||
|
||||
|
||||
StrSQL.Append(" ) AS T")
|
||||
|
||||
@@ -3425,10 +3425,11 @@ Public Class Timbrado
|
||||
swmili = sw.ElapsedMilliseconds
|
||||
sw.Start()
|
||||
|
||||
Me.UUID = FolioFiscal
|
||||
If ObjCFDITimbre.Comprobante.TipoComprobante <> "P" Then
|
||||
|
||||
'Actualiza Estatus Factura
|
||||
If Ventas.CveVenta > 0 Then
|
||||
If Ventas.CveVenta > 0 Then
|
||||
|
||||
Using ObjVentas As New ClsVentas()
|
||||
|
||||
|
||||
BIN
Documentacion/140/AMERICA.pdf
Normal file
BIN
Documentacion/140/AMERICA.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/CRONOS.pdf
Normal file
BIN
Documentacion/140/CRONOS.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/DIENER.pdf
Normal file
BIN
Documentacion/140/DIENER.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/FULLPOWER.pdf
Normal file
BIN
Documentacion/140/FULLPOWER.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTH.pdf
Normal file
BIN
Documentacion/140/LTH.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTHAGM.pdf
Normal file
BIN
Documentacion/140/LTHAGM.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTHESPECIALES.pdf
Normal file
BIN
Documentacion/140/LTHESPECIALES.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTHHEAVYDUTY.pdf
Normal file
BIN
Documentacion/140/LTHHEAVYDUTY.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTHHI-TEC.pdf
Normal file
BIN
Documentacion/140/LTHHI-TEC.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTHSUV-VAN-MINIVAN.pdf
Normal file
BIN
Documentacion/140/LTHSUV-VAN-MINIVAN.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/LTHTAXI.pdf
Normal file
BIN
Documentacion/140/LTHTAXI.pdf
Normal file
Binary file not shown.
BIN
Documentacion/140/OPTIMA.pdf
Normal file
BIN
Documentacion/140/OPTIMA.pdf
Normal file
Binary file not shown.
150
Inicio.aspx
150
Inicio.aspx
@@ -120,6 +120,8 @@
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
|
||||
</asp:Content>
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="E" runat="Server">
|
||||
@@ -275,6 +277,8 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
||||
|
||||
<div class="col-md-6 col-sm-6">
|
||||
|
||||
<div class="portlet light calendar ">
|
||||
@@ -484,6 +488,152 @@
|
||||
</asp:UpdatePanel>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6 col-sm-6" runat="server" id="DVDescargasBDH" visible="false">
|
||||
|
||||
|
||||
|
||||
<div class="portlet light ">
|
||||
<div class="portlet-title">
|
||||
<div class="caption">
|
||||
<i class="fa fa-file-text-o font-red-sunglo"></i>
|
||||
<span class="caption-subject font-red-sunglo bold uppercase">Documentos</span>
|
||||
</div>
|
||||
<div class="tools">
|
||||
<a href="javascript:;" class="collapse" data-original-title="" title=""></a>
|
||||
<a href="javascript:;" class="reload" data-original-title="" title=""></a>
|
||||
<a href="#" class="fullscreen" data-original-title="" title=""></a>
|
||||
<a href="javascript:;" class="remove" data-original-title="" title=""></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body">
|
||||
|
||||
|
||||
|
||||
<asp:UpdatePanel runat="server" ID="UpDocumentos" UpdateMode="Conditional">
|
||||
<ContentTemplate>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc1" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="AMERICA.pdf"><i class="fa fa-download" aria-hidden="true"></i> AMERICA.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc1" NavigateUrl="~/Documentacion/140/AMERICA.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> AMERICA.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc2" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="CRONOS.pdf"><i class="fa fa-download" aria-hidden="true"></i> CRONOS.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc2" NavigateUrl="~/Documentacion/140/CRONOS.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> CRONOS.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc3" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="DIENER.pdf"><i class="fa fa-download" aria-hidden="true"></i> DIENER.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc3" NavigateUrl="~/Documentacion/140/DIENER.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> DIENER.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc4" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="FULLPOWER.pdf"><i class="fa fa-download" aria-hidden="true"></i> FULL POWER.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc4" NavigateUrl="~/Documentacion/140/FULLPOWER.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> FULL POWER.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc5" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHAGM.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH AGM.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc5" NavigateUrl="~/Documentacion/140/LTHAGM.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH AGM.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc6" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHESPECIALES.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH ESPECIALES.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc6" NavigateUrl="~/Documentacion/140/LTHESPECIALES.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH ESPECIALES.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc7" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHHEAVYDUTY.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH HEAVY DUTY.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc7" NavigateUrl="~/Documentacion/140/LTHHEAVYDUTY.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH HEAVY DUTY.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc8" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHHI-TEC.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH HI-TEC.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc8" NavigateUrl="~/Documentacion/140/LTHHI-TEC.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH HI-TEC.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc9" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHSUV-VAN-MINIVAN.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH SUV-VAN-MINIVAN.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc9" NavigateUrl="~/Documentacion/140/LTHSUV-VAN-MINIVAN.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH SUV-VAN-MINIVAN.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc10" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHTAXI.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH TAXI.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc10" NavigateUrl="~/Documentacion/140/LTHTAXI.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH TAXI.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc11" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTH.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTH.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc11" NavigateUrl="~/Documentacion/140/LTH.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTH.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="well well-sm">
|
||||
<%--<asp:LinkButton ID="LnkDoc12" runat="server" OnClick="LnkDecargaDoc_Click" NombreArchivo="LTHAGM.pdf"><i class="fa fa-download" aria-hidden="true"></i> LTHAGM.pdf</asp:LinkButton>--%>
|
||||
<asp:HyperLink ID="LnkDoc12" NavigateUrl="~/Documentacion/140/LTHAGM.pdf" runat="server" Target="_blank"><i class="fa fa-download" aria-hidden="true"></i> LTHAGM.pdf</asp:HyperLink>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</ContentTemplate>
|
||||
<Triggers>
|
||||
<%-- <asp:PostBackTrigger ControlID="LnkDoc1" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc2" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc3" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc4" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc5" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc6" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc7" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc8" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc9" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc10" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc11" />
|
||||
<asp:PostBackTrigger ControlID="LnkDoc12" />--%>
|
||||
|
||||
|
||||
</Triggers>
|
||||
|
||||
|
||||
</asp:UpdatePanel>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -231,6 +231,11 @@ Partial Class Inicio
|
||||
'Evaluacion del proveedor
|
||||
CargaEvaluacionProveedor()
|
||||
|
||||
|
||||
If UsuarioActual.CveEmpresa = 140 Then
|
||||
DVDescargasBDH.Visible = True
|
||||
End If
|
||||
|
||||
End If
|
||||
|
||||
End Sub
|
||||
@@ -1245,4 +1250,38 @@ Partial Class Inicio
|
||||
End If
|
||||
RegistraScript("$('#DvUnoaUno').modal('hide')")
|
||||
End Sub
|
||||
|
||||
'Protected Sub LnkDecargaDoc_Click(sender As Object, e As EventArgs)
|
||||
|
||||
' Dim NombreArchivo As String = DirectCast(sender, LinkButton).Attributes("NombreArchivo")
|
||||
' Dim filePath As String = $"{Server.MapPath("~")}\Documentacion\140\{DirectCast(sender, LinkButton).Attributes("NombreArchivo")}"
|
||||
|
||||
|
||||
' Dim Archivo As New System.IO.FileInfo(filePath)
|
||||
|
||||
|
||||
' Dim mimeType As String = Nothing
|
||||
|
||||
' If Archivo.Exists Then
|
||||
|
||||
' HttpContext.Current.Response.Buffer = True
|
||||
' HttpContext.Current.Response.Clear()
|
||||
' HttpContext.Current.Response.ClearContent()
|
||||
' HttpContext.Current.Response.ContentType = mimeType
|
||||
' HttpContext.Current.Response.AppendHeader("Content-disposition", "inline; filename=" & NombreArchivo)
|
||||
' HttpContext.Current.Response.AddHeader("Content-Length", Archivo.Length.ToString())
|
||||
' HttpContext.Current.Response.TransmitFile(filePath)
|
||||
' HttpContext.Current.Response.Flush()
|
||||
' HttpContext.Current.Response.SuppressContent = True
|
||||
' HttpContext.Current.ApplicationInstance.CompleteRequest()
|
||||
' HttpContext.Current.Response.End()
|
||||
|
||||
' Archivo = Nothing
|
||||
' End If
|
||||
|
||||
|
||||
|
||||
|
||||
'End Sub
|
||||
|
||||
End Class
|
||||
|
||||
@@ -494,7 +494,7 @@
|
||||
<asp:TemplateField HeaderText="Lote" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="7.5%" Visible="false">
|
||||
<ItemTemplate>
|
||||
<asp:TextBox ID="TxtLote" Width="80px" class="form-control input-sm" runat="server" Visible="false"></asp:TextBox>
|
||||
</ItemTemplate>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Fecha Caducidad" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="5%" Visible="false">
|
||||
<ItemTemplate>
|
||||
|
||||
Reference in New Issue
Block a user