imprimiendo excel en compras detalle y se avanzó en el reporte de metas vendedores NOTA: Aun faltan columnas
This commit is contained in:
@@ -183,6 +183,21 @@
|
||||
<asp:Label ID="lblObjAcumulado" runat="server" Target="_blank" Text='<%# Eval("ObjAcumulado").ToString() %>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="%Var vs AA" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblVarVSAAPerc" runat="server" Target="_blank" Text='<%# Eval("VarVSAAPerc").ToString() %>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Var vs AA" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblVarVSAA" runat="server" Target="_blank" Text='<%# Eval("VarVSAA").ToString() %>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField HeaderText="Var vs ObjAcum" ItemStyle-HorizontalAlign="Center">
|
||||
<ItemTemplate>
|
||||
<asp:Label ID="lblVarVSObjAcum" runat="server" Target="_blank" Text='<%# Eval("VarVSObjAcum").ToString() %>'> </asp:Label>
|
||||
</ItemTemplate>
|
||||
</asp:TemplateField>
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
|
||||
@@ -75,9 +75,21 @@ Partial Class MetasVendedores
|
||||
|
||||
Protected Sub GV_RowDataBound(sender As Object, e As GridViewRowEventArgs) Handles GV.RowDataBound
|
||||
If e.Row.RowType = DataControlRowType.DataRow Then
|
||||
e.Row.FCLabel("lblRealMesPorcentaje").Text = String.Format("{0}{1}", e.Row.FCLabel("lblRealMesPorcentaje").Text, "%")
|
||||
e.Row.FCLabel("lblVarVSAAPerc").Text = String.Format("{0}{1}", e.Row.FCLabel("lblVarVSAAPerc").Text, "%")
|
||||
Select Case e.Row.DataKey("Etiqueta")
|
||||
Case "Vendedor"
|
||||
e.Row.CssClass = "Vendedor"
|
||||
e.Row.FCLabel("lblRealMes").Text = ""
|
||||
e.Row.FCLabel("lblVtaMesAA").Text = ""
|
||||
e.Row.FCLabel("lblObjMes").Text = ""
|
||||
e.Row.FCLabel("lblRealAcumulado").Text = ""
|
||||
e.Row.FCLabel("lblRealMesPorcentaje").Text = ""
|
||||
e.Row.FCLabel("lblAAntAcumulado").Text = ""
|
||||
e.Row.FCLabel("lblObjAcumulado").Text = ""
|
||||
e.Row.FCLabel("lblVarVSAAPerc").Text = ""
|
||||
e.Row.FCLabel("lblVarVSAA").Text = ""
|
||||
e.Row.FCLabel("lblVarVSObjAcum").Text = ""
|
||||
Case "Categoria"
|
||||
e.Row.CssClass = "Totales"
|
||||
Case "Clasificacion"
|
||||
|
||||
Reference in New Issue
Block a user