- modificaciones
This commit is contained in:
@@ -330,7 +330,7 @@
|
|||||||
<asp:UpdatePanel ID="UpGvFacturas" runat="server" UpdateMode="Conditional">
|
<asp:UpdatePanel ID="UpGvFacturas" runat="server" UpdateMode="Conditional">
|
||||||
<ContentTemplate>
|
<ContentTemplate>
|
||||||
<br />
|
<br />
|
||||||
<div style="height: 450px; overflow-x: scroll">
|
<div style="height: 350px; overflow-x: scroll">
|
||||||
<asp:GridView ID="GvFacturas" runat="server" AutoGenerateColumns="False" DataKeyNames="CveVenta, CvePrePoliza, CveIE, TipoCambio, CveMoneda, CveCliente, Importe, SerieFolio,CveCuenta,CveSubProyecto" CssClass="table table-striped table-advance table-hover" Style="text-align: center; float: right; width: 100%;" GridLines="None">
|
<asp:GridView ID="GvFacturas" runat="server" AutoGenerateColumns="False" DataKeyNames="CveVenta, CvePrePoliza, CveIE, TipoCambio, CveMoneda, CveCliente, Importe, SerieFolio,CveCuenta,CveSubProyecto" CssClass="table table-striped table-advance table-hover" Style="text-align: center; float: right; width: 100%;" GridLines="None">
|
||||||
<Columns>
|
<Columns>
|
||||||
<asp:TemplateField>
|
<asp:TemplateField>
|
||||||
|
|||||||
@@ -194,8 +194,8 @@ Partial Class Bancos_DepositosCaja
|
|||||||
TotalImporte = TotalImporte + Comision
|
TotalImporte = TotalImporte + Comision
|
||||||
'Comision = -(Comision) ' se inverte el valor, va cargada
|
'Comision = -(Comision) ' se inverte el valor, va cargada
|
||||||
'Descuento = -(Descuento) ' se inverte el valor, va cargada
|
'Descuento = -(Descuento) ' se inverte el valor, va cargada
|
||||||
If DdlSubProyectoDeposito.SelectedValue.ToEntero = -1 Or DdlClasificacion.SelectedValue.ToEntero = -1 Then
|
If DdlSubProyectoDeposito.SelectedValue.ToEntero = -1 Then
|
||||||
Alert("Debes Seleccionar un Subproyecto y una Clasificación", TipoMensaje.MsgAdvertencia)
|
Alert("Debes Seleccionar un Subproyecto ", TipoMensaje.MsgAdvertencia)
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
@@ -344,7 +344,7 @@ Partial Class Bancos_DepositosCaja
|
|||||||
CveSubProyectoComision = DdlSubProyectoDeposito.SelectedValue.ToEntero
|
CveSubProyectoComision = DdlSubProyectoDeposito.SelectedValue.ToEntero
|
||||||
CveClasificacionComision = DdlClasificacion.SelectedValue.ToEntero
|
CveClasificacionComision = DdlClasificacion.SelectedValue.ToEntero
|
||||||
If Comision <> 0 Then
|
If Comision <> 0 Then
|
||||||
If Not ObjConta.AddPrePolizasDetalle(NuevaCvePrePoliza, True, Comision, Comision * TipoCambio, 78, DdlClasificacion.SelectedItem.Text, DdlClasificacion.SelectedItem.Text, CveClasificacion:=CveClasificacionComision, CveSubProyecto:=CveSubProyectoComision) Then
|
If Not ObjConta.AddPrePolizasDetalle(NuevaCvePrePoliza, True, Comision, Comision * TipoCambio, 78, "Depósito Bancario", "Depósito Bancario", CveClasificacion:=CveClasificacionComision, CveSubProyecto:=CveSubProyectoComision) Then
|
||||||
OcurrioError = True
|
OcurrioError = True
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
|||||||
Reference in New Issue
Block a user