-- mejora, para incluir descuentos
This commit is contained in:
@@ -3,8 +3,16 @@
|
|||||||
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
||||||
<style>
|
<style>
|
||||||
.dashboard-stat .visual > i {
|
|
||||||
|
.colSAT {
|
||||||
|
color:White;background-color:#C46B06;
|
||||||
|
}
|
||||||
|
.colSIG {
|
||||||
|
color:White;background-color:#3598dc;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* .dashboard-stat .visual > i {
|
||||||
font-size: 90px;
|
font-size: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -33,187 +41,8 @@
|
|||||||
color: #333333;
|
color: #333333;
|
||||||
background-color: #DDD;
|
background-color: #DDD;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}*/
|
||||||
|
|
||||||
.reporte1 .GVSolicitudTimbreNominaGral tr td:nth-child(n+2),
|
|
||||||
.reporte1 .GVSolicitudTimbreNominaGral tr th:nth-child(n+2) {
|
|
||||||
text-align: right !important;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte1 .GVSolicitudTimbreNominaGral tr th:nth-child(2)
|
|
||||||
/*,.reporte1 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(2) */ {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte1 .GVSolicitudTimbreNominaGral tr th:nth-child(3),
|
|
||||||
.reporte1 .GVSolicitudTimbreNominaGral tr th:nth-child(4),
|
|
||||||
.reporte1 .GVSolicitudTimbreNominaGral tr th:nth-child(5) /*,
|
|
||||||
.reporte1 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(3),
|
|
||||||
.reporte1 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(4),
|
|
||||||
.reporte1 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(5)*/ {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.reporte2 .GVSolicitudTimbreNominaGral tr td:nth-child(n+2),
|
|
||||||
.reporte2 .GVSolicitudTimbreNominaGral tr th:nth-child(n+2) {
|
|
||||||
text-align: right !important;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte2 .GVSolicitudTimbreNominaGral tr th:nth-child(2) /*,
|
|
||||||
.reporte2 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(2)*/ {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte2 .GVSolicitudTimbreNominaGral tr th:nth-child(n+3):not(:nth-child(7)) /*,
|
|
||||||
.reporte2 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(n+3):not(:nth-child(7))*/ {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(n+3) {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(4),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(8),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(9),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(n+13):not(:nth-child(n+19)),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(24),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr td:nth-child(n+28):not(:nth-child(n+33)) {
|
|
||||||
text-align: right !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr th:nth-child(2),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr th:nth-child(n+20) /*,
|
|
||||||
.reporte3 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(2),
|
|
||||||
.reporte3 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(n+20)*/ {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr th:nth-child(1),
|
|
||||||
.reporte3 .GVSolicitudTimbreNominaGral tr th:nth-child(n+3):not(:nth-child(n+20)) /*,
|
|
||||||
.reporte3 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(1),
|
|
||||||
.reporte3 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(n+3):not(:nth-child(n+20))*/ {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.reporte4 .GVSolicitudTimbreNominaGral tr td:nth-child(n+2),
|
|
||||||
.reporte4 .GVSolicitudTimbreNominaGral tr th:nth-child(n+2) {
|
|
||||||
text-align: right !important;
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte4 .GVSolicitudTimbreNominaGral tr th:nth-child(2) /*,
|
|
||||||
.reporte4 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(2)*/ {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte4 .GVSolicitudTimbreNominaGral tr th:nth-child(n+3):not(:nth-child(n+6)) /*,
|
|
||||||
.reporte4 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(n+3)*/ {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte5 .GVSolicitudTimbreNominaGral tr th:nth-child(2) /*,
|
|
||||||
.reporte5 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(2)*/ {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte5 .GVSolicitudTimbreNominaGral tr th:nth-child(3) /*,
|
|
||||||
.reporte5 .ADScroller-body .GVSolicitudTimbreNominaGral tr:nth-child(2) td:nth-child(3)*/ {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.reporte6 .GVSolicitudTimbreNominaGral tr td:nth-child(n) {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte6 .GVSolicitudTimbreNominaGral tr td:nth-child(n+4),
|
|
||||||
.reporte6 .GVSolicitudTimbreNominaGral tr th:nth-child(n+4) {
|
|
||||||
text-align: right !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte6 .GVSolicitudTimbreNominaGral tr th:nth-child(n+4):not(:nth-child(n+7)) {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte6 .GVSolicitudTimbreNominaGral tr th:nth-child(n+7):not(:nth-child(n+10)) {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.reporte7 .GVSolicitudTimbreNominaGral tr td:nth-child(n+3),
|
|
||||||
.reporte7 .GVSolicitudTimbreNominaGral tr th:nth-child(n+3) {
|
|
||||||
text-align: right !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte7 .GVSolicitudTimbreNominaGral tr th:nth-child(n+3):not(:nth-child(n+6)) {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte7 .GVSolicitudTimbreNominaGral tr th:nth-child(n+6):not(:nth-child(n+9)) {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.reporte8 .GVSolicitudTimbreNominaGral tr td:nth-child(n+6),
|
|
||||||
.reporte8 .GVSolicitudTimbreNominaGral tr th:nth-child(n+6) {
|
|
||||||
text-align: right !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte8 .GVSolicitudTimbreNominaGral tr th:nth-child(n+6):not(:nth-child(n+9)) {
|
|
||||||
background-color: #900;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte8 .GVSolicitudTimbreNominaGral tr th:nth-child(n+9):not(:nth-child(n+12)) {
|
|
||||||
background-color: #3598dc;
|
|
||||||
color: #FFF;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
.reporte9 .GVSolicitudTimbreNominaGral tr td:nth-child(1),
|
|
||||||
.reporte9 .GVSolicitudTimbreNominaGral tr td:nth-child(4) {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
|
|
||||||
.reporte9 .GVSolicitudTimbreNominaGral tr td:nth-child(2),
|
|
||||||
.reporte9 .GVSolicitudTimbreNominaGral tr td:nth-child(3),
|
|
||||||
.reporte9 .GVSolicitudTimbreNominaGral tr td:nth-child(n+40) {
|
|
||||||
text-align: right !important;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/* .ajax_tab_xp .ajax_tab_body {
|
|
||||||
font-size: 9px !important;
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
.ajax__tab_xp .ajax__tab_body {
|
|
||||||
font-size: 12px !important;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</asp:Content>
|
</asp:Content>
|
||||||
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
||||||
@@ -327,57 +156,72 @@
|
|||||||
<asp:Label ID="LblMes" runat="server" Text='<%# Eval("Mes")%>'></asp:Label>
|
<asp:Label ID="LblMes" runat="server" Text='<%# Eval("Mes")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="SubTotal" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="SubTotal" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSIG">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("VSubTotal", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("VSubTotal", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="IVA" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Descuento" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSIG">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label runat="server" Text='<%# Eval("VDescuento", "{0:N2}")%>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="IVA" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSIG">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("VIVA", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("VIVA", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right" Visible="false" HeaderStyle-CssClass="colSIG">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("VIEPS", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("VIEPS", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Ret IVA" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Ret IVA" ItemStyle-HorizontalAlign="Right" Visible="false" HeaderStyle-CssClass="colSIG" >
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("VRetIVA", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("VRetIVA", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Ret ISR" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Ret ISR" ItemStyle-HorizontalAlign="Right" Visible="false" HeaderStyle-CssClass="colSIG">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("VRetISR", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("VRetISR", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="TOTAL SIG" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="TOTAL SIG" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSIG">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="LblVTotal" runat="server" Text='<%# Eval("VTotal","{0:N2}")%>'></asp:Label>
|
<asp:Label ID="LblVTotal" runat="server" Text='<%# Eval("VTotal","{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="IVA" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="SubTotal" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSAT">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label runat="server" Text='<%# Eval("CBTSubTotal", "{0:N2}")%>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="Descuento" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSAT">
|
||||||
|
<ItemTemplate>
|
||||||
|
<asp:Label runat="server" Text='<%# Eval("CBTDescuento", "{0:N2}")%>'></asp:Label>
|
||||||
|
</ItemTemplate>
|
||||||
|
</asp:TemplateField>
|
||||||
|
<asp:TemplateField HeaderText="IVA" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSAT">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("CBTIVA", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("CBTIVA", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="IEPS" ItemStyle-HorizontalAlign="Right" Visible="false" HeaderStyle-CssClass="colSAT">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("CBTIEPS", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("CBTIEPS", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Ret IVA" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Ret IVA" ItemStyle-HorizontalAlign="Right" Visible="false" HeaderStyle-CssClass="colSAT">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("CBTRetIVA", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("CBTRetIVA", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="Ret ISR" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="Ret ISR" ItemStyle-HorizontalAlign="Right" Visible="false" HeaderStyle-CssClass="colSAT">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label runat="server" Text='<%# Eval("CBTRetISR", "{0:N2}")%>'></asp:Label>
|
<asp:Label runat="server" Text='<%# Eval("CBTRetISR", "{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
</asp:TemplateField>
|
</asp:TemplateField>
|
||||||
<asp:TemplateField HeaderText="TOTAL SAT" ItemStyle-HorizontalAlign="Right">
|
<asp:TemplateField HeaderText="TOTAL SAT" ItemStyle-HorizontalAlign="Right" HeaderStyle-CssClass="colSAT">
|
||||||
<ItemTemplate>
|
<ItemTemplate>
|
||||||
<asp:Label ID="LblCBTTotal" runat="server" Text='<%# Eval("CBTTotal","{0:N2}")%>'></asp:Label>
|
<asp:Label ID="LblCBTTotal" runat="server" Text='<%# Eval("CBTTotal","{0:N2}")%>'></asp:Label>
|
||||||
</ItemTemplate>
|
</ItemTemplate>
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ using System.Net.Http.Headers;
|
|||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Web;
|
|
||||||
using System.Web.UI;
|
using System.Web.UI;
|
||||||
using System.Web.UI.WebControls;
|
using System.Web.UI.WebControls;
|
||||||
using Extensiones;
|
using Extensiones;
|
||||||
@@ -119,7 +118,12 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
{
|
{
|
||||||
GvResumen.DataSource = ObjNom.DtResultados;
|
GvResumen.DataSource = ObjNom.DtResultados;
|
||||||
TipoDescarga = ObjNom.DtResultados.Rows.Count > 0 ? 1 : 0;
|
TipoDescarga = ObjNom.DtResultados.Rows.Count > 0 ? 1 : 0;
|
||||||
LnkDownloadExcel.Visible = true;
|
LnkDownloadExcel.Visible = true;
|
||||||
|
if (UsuarioActual.Empresa.Funcionalidad(713) == "1")
|
||||||
|
{
|
||||||
|
GvResumen.Columns[4].Visible = false;
|
||||||
|
GvResumen.Columns[11].Visible = false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (DdlReporte.SelectedValue.ToEntero() == 2)
|
else if (DdlReporte.SelectedValue.ToEntero() == 2)
|
||||||
{
|
{
|
||||||
@@ -400,57 +404,7 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
{
|
{
|
||||||
if (e.Row.DataKey("Fecha") == "")
|
if (e.Row.DataKey("Fecha") == "")
|
||||||
e.Row.Attributes.Add("class", "Totales");
|
e.Row.Attributes.Add("class", "Totales");
|
||||||
|
}
|
||||||
if (UsuarioActual.Empresa.Funcionalidad(713) != "1")
|
|
||||||
{
|
|
||||||
e.Row.Cells[2].Visible = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if (UsuarioActual.Empresa.Funcionalidad(713) != "1")
|
|
||||||
{
|
|
||||||
e.Row.Cells[7].Visible = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
if (e.Row.RowType == DataControlRowType.Header)
|
|
||||||
{
|
|
||||||
e.Row.Cells[1].BackColor = System.Drawing.Color.FromName("#3598dc");
|
|
||||||
e.Row.Cells[2].BackColor = System.Drawing.Color.FromName("#3598dc");
|
|
||||||
e.Row.Cells[3].BackColor = System.Drawing.Color.FromName("#3598dc");
|
|
||||||
if (UsuarioActual.Empresa.Funcionalidad(713) != "1")
|
|
||||||
{
|
|
||||||
e.Row.Cells[2].Visible = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
e.Row.Cells[4].BackColor = System.Drawing.Color.FromName("#3598dc");
|
|
||||||
e.Row.Cells[5].BackColor = System.Drawing.Color.FromName("#3598dc");
|
|
||||||
|
|
||||||
e.Row.Cells[6].BackColor = System.Drawing.Color.FromName("#C46B06");
|
|
||||||
e.Row.Cells[7].BackColor = System.Drawing.Color.FromName("#C46B06");
|
|
||||||
e.Row.Cells[8].BackColor = System.Drawing.Color.FromName("#C46B06");
|
|
||||||
if (UsuarioActual.Empresa.Funcionalidad(713) != "1")
|
|
||||||
{
|
|
||||||
e.Row.Cells[7].Visible = false;
|
|
||||||
}
|
|
||||||
|
|
||||||
e.Row.Cells[9].BackColor = System.Drawing.Color.FromName("#C46B06");
|
|
||||||
e.Row.Cells[10].BackColor = System.Drawing.Color.FromName("#C46B06");
|
|
||||||
|
|
||||||
|
|
||||||
e.Row.Cells[1].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[2].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[3].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[4].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[5].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[6].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[7].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[8].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[9].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
e.Row.Cells[10].ForeColor = System.Drawing.Color.FromName("white");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected void GvDatos_RowDataBound(object sender, GridViewRowEventArgs e)
|
protected void GvDatos_RowDataBound(object sender, GridViewRowEventArgs e)
|
||||||
@@ -534,17 +488,17 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
if (e.Row.RowType == DataControlRowType.Header)
|
if (e.Row.RowType == DataControlRowType.Header)
|
||||||
{
|
{
|
||||||
|
|
||||||
e.Row.Cells[1].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[1].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[2].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[2].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
|
|
||||||
e.Row.Cells[3].BackColor = System.Drawing.Color.FromName("#3598dc"); //Rojo
|
//e.Row.Cells[3].BackColor = System.Drawing.Color.FromName("#3598dc"); //Rojo
|
||||||
e.Row.Cells[4].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[4].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[5].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[5].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[6].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[6].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[7].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[7].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[8].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[8].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[9].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[9].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
e.Row.Cells[10].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
//e.Row.Cells[10].BackColor = System.Drawing.Color.FromName("#3598dc"); //Azul
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -556,33 +510,33 @@ public partial class SAT_SolicitudesIngresoSat : ClsPaginas
|
|||||||
//e.Row.Cells[16].BackColor = System.Drawing.Color.FromName("#900"); //Rojo
|
//e.Row.Cells[16].BackColor = System.Drawing.Color.FromName("#900"); //Rojo
|
||||||
//e.Row.Cells[17].BackColor = System.Drawing.Color.FromName("#900"); //Rojo
|
//e.Row.Cells[17].BackColor = System.Drawing.Color.FromName("#900"); //Rojo
|
||||||
|
|
||||||
e.Row.Cells[11].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[11].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
e.Row.Cells[12].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[12].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
e.Row.Cells[13].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[13].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
e.Row.Cells[14].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[14].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
e.Row.Cells[15].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[15].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
e.Row.Cells[16].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[16].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
e.Row.Cells[17].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
//e.Row.Cells[17].BackColor = System.Drawing.Color.FromName("#C46B06"); //Rojo
|
||||||
|
|
||||||
|
|
||||||
e.Row.Cells[1].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[1].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[2].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[2].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
|
|
||||||
e.Row.Cells[3].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[3].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[4].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[4].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[5].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[5].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[6].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[6].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[7].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[7].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[8].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[8].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[9].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[9].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[10].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[10].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[11].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[11].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[12].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[12].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[13].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[13].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[14].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[14].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[15].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[15].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[16].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[16].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
e.Row.Cells[17].ForeColor = System.Drawing.Color.FromName("white");
|
//e.Row.Cells[17].ForeColor = System.Drawing.Color.FromName("white");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user