-- columna de IEPS
This commit is contained in:
@@ -393,6 +393,7 @@
|
|||||||
<asp:BoundField HeaderText="Descuento" DataField="Descuento" ItemStyle-Width="10%" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
<asp:BoundField HeaderText="Descuento" DataField="Descuento" ItemStyle-Width="10%" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
||||||
<%--<asp:BoundField HeaderText="Amortización" DataField="Amortizacion" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />--%>
|
<%--<asp:BoundField HeaderText="Amortización" DataField="Amortizacion" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />--%>
|
||||||
<asp:BoundField HeaderText="IVA" DataField="IVA" ItemStyle-Width="10%" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
<asp:BoundField HeaderText="IVA" DataField="IVA" ItemStyle-Width="10%" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />
|
||||||
|
<asp:BoundField HeaderText="IEPS" DataField="IEPS" ItemStyle-Width="10%" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" Visible="false" />
|
||||||
<%--<asp:BoundField HeaderText="Ret. IVA" DataField="RetIVA" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />--%>
|
<%--<asp:BoundField HeaderText="Ret. IVA" DataField="RetIVA" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />--%>
|
||||||
<%--<asp:BoundField HeaderText="Ret. ISR" DataField="RetISR" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />--%>
|
<%--<asp:BoundField HeaderText="Ret. ISR" DataField="RetISR" DataFormatString="{0:###,###,###,###.##}" ItemStyle-HorizontalAlign="Right" />--%>
|
||||||
<asp:BoundField HeaderText="Total" DataField="Total" ItemStyle-Width="10%" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
<asp:BoundField HeaderText="Total" DataField="Total" ItemStyle-Width="10%" DataFormatString="{0:N2}" ItemStyle-HorizontalAlign="Right" />
|
||||||
@@ -423,7 +424,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="modal-body">
|
<div class="modal-body">
|
||||||
<table class="table table-striped table-advance table-hover Widthall">
|
<table class="table table-striped table-advance table-hover Widthall">
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr>
|
<tr>
|
||||||
<td style="text-align: left;">
|
<td style="text-align: left;">
|
||||||
<asp:CheckBox ID="ChkMaxSub" runat="server" Text="SubTotal Máximo" />
|
<asp:CheckBox ID="ChkMaxSub" runat="server" Text="SubTotal Máximo" />
|
||||||
@@ -444,6 +445,12 @@
|
|||||||
<td style="text-align: left;">
|
<td style="text-align: left;">
|
||||||
<asp:CheckBox ID="ChkMinTot" runat="server" Text="Total Mínimo" /></td>
|
<asp:CheckBox ID="ChkMinTot" runat="server" Text="Total Mínimo" /></td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td style="text-align: left;">
|
||||||
|
<asp:CheckBox ID="ChkIEPS" runat="server" Text="IEPS" Visible ="false" />
|
||||||
|
</td>
|
||||||
|
<td style="text-align: left;"> </td>
|
||||||
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -53,8 +53,6 @@ Partial Class Ventas_RepProductosServicios
|
|||||||
If UsuarioActual.CveEmpresa = 2 AndAlso UsuarioActual.CveUsuario.Contiene(77, 21) Then Response.Redirect("/Inicio.aspx")
|
If UsuarioActual.CveEmpresa = 2 AndAlso UsuarioActual.CveUsuario.Contiene(77, 21) Then Response.Redirect("/Inicio.aspx")
|
||||||
CargarMarcas()
|
CargarMarcas()
|
||||||
SetValues()
|
SetValues()
|
||||||
|
|
||||||
|
|
||||||
End If
|
End If
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@@ -115,8 +113,6 @@ Partial Class Ventas_RepProductosServicios
|
|||||||
divClasif2.Visible = True
|
divClasif2.Visible = True
|
||||||
|
|
||||||
DdlGrupo.Items.Add(New ListItem("Clasificacion2", "25"))
|
DdlGrupo.Items.Add(New ListItem("Clasificacion2", "25"))
|
||||||
|
|
||||||
|
|
||||||
LblServicioDomicilioFiltro.Visible = True
|
LblServicioDomicilioFiltro.Visible = True
|
||||||
DVServicioDomicilio.Visible = True
|
DVServicioDomicilio.Visible = True
|
||||||
|
|
||||||
@@ -142,6 +138,12 @@ Partial Class Ventas_RepProductosServicios
|
|||||||
DdlPS.ddl.DataSource = GlobalDTPSSimplificado(UsuarioActual.CveEmpresa, CveClasificacion:=DdlClasificacion.SelectedValue.ToEntero)
|
DdlPS.ddl.DataSource = GlobalDTPSSimplificado(UsuarioActual.CveEmpresa, CveClasificacion:=DdlClasificacion.SelectedValue.ToEntero)
|
||||||
DdlPS.ddl.DataBind()
|
DdlPS.ddl.DataBind()
|
||||||
DdlPS.ddl.Items.Insert(0, New ListItem("Seleccione el Producto", "-1"))
|
DdlPS.ddl.Items.Insert(0, New ListItem("Seleccione el Producto", "-1"))
|
||||||
|
End If
|
||||||
|
|
||||||
|
If UsuarioActual.Empresa.Funcionalidad(713) = "1" Then
|
||||||
|
ChkIEPS.Visible = True
|
||||||
|
ChkIEPS.Checked = True
|
||||||
|
GvDatos.Columns(6).Visible = True
|
||||||
End If
|
End If
|
||||||
|
|
||||||
'CargaEstatus
|
'CargaEstatus
|
||||||
@@ -334,43 +336,48 @@ Partial Class Ventas_RepProductosServicios
|
|||||||
|
|
||||||
Protected Sub BtnPersonalizar_Click(sender As Object, e As System.EventArgs) Handles BtnPersonalizar.Click
|
Protected Sub BtnPersonalizar_Click(sender As Object, e As System.EventArgs) Handles BtnPersonalizar.Click
|
||||||
|
|
||||||
|
If ChkIEPS.Checked Then
|
||||||
If ChkMaxSub.Checked Then
|
|
||||||
GvDatos.Columns(6).Visible = True
|
GvDatos.Columns(6).Visible = True
|
||||||
Else
|
Else
|
||||||
GvDatos.Columns(6).Visible = False
|
GvDatos.Columns(6).Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If ChkAVGSub.Checked Then
|
If ChkMaxSub.Checked Then
|
||||||
GvDatos.Columns(7).Visible = True
|
GvDatos.Columns(7).Visible = True
|
||||||
Else
|
Else
|
||||||
GvDatos.Columns(7).Visible = False
|
GvDatos.Columns(7).Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If ChkMinSub.Checked Then
|
If ChkAVGSub.Checked Then
|
||||||
GvDatos.Columns(8).Visible = True
|
GvDatos.Columns(8).Visible = True
|
||||||
Else
|
Else
|
||||||
GvDatos.Columns(8).Visible = False
|
GvDatos.Columns(8).Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If ChkMaxTot.Checked Then
|
If ChkMinSub.Checked Then
|
||||||
GvDatos.Columns(9).Visible = True
|
GvDatos.Columns(9).Visible = True
|
||||||
Else
|
Else
|
||||||
GvDatos.Columns(9).Visible = False
|
GvDatos.Columns(9).Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If ChkAvgTot.Checked Then
|
If ChkMaxTot.Checked Then
|
||||||
GvDatos.Columns(10).Visible = True
|
GvDatos.Columns(10).Visible = True
|
||||||
Else
|
Else
|
||||||
GvDatos.Columns(10).Visible = False
|
GvDatos.Columns(10).Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If ChkMinTot.Checked Then
|
If ChkAvgTot.Checked Then
|
||||||
GvDatos.Columns(11).Visible = True
|
GvDatos.Columns(11).Visible = True
|
||||||
Else
|
Else
|
||||||
GvDatos.Columns(11).Visible = False
|
GvDatos.Columns(11).Visible = False
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
If ChkMinTot.Checked Then
|
||||||
|
GvDatos.Columns(12).Visible = True
|
||||||
|
Else
|
||||||
|
GvDatos.Columns(12).Visible = False
|
||||||
|
End If
|
||||||
|
|
||||||
UPDatos.Update()
|
UPDatos.Update()
|
||||||
End Sub
|
End Sub
|
||||||
#End Region
|
#End Region
|
||||||
|
|||||||
Reference in New Issue
Block a user