Mostrar impuestos locales en refacturacion
This commit is contained in:
@@ -1551,7 +1551,7 @@
|
||||
<tr align="right">
|
||||
<td style="border: 1px none white"><b>SubTotal 2:</b></td>
|
||||
<td>
|
||||
<asp:TextBox ID="TxtSubTotal2" ClientIDMode="Static" runat="server" BorderStyle="None" Style="text-align: right;" Text="0.00" Width="78px"></asp:TextBox></td>
|
||||
<asp:TextBox ID="TxtSubTotal2" ClientIDMode="Static" runat="server" BorderStyle="None" Style="text-align: right;" Text="0.00" Width="78px" Enabled="false"></asp:TextBox></td>
|
||||
<td>
|
||||
<%-- <asp:LinkButton ID="LkbAgregarComplementos" runat="server" CssClass="btn btn-circle btn-xs gray" Text="<i class='fa fa-bell '></i>"></asp:LinkButton>--%>
|
||||
</td>
|
||||
|
||||
@@ -2939,6 +2939,7 @@ Partial Class Ventas
|
||||
End If
|
||||
ObjInv.Dispose()
|
||||
|
||||
|
||||
End If
|
||||
'regenrea el tipo de cambio
|
||||
CargaNuevaFactura(Nothing)
|
||||
@@ -3199,15 +3200,6 @@ Partial Class Ventas
|
||||
TxtRetIVA.Attributes.Add("onKeyUp", "FnSuma()")
|
||||
TxtRetISR.Attributes.Add("onKeyUp", "FnSuma()")
|
||||
|
||||
'Permitir Edicion de Iva
|
||||
If UsuarioActual.Empresa.Funcionalidad(509) = "1" Then
|
||||
TxtIVA.Enabled = True
|
||||
'TxtTotal.Enabled = True
|
||||
RegistraScript("SetDisabledTxtTotal(false);")
|
||||
TxtSubTotal.Enabled = True
|
||||
TxtSubTotal2.Enabled = True
|
||||
End If
|
||||
|
||||
'Cortes de Caja
|
||||
If UsuarioActual.TienePermisoProceso(160) Then
|
||||
CargaCorteCaja()
|
||||
@@ -6031,7 +6023,12 @@ Partial Class Ventas
|
||||
GvImpuestosLocales2.DataSource = ObjVentas.DtResultados
|
||||
GvImpuestosLocales2.DataBind()
|
||||
|
||||
GvImpuestosLocales2.Enabled = False
|
||||
If (NuevaFactura = 1) Then
|
||||
GvImpuestosLocales2.Enabled = True
|
||||
Else
|
||||
GvImpuestosLocales2.Enabled = False
|
||||
End If
|
||||
|
||||
GvImpuestosLocales2.Visible = True
|
||||
End If
|
||||
End If
|
||||
@@ -24264,14 +24261,6 @@ Partial Class Ventas
|
||||
RegistraScript("SetDisabledTxtTotal(true);")
|
||||
If TxtFolio.Text.Trim = "" Then TxtFolio.Enabled = True
|
||||
|
||||
If UsuarioActual.TienePermisoProceso(112) Then
|
||||
TxtSubTotal.Enabled = True
|
||||
TxtSubTotal2.Enabled = True
|
||||
TxtIVA.Enabled = True
|
||||
'TxtTotal.Enabled = True
|
||||
RegistraScript("SetDisabledTxtTotal(false);")
|
||||
End If
|
||||
|
||||
TxtIVA.Text = IVA.FormatoNumero
|
||||
TxtRetIVA.Text = RetencionIVA.FormatoNumero
|
||||
LblDescuentos.Text = Descuentos.FormatoNumero
|
||||
@@ -29104,7 +29093,11 @@ Partial Class Ventas
|
||||
GvImpuestosLocales2.DataSource = ObjVentas.DtResultados
|
||||
GvImpuestosLocales2.DataBind()
|
||||
|
||||
GvImpuestosLocales2.Enabled = False
|
||||
If (NuevaFactura = 1) Then
|
||||
GvImpuestosLocales2.Enabled = True
|
||||
Else
|
||||
GvImpuestosLocales2.Enabled = False
|
||||
End If
|
||||
GvImpuestosLocales2.Visible = True
|
||||
End If
|
||||
End If
|
||||
|
||||
Reference in New Issue
Block a user