-- mejoras para vinculación de OC, se ocultó a la clasif en gvOC, solo se muestra para E119
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<ContentTemplate>
|
||||
<li>
|
||||
<asp:Button ID="btnpruebas" CssClass="hidden" OnClick="btnpruebas_Click" runat="server" Text="Button" />
|
||||
</li>
|
||||
</li>g
|
||||
<li>
|
||||
<asp:LinkButton ID="LnkAddPS" runat="server"><i class="fa fa-plus-circle"></i>Agregar Concepto</asp:LinkButton>
|
||||
</li>
|
||||
@@ -753,7 +753,7 @@
|
||||
</asp:Panel>
|
||||
|
||||
|
||||
<asp:GridView ID="GvPS" ShowHeader="false" runat="server" AutoGenerateColumns="False" DataKeyNames="CvePS,Cantidad,CveUM,UM,PU,Descuento,OtrosGastos,CvePresupuestoEgreso,PS,Clasificacion,CveClasificacion,CveOrdenCompraDetalle,IVA,IVAPorcentaje,RetIVAPorcentaje,RetISRPorcentaje,IEPSPSPorcentaje,Obs,Total,CveProyecto,CveSubProyecto,Proyecto,SubProyecto,Consec,CveTipoGasto,NoDeducible,DifPSSat,TipoAF,CveCultivoCuadroDetalle,CveTipoPS" GridLines="none" BorderWidth="0" EmptyDataText="Sin Productos o Servicios agregados" CssClass="table GvPS table-striped table-hover table-advance Widthall ScrollAD mysmallbtn" >
|
||||
<asp:GridView ID="GvPS" ShowHeader="false" runat="server" AutoGenerateColumns="False" DataKeyNames="CvePS,Cantidad,CveUM,UM,PU,Descuento,OtrosGastos,CvePresupuestoEgreso,PS,Clasificacion,CveClasificacion,CveOrdenCompraDetalle,IVA,IVAPorcentaje,RetIVAPorcentaje,RetISRPorcentaje,IEPSPSPorcentaje,Obs,Total,CveProyecto,CveSubProyecto,Proyecto,SubProyecto,Consec,CveTipoGasto,NoDeducible,DifPSSat,TipoAF,CveCultivoCuadroDetalle,CveTipoPS" GridLines="none" BorderWidth="0" EmptyDataText="Sin Productos o Servicios agregados" CssClass="table GvPS table-striped table-hover table-advance Widthall mysmallbtn" >
|
||||
<Columns>
|
||||
<%-- 0 --%>
|
||||
<asp:TemplateField ItemStyle-Width="15px">
|
||||
@@ -1716,33 +1716,32 @@
|
||||
|
||||
<asp:GridView runat="server" ID="GvOC1" AutoGenerateColumns="false"
|
||||
GridLines="None" UseAccessibleHeader="true" EmptyDataText="No se encontraron registros." CssClass="table table-striped table-hover Widthall Sortable" RowStyle-HorizontalAlign="Center"
|
||||
DataKeyNames="CantidadF,FolioREQ,CveProveedorSucursal,CveTipoPS,PS,CantidadPendienteVincular,IEPSPS,IVA,RetIVA,RetISR,Descuento,IVAPorcentaje,RetIVAPorcentaje,RetISRPorcentaje,IEPSPSPorcentaje,IEPSPSIVAPorcentaje,Cantidad,CveProveedorOC,Importe,CveSATPS,NumeroParte">
|
||||
DataKeyNames="CantidadF,FolioREQ,CveProveedorSucursal,CveTipoPS,PS,CantidadPendienteVincular,IEPSPS,IVA,RetIVA,RetISR,Descuento,IVAPorcentaje,RetIVAPorcentaje,RetISRPorcentaje,IEPSPSPorcentaje,IEPSPSIVAPorcentaje,Cantidad,CveProveedorOC,Importe,CveSATPS,NumeroParte,CvePS">
|
||||
|
||||
<Columns>
|
||||
<asp:TemplateField HeaderText="Folio" ItemStyle-Width="10%" Visible="false">
|
||||
<asp:TemplateField HeaderText="Folio" ItemStyle-Width="5%" Visible="false">
|
||||
<ItemTemplate>
|
||||
<asp:Label Text='<%# Eval("FolioOC") %>' ID="LblOC" runat="server" ItemStyle-Width="10%" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
|
||||
<asp:TemplateField HeaderText="Alm." ItemStyle-Width="10%" Visible="false">
|
||||
<asp:TemplateField HeaderText="Alm." ItemStyle-Width="40px" Visible="false">
|
||||
<ItemTemplate>
|
||||
<asp:Label Text='' ID="LbEstatusInv" runat="server" />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Cantidad" ItemStyle-Width="10%">
|
||||
<asp:TemplateField HeaderText="Cantidad" ItemStyle-Width="50px">
|
||||
<ItemTemplate>
|
||||
<asp:TextBox ID="TxtCantidad" Text='<%# Eval("CantidadPendienteVincular", "{0:#,##0.00####}")%>' runat="server" Width="50px" Style="text-align: right;" />
|
||||
<ajax:FilteredTextBoxExtender ID="FTETxtCantidad" runat="server" TargetControlID="TxtCantidad" FilterType="Custom, Numbers" ValidChars="." />
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:BoundField HeaderText="UM" DataField="UM" ItemStyle-Width="10%" />
|
||||
<asp:TemplateField HeaderText="Clasificación <br/> Producto/Servicio" ItemStyle-Width="50%" ItemStyle-HorizontalAlign="Left">
|
||||
<asp:BoundField HeaderText="UM" DataField="UM" ItemStyle-Width="40px" />
|
||||
<asp:TemplateField HeaderText="Producto/Servicio" ItemStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<span style="width: 100%; border-bottom: 1px solid gray; text-align: left!important">
|
||||
<asp:Label ID="LblClasificacion" runat="server" Text='<%# Eval("Clasificacion") %>'></asp:Label>
|
||||
</span>
|
||||
<br />
|
||||
<span style="width: 100%; border-bottom: 1px solid gray; text-align: left!important" runat="server" id="spanclasif" visible="false">
|
||||
<asp:Label ID="LblClasificacion" runat="server" Text='<%# Eval("Clasificacion", "{0} <br />") %>'></asp:Label>
|
||||
</span>
|
||||
<asp:Label ID="LbProductoServicio" runat="server" Text='<%# Eval("PS")%>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
@@ -1792,9 +1791,7 @@
|
||||
<tr runat="server" id="trTitulosTotales" visible="true">
|
||||
<td width="100px"></td>
|
||||
<td width="200px" class="well" align="right"></td>
|
||||
|
||||
|
||||
<td width="100px" class="well" align="right" style="font-weight: bold;">Importes Vinculados</td>
|
||||
<td width="100px" class="well" align="right" style="font-weight: bold;">Importes</td>
|
||||
<td width="100px"></td>
|
||||
<td width="100px" class="well" align="right" style="font-weight: bold;">Calculados</td>
|
||||
<%-- --%>
|
||||
@@ -1960,19 +1957,16 @@
|
||||
<asp:GridView AutoGenerateColumns="false" runat="server" ID="GvOC2" GridLines="None" EmptyDataText="No se encontraron registros." CssClass="table table-striped table-hover gridconheader Widthall" RowStyle-HorizontalAlign="Center" DataKeyNames="Cantidad,UM,PS,CvePS,CodigoPS,SATClaveProductoServicio,PU,Total,Descuento">
|
||||
<Columns>
|
||||
<asp:BoundField HeaderText="#" DataField="Consec" ItemStyle-Width="20px" ItemStyle-Font-Size="6pt" />
|
||||
<asp:BoundField HeaderText="Cantidad" DataField="Cantidad" DataFormatString="{0:#,##0.######}" ItemStyle-Width="40px" />
|
||||
<asp:BoundField HeaderText="Cantidad" DataField="Cantidad" DataFormatString="{0:#,##0.######}" ItemStyle-Width="50px" FooterStyle-HorizontalAlign="Right" />
|
||||
<asp:BoundField HeaderText="UM" DataField="UM" ItemStyle-Width="40px" />
|
||||
<asp:TemplateField HeaderText="UM" ItemStyle-HorizontalAlign="Left">
|
||||
<asp:TemplateField HeaderText="" ItemStyle-HorizontalAlign="Left">
|
||||
<ItemTemplate>
|
||||
<span style="width: 100%; border-bottom: 1px solid gray;">
|
||||
<asp:Label ID="LblClasificacion" runat="server" Text='<%# Eval("Clasificacion") %>'></asp:Label>
|
||||
</span>
|
||||
<br />
|
||||
<span style="width: 100%; border-bottom: 1px solid gray;" runat="server" id="spanclasif" visible="false">
|
||||
<asp:Label ID="LblClasificacion" runat="server" Text='<%# Eval("Clasificacion", "{0}<br />") %>'></asp:Label>
|
||||
</span>
|
||||
<asp:Label ID="LbProductoServicio" runat="server" Text='<%# Eval("CodigoPS")%>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<HeaderTemplate>
|
||||
Clasificación
|
||||
<br />
|
||||
Producto/Servicio
|
||||
</HeaderTemplate>
|
||||
</asp:TemplateField>
|
||||
|
||||
Reference in New Issue
Block a user