Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -626,7 +626,8 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
||||
if (e.Row.DataKey("Estatus").ToEntero() == 0)
|
||||
{
|
||||
LnkEditar.Visible = true;
|
||||
LnkTimbrar.Visible = true;
|
||||
LnkTimbrar.Visible = UsuarioActual.TienePermisoProceso(338);
|
||||
|
||||
}
|
||||
|
||||
if (e.Row.DataKey("Tipo") == "R" && e.Row.DataKey("Estatus") == "1")
|
||||
@@ -637,7 +638,7 @@ public partial class General_RepEntregaAlmacenRuta : ClsPaginas
|
||||
|
||||
if (e.Row.DataKey("Estatus").ToEntero() == 1)
|
||||
{
|
||||
LnkCancelaTimbre.Visible = true;
|
||||
LnkCancelaTimbre.Visible = UsuarioActual.TienePermisoProceso(338);
|
||||
|
||||
if (bool.Parse(e.Row.DataKey("AplicaCP")))
|
||||
{
|
||||
|
||||
@@ -476,6 +476,7 @@
|
||||
<asp:GridView ID="GvMLiberacion" OnRowCreated="GvMLiberacion_RowCreated" OnRowDataBound="GvMLiberacion_RowDataBound" runat="server" GridLines="none" CssClass="table table-striped table-hover Widthall" EmptyDataText="Aún no hay registros." DataKeyNames="No,CveMovimientoDetalle,CveUM,CvePS,Serie,Observaciones,PU,CveSeccionAlmacen,Lote,FechaCaducidad" AutoGenerateColumns="False" AllowPaging="False" ShowFooter="True" ShowHeaderWhenEmpty="True">
|
||||
<Columns>
|
||||
<asp:BoundField HeaderText="#" DataField="No" ItemStyle-Width="3%" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField HeaderText="Figura" DataField="Figura" ItemStyle-Width="30%" ItemStyle-HorizontalAlign="Left" Visible="false" />
|
||||
<%-- <asp:BoundField HeaderText="Cant. Disponible" DataField="Cantidad" DataFormatString="{0:#,###,###.##}" ItemStyle-Width="7%" ItemStyle-HorizontalAlign="Right" />--%>
|
||||
<asp:TemplateField HeaderText="Cant. Disponible" ItemStyle-HorizontalAlign="Right">
|
||||
<ItemTemplate>
|
||||
|
||||
@@ -655,6 +655,9 @@ Partial Class Inventarios_ResguardoMaterial
|
||||
Alert("Tiene que seleccionar un cliente.", TipoMensaje.MsgAdvertencia)
|
||||
Exit Sub
|
||||
End If
|
||||
Else
|
||||
|
||||
GvMLiberacion.Columns(1).HeaderText = If(DdlTipo.SelectedValue.ToEntero = 1, "Personal", If(DdlTipo.SelectedValue.ToEntero = 2, "Cliente", "Proveedor"))
|
||||
|
||||
End If
|
||||
|
||||
@@ -667,14 +670,24 @@ Partial Class Inventarios_ResguardoMaterial
|
||||
|
||||
DVInformacionMoviminetoLiberacion.Visible = False
|
||||
BtnGuardarLiberacion.Visible = False
|
||||
|
||||
GvMLiberacion.Columns(1).Visible = True
|
||||
|
||||
|
||||
|
||||
Else
|
||||
DVInformacionMoviminetoLiberacion.Visible = True
|
||||
BtnGuardarLiberacion.Visible = True
|
||||
GvMLiberacion.Columns(1).Visible = False
|
||||
GvMLiberacion.Columns(1).HeaderText = ""
|
||||
End If
|
||||
|
||||
UpGenerales.Update()
|
||||
|
||||
|
||||
End If
|
||||
|
||||
UpGridLiberacion.Update()
|
||||
UpGenerales.Update()
|
||||
|
||||
End Sub
|
||||
|
||||
|
||||
Reference in New Issue
Block a user