ModExtrenciones numero a Letras
This commit is contained in:
@@ -977,8 +977,8 @@ Namespace Extensiones
|
|||||||
|
|
||||||
|
|
||||||
Dim tmp As String = Mid(entero, 2, 6)
|
Dim tmp As String = Mid(entero, 2, 6)
|
||||||
If entero.ToString.Length >= 7 And tmp = "000000" Then
|
If entero.ToString.Length >= 7 And tmp = "000000" Or Mid(entero, 3, 6) = "000000" Then
|
||||||
If entero.ToString.Length = 7 And tmp = "000000" Then
|
If entero.ToString.Length = 7 And tmp = "000000" Or Mid(entero, 3, 6) = "000000" Then
|
||||||
palabras.Append("de ")
|
palabras.Append("de ")
|
||||||
End If
|
End If
|
||||||
Else
|
Else
|
||||||
|
|||||||
@@ -90,8 +90,8 @@ Partial Class Compras_CatProveedoresClasificaciones
|
|||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|
||||||
If ObjProveedorClasificacion.GetProveedorClasificacion(-1) Then
|
If ObjProveedorClasificacion.GetProveedorClasificacion(UsuarioActual.CveEmpresa) Then
|
||||||
GlobalDTProveedorClasificacion(-1) = ObjProveedorClasificacion.DtResultados
|
GlobalDTProveedorClasificacion(UsuarioActual.CveEmpresa) = ObjProveedorClasificacion.DtResultados
|
||||||
End If
|
End If
|
||||||
|
|
||||||
RegistraScript(String.Format("$('#{0}').modal('hide');", "DivAddClasificacion"))
|
RegistraScript(String.Format("$('#{0}').modal('hide');", "DivAddClasificacion"))
|
||||||
|
|||||||
@@ -115,7 +115,7 @@
|
|||||||
<div class="catcuentas left">Subcuenta de</div>
|
<div class="catcuentas left">Subcuenta de</div>
|
||||||
<div class="catcuentas right">
|
<div class="catcuentas right">
|
||||||
<asp:TextBox ID="Tsubcuenta" runat="server" Enabled="False" Width="140px" ClientIDMode="Static"></asp:TextBox>
|
<asp:TextBox ID="Tsubcuenta" runat="server" Enabled="False" Width="140px" ClientIDMode="Static"></asp:TextBox>
|
||||||
<asp:DropDownList ID="DdlCuentaContable" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="false" DataTextField="CtaCodigo" style="max-width:160px"
|
<asp:DropDownList ID="DdlCuentaContable" CssClass="form-control input-sm select2me" runat="server" AppendDataBoundItems="true" DataTextField="CtaCodigo" style="max-width:160px"
|
||||||
DataValueField="Id" Width="160px" Visible="false">
|
DataValueField="Id" Width="160px" Visible="false">
|
||||||
</asp:DropDownList>
|
</asp:DropDownList>
|
||||||
<br />
|
<br />
|
||||||
|
|||||||
@@ -331,7 +331,7 @@ Partial Class Contabilidad2_CatCuentas
|
|||||||
|
|
||||||
Dim ObjConta As New ClsContabilidad
|
Dim ObjConta As New ClsContabilidad
|
||||||
|
|
||||||
If ObjConta.GetCuentas(-1, "-1", 1, UsuarioActual.CveEmpresa) Then
|
If ObjConta.GetCuentas(-1, "-1", -1, UsuarioActual.CveEmpresa) Then
|
||||||
DdlCuentaContable.DataSource = ObjConta.DtResultados
|
DdlCuentaContable.DataSource = ObjConta.DtResultados
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user