-- cambio en nombre. del archivo de descarga de universo de productos.
-- cambio de texto Varras a Barras
This commit is contained in:
@@ -208,7 +208,7 @@
|
|||||||
<asp:UpdatePanel ID="UpBuscar" runat="server" RenderMode="Inline" ViewStateMode="Inherit" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpBuscar" runat="server" RenderMode="Inline" ViewStateMode="Inherit" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<div class="col-md-3">
|
<div class="col-md-3">
|
||||||
<asp:Panel ID="Panel1" runat="server" DefaultButton="BtnBuscarCodVarras">
|
<asp:Panel ID="Panel1" runat="server" DefaultButton="BtnBuscarCodBarras">
|
||||||
<div class="portlet smmallpadding light bordered" id="Div2" runat="server">
|
<div class="portlet smmallpadding light bordered" id="Div2" runat="server">
|
||||||
<div class="portlet-title">
|
<div class="portlet-title">
|
||||||
<div class="tools">
|
<div class="tools">
|
||||||
@@ -223,10 +223,10 @@
|
|||||||
<div class="row" style="margin-top: 5px;">
|
<div class="row" style="margin-top: 5px;">
|
||||||
<label class="col-sm-4">Código.Barras</label>
|
<label class="col-sm-4">Código.Barras</label>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<asp:TextBox runat="server" CssClass="form-control" ID="TxtConCodigoVarras"></asp:TextBox>
|
<asp:TextBox runat="server" CssClass="form-control" ID="TxtConCodigoBarras"></asp:TextBox>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-sm-4">
|
<div class="col-sm-4">
|
||||||
<asp:Button ID="BtnBuscarCodVarras" OnClick="BtnBuscarCodVarras_Click" runat="server" Text="Consultar" class="btn btn-primary" Enabled="true" />
|
<asp:Button ID="BtnBuscarCodBarras" OnClick="BtnBuscarCodBarras_Click" runat="server" Text="Consultar" class="btn btn-primary" Enabled="true" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row" style="margin-top: 5px;">
|
<div class="row" style="margin-top: 5px;">
|
||||||
|
|||||||
@@ -687,13 +687,13 @@ Partial Class Inventarios_InventarioFisicoDetalle
|
|||||||
worksheet.Columns(i).AutoFit(1, worksheet.Rows(0), worksheet.Rows(worksheet.Rows.Count - 1))
|
worksheet.Columns(i).AutoFit(1, worksheet.Rows(0), worksheet.Rows(worksheet.Rows.Count - 1))
|
||||||
Next
|
Next
|
||||||
|
|
||||||
NombreArchivo = "Productos"
|
NombreArchivo = "Productos-" + lbTitulo.Text
|
||||||
workbook.Save(Response, $"{NombreArchivo}.xlsx", SaveOptions.XlsxDefault)
|
workbook.Save(Response, $"{NombreArchivo}.xlsx", SaveOptions.XlsxDefault)
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|
||||||
Protected Sub BtnBuscarCodVarras_Click(sender As Object, e As EventArgs)
|
Protected Sub BtnBuscarCodBarras_Click(sender As Object, e As EventArgs)
|
||||||
Dim CodigoBarras As String = If(TxtConCodigoVarras.Text.Trim <> "", TxtConCodigoVarras.Text.Trim, "-1").Replace("'", "''")
|
Dim CodigoBarras As String = If(TxtConCodigoBarras.Text.Trim <> "", TxtConCodigoBarras.Text.Trim, "-1").Replace("'", "''")
|
||||||
LblContador.Text = "No se encontraron resultados"
|
LblContador.Text = "No se encontraron resultados"
|
||||||
Using Inventarios As New ClsInventarios
|
Using Inventarios As New ClsInventarios
|
||||||
If Inventarios.GetInventarioFisicoContador(CveInventarioFisico, ddlUsuario.SelectedValue.ToString.ToEntero, CodigoBarras) Then
|
If Inventarios.GetInventarioFisicoContador(CveInventarioFisico, ddlUsuario.SelectedValue.ToString.ToEntero, CodigoBarras) Then
|
||||||
|
|||||||
Reference in New Issue
Block a user