-- IVA Pendiente
This commit is contained in:
@@ -10,6 +10,10 @@
|
||||
border-color: #DDD;
|
||||
}
|
||||
|
||||
.TextoGris {
|
||||
color:gray;
|
||||
}
|
||||
|
||||
.select2 .select2-selection__rendered {
|
||||
line-height: 1;
|
||||
color: #111;
|
||||
@@ -529,21 +533,21 @@
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Right" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField Visible="true">
|
||||
<asp:TemplateField Visible="false">
|
||||
<HeaderTemplate>
|
||||
IVA Pend
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label CssClass="Texto" ID="LtlIVAP" runat="server" Text='<%# Eval("IVAPendiente", "{0:N2}") %>'></asp:Label>
|
||||
<asp:Label CssClass="TextoGris" ID="LtlIVAP" runat="server" Text='<%# Eval("IVAPendiente", "{0:N2}") %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Right" />
|
||||
</asp:TemplateField>
|
||||
<asp:TemplateField Visible="true">
|
||||
<asp:TemplateField Visible="false">
|
||||
<HeaderTemplate>
|
||||
IEPS Pend
|
||||
</HeaderTemplate>
|
||||
<ItemTemplate>
|
||||
<asp:Label CssClass="Texto" ID="LtlIEPSP" runat="server" Text='<%# Eval("IEPSPendiente", "{0:N2}") %>'></asp:Label>
|
||||
<asp:Label CssClass="TextoGris" ID="LtlIEPSP" runat="server" Text='<%# Eval("IEPSPendiente", "{0:N2}") %>'></asp:Label>
|
||||
</ItemTemplate>
|
||||
<ItemStyle HorizontalAlign="Right" />
|
||||
</asp:TemplateField>
|
||||
|
||||
@@ -540,13 +540,15 @@
|
||||
<asp:BoundField HeaderText="Dias Pago" DataField="DiasPago" DataFormatString="{0}" Visible="false" />
|
||||
<asp:BoundField HeaderText="Se Envio Mail?" DataField="EnvioMail" DataFormatString="{0}" Visible="false" />
|
||||
<asp:BoundField HeaderText="Estatus Cliente" DataField="Estatus" Visible="false" ItemStyle-HorizontalAlign="Center" />
|
||||
<asp:BoundField HeaderText="IEPS" DataField="IEPS" Visible="false" />
|
||||
<asp:BoundField HeaderText="IEPS" DataField="IEPS" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}" Visible="false" />
|
||||
<asp:BoundField HeaderText="Dias Trans" DataField="DiasTranscurridos" DataFormatString="{0}" Visible="false" />
|
||||
<asp:BoundField HeaderText="T.C." DataField="TipoCambio" DataFormatString="{0}" Visible="false" />
|
||||
<asp:BoundField HeaderText="Fecha Ejecución" DataField="FechaEjecucion" DataFormatString="{0:d}" Visible="false" />
|
||||
<asp:BoundField HeaderText="Linea Adicional" DataField="LineaAdicional" Visible="false" />
|
||||
<asp:BoundField HeaderText="Descripción" DataField="DescripcionVenta" Visible="false" />
|
||||
<asp:BoundField HeaderText="Contrato" DataField="NumeroContrato" Visible="false" />
|
||||
<asp:BoundField HeaderText="IVA Pend" DataField="IVAPendiente" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}" Visible="false" />
|
||||
<asp:BoundField HeaderText="IEPS Pend" DataField="IEPSPendiente" ItemStyle-HorizontalAlign="Right" DataFormatString="{0:N2}" Visible="false" />
|
||||
</Columns>
|
||||
</asp:GridView>
|
||||
</ContentTemplate>
|
||||
@@ -681,6 +683,16 @@
|
||||
<td style="text-align: left;"></td>
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="text-align: left;">
|
||||
<asp:CheckBox ID="ChkIVAPend" runat="server" Text=" IVA Pendiente" Checked="false" /></td>
|
||||
<td style="text-align: left;">
|
||||
<asp:CheckBox ID="ChkIEPSPend" runat="server" Text=" IEPS Pendiente" Checked="false" /></td>
|
||||
<td style="text-align: left;">
|
||||
</td>
|
||||
<td style="text-align: left;"></td>
|
||||
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
@@ -452,7 +452,8 @@ Partial Class RepCxCDetalle
|
||||
Dim DTCartera As New DataTable
|
||||
|
||||
Dim ObjMovtos As New ClsMovimientos()
|
||||
Dim FechaI, FechaF, FechaVI, FechaVF As String
|
||||
Dim FechaI, FechaF As Date
|
||||
Dim FechaVI, FechaVF As String
|
||||
|
||||
If RblTipoCambio.SelectedValue.ToEntero = 3 And TxtEspecifico.Text <> "" Then
|
||||
TCEspecifico = TxtEspecifico.Text.ToDouble
|
||||
@@ -460,8 +461,8 @@ Partial Class RepCxCDetalle
|
||||
TCEspecifico = -1
|
||||
End If
|
||||
|
||||
FechaI = If(IsDate(txtFechaI.Text.Trim()), txtFechaI.Text.Trim(), "-1")
|
||||
FechaF = If(IsDate(txtFechaF.Text.Trim()), txtFechaF.Text.Trim(), "-1")
|
||||
FechaI = If(IsDate(txtFechaI.Text.Trim()), txtFechaI.Text.Trim.ToDate, MinFecha)
|
||||
FechaF = If(IsDate(txtFechaF.Text.Trim()), txtFechaF.Text.Trim.ToDate, MaxFecha)
|
||||
FechaVI = If(IsDate(txtFechaVI.Text.Trim()), txtFechaVI.Text.Trim(), "-1")
|
||||
FechaVF = If(IsDate(txtFechaVF.Text.Trim()), txtFechaVF.Text.Trim(), "-1")
|
||||
|
||||
@@ -877,6 +878,19 @@ Partial Class RepCxCDetalle
|
||||
SePersonalizo = 1
|
||||
Else
|
||||
GvDatos.Columns(47).Visible = False
|
||||
End If
|
||||
If ChkIVAPend.Checked Then
|
||||
GvDatos.Columns(48).Visible = True
|
||||
SePersonalizo = 1
|
||||
Else
|
||||
GvDatos.Columns(48).Visible = False
|
||||
End If
|
||||
|
||||
If ChkIEPSPend.Checked Then
|
||||
GvDatos.Columns(49).Visible = True
|
||||
SePersonalizo = 1
|
||||
Else
|
||||
GvDatos.Columns(49).Visible = False
|
||||
End If
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user