diff --git a/Build/Build.fbl6 b/Build/Build.fbl6 index 0297440..3961270 100644 Binary files a/Build/Build.fbl6 and b/Build/Build.fbl6 differ diff --git a/Source/Cliente/FactuGES.res b/Source/Cliente/FactuGES.res index 788e748..61acf51 100644 Binary files a/Source/Cliente/FactuGES.res and b/Source/Cliente/FactuGES.res differ diff --git a/Source/Informes/1/InfAlbaranCliente.fr3 b/Source/Informes/1/InfAlbaranCliente.fr3 index d20fe7c..ff757da 100644 --- a/Source/Informes/1/InfAlbaranCliente.fr3 +++ b/Source/Informes/1/InfAlbaranCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -39,19 +39,19 @@ - + - + - - - - + + + + diff --git a/Source/Informes/1/InfContratoCliente.fr3 b/Source/Informes/1/InfContratoCliente.fr3 index 2fd4b0b..ee79881 100644 --- a/Source/Informes/1/InfContratoCliente.fr3 +++ b/Source/Informes/1/InfContratoCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -71,8 +71,8 @@ - - + + diff --git a/Source/Informes/1/InfFacturaCliente.fr3 b/Source/Informes/1/InfFacturaCliente.fr3 index 250a81b..ed92c4d 100644 --- a/Source/Informes/1/InfFacturaCliente.fr3 +++ b/Source/Informes/1/InfFacturaCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -30,7 +30,7 @@ - + @@ -72,7 +72,7 @@ - + diff --git a/Source/Informes/1/InfPresupuestoCliente.fr3 b/Source/Informes/1/InfPresupuestoCliente.fr3 index ee33abc..a6e3e50 100644 --- a/Source/Informes/1/InfPresupuestoCliente.fr3 +++ b/Source/Informes/1/InfPresupuestoCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -66,8 +66,8 @@ - - + + diff --git a/Source/Informes/2/InfAlbaranCliente.fr3 b/Source/Informes/2/InfAlbaranCliente.fr3 index 8085915..2991074 100644 --- a/Source/Informes/2/InfAlbaranCliente.fr3 +++ b/Source/Informes/2/InfAlbaranCliente.fr3 @@ -1,10 +1,10 @@ - + - - + + @@ -21,7 +21,7 @@ - + @@ -40,23 +40,23 @@ - - + + - + - - - - + + + + - + diff --git a/Source/Informes/2/InfContratoCliente.fr3 b/Source/Informes/2/InfContratoCliente.fr3 index 8d9fad3..0bb9287 100644 --- a/Source/Informes/2/InfContratoCliente.fr3 +++ b/Source/Informes/2/InfContratoCliente.fr3 @@ -1,10 +1,10 @@ - + - - + + @@ -68,8 +68,8 @@ - - + + diff --git a/Source/Informes/2/InfFacturaCliente.fr3 b/Source/Informes/2/InfFacturaCliente.fr3 index 622a305..3954f1b 100644 --- a/Source/Informes/2/InfFacturaCliente.fr3 +++ b/Source/Informes/2/InfFacturaCliente.fr3 @@ -1,10 +1,10 @@ - + - - + + @@ -27,8 +27,8 @@ - - + + diff --git a/Source/Informes/2/InfPresupuestoCliente.fr3 b/Source/Informes/2/InfPresupuestoCliente.fr3 index 303057e..77aa242 100644 --- a/Source/Informes/2/InfPresupuestoCliente.fr3 +++ b/Source/Informes/2/InfPresupuestoCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -65,8 +65,8 @@ - - + + diff --git a/Source/Informes/3/InfAlbaranCliente.fr3 b/Source/Informes/3/InfAlbaranCliente.fr3 index aa9d55a..f7737f2 100644 --- a/Source/Informes/3/InfAlbaranCliente.fr3 +++ b/Source/Informes/3/InfAlbaranCliente.fr3 @@ -1,10 +1,10 @@ - + - - + + @@ -41,19 +41,19 @@ - + - + - - - - + + + + diff --git a/Source/Informes/3/InfContratoCliente.fr3 b/Source/Informes/3/InfContratoCliente.fr3 index 7cb2f96..fb3041f 100644 --- a/Source/Informes/3/InfContratoCliente.fr3 +++ b/Source/Informes/3/InfContratoCliente.fr3 @@ -1,10 +1,10 @@ - + - - + + @@ -68,8 +68,8 @@ - - + + diff --git a/Source/Informes/3/InfFacturaCliente.fr3 b/Source/Informes/3/InfFacturaCliente.fr3 index 8aaac70..04a331c 100644 --- a/Source/Informes/3/InfFacturaCliente.fr3 +++ b/Source/Informes/3/InfFacturaCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -27,8 +27,8 @@ - - + + diff --git a/Source/Informes/3/InfPresupuestoCliente.fr3 b/Source/Informes/3/InfPresupuestoCliente.fr3 index a35acc3..27cda5f 100644 --- a/Source/Informes/3/InfPresupuestoCliente.fr3 +++ b/Source/Informes/3/InfPresupuestoCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -65,8 +65,8 @@ - - + + diff --git a/Source/Informes/4/InfAlbaranCliente.fr3 b/Source/Informes/4/InfAlbaranCliente.fr3 index d77ea0e..37ec620 100644 --- a/Source/Informes/4/InfAlbaranCliente.fr3 +++ b/Source/Informes/4/InfAlbaranCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -37,19 +37,19 @@ - + - + - - - - + + + + diff --git a/Source/Informes/4/InfContratoCliente.fr3 b/Source/Informes/4/InfContratoCliente.fr3 index 7d1410e..ee2c99b 100644 --- a/Source/Informes/4/InfContratoCliente.fr3 +++ b/Source/Informes/4/InfContratoCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -63,7 +63,7 @@ - + diff --git a/Source/Informes/4/InfFacturaCliente.fr3 b/Source/Informes/4/InfFacturaCliente.fr3 index b75fe07..ee43d07 100644 --- a/Source/Informes/4/InfFacturaCliente.fr3 +++ b/Source/Informes/4/InfFacturaCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -26,8 +26,8 @@ - - + + diff --git a/Source/Informes/4/InfPresupuestoCliente.fr3 b/Source/Informes/4/InfPresupuestoCliente.fr3 index abbb40f..b620ccd 100644 --- a/Source/Informes/4/InfPresupuestoCliente.fr3 +++ b/Source/Informes/4/InfPresupuestoCliente.fr3 @@ -1,5 +1,5 @@ - + @@ -64,8 +64,8 @@ - - + + diff --git a/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.dfm b/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.dfm index 06571d1..12590eb 100644 --- a/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.dfm +++ b/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.dfm @@ -569,47 +569,59 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente LookAndFeel = dxLayoutOfficeLookAndFeel1 ExplicitWidth = 1003 inherited Bevel3: TBevel - Left = 379 + Left = 469 Top = 57 - ExplicitLeft = 379 + Height = 122 + ExplicitLeft = 469 ExplicitTop = 57 + ExplicitHeight = 122 end inherited Bevel4: TBevel - Left = 491 + Left = 581 Top = 88 Width = 342 - ExplicitLeft = 491 + ExplicitLeft = 581 ExplicitTop = 88 ExplicitWidth = 342 end inherited Bevel2: TBevel - Top = 242 - ExplicitTop = 242 + Top = 216 + Width = 333 + ExplicitTop = 216 + ExplicitWidth = 333 end inherited Bevel1: TBevel - Left = 398 + Left = 488 Top = 216 - ExplicitLeft = 398 + Width = 332 + ExplicitLeft = 488 ExplicitTop = 216 + ExplicitWidth = 332 end inherited ImporteDto: TcxDBCurrencyEdit Top = 84 Style.IsFontAssigned = True ExplicitTop = 84 + ExplicitWidth = 93 + Width = 93 end inherited ImporteIVA: TcxDBCurrencyEdit - Left = 562 + Left = 652 Top = 108 Style.IsFontAssigned = True - ExplicitLeft = 562 + ExplicitLeft = 652 ExplicitTop = 108 + ExplicitWidth = 137 + Width = 137 end inherited ImporteTotal: TcxDBCurrencyEdit - Left = 492 + Left = 582 Top = 189 Style.IsFontAssigned = True - ExplicitLeft = 492 + ExplicitLeft = 582 ExplicitTop = 189 + ExplicitWidth = 137 + Width = 137 end inherited edtDescuento: TcxDBSpinEdit Top = 84 @@ -617,51 +629,59 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente ExplicitTop = 84 end inherited edtIVA: TcxDBSpinEdit - Left = 491 + Left = 581 Top = 108 Style.IsFontAssigned = True - ExplicitLeft = 491 + ExplicitLeft = 581 ExplicitTop = 108 end inherited ImporteBase: TcxDBCurrencyEdit - Left = 491 + Left = 581 Top = 57 Style.IsFontAssigned = True - ExplicitLeft = 491 + ExplicitLeft = 581 ExplicitTop = 57 + ExplicitWidth = 92 + Width = 92 end inherited edtRE: TcxDBSpinEdit - Left = 491 + Left = 581 Top = 162 Style.IsFontAssigned = True - ExplicitLeft = 491 + ExplicitLeft = 581 ExplicitTop = 162 end inherited edtIRPF: TcxDBSpinEdit - Left = 491 + Left = 581 Top = 135 Style.IsFontAssigned = True - ExplicitLeft = 491 + ExplicitLeft = 581 ExplicitTop = 135 end inherited ImporteRE: TcxDBCurrencyEdit - Left = 562 + Left = 652 Top = 162 Style.IsFontAssigned = True - ExplicitLeft = 562 + ExplicitLeft = 652 ExplicitTop = 162 + ExplicitWidth = 56 + Width = 56 end inherited ImporteIRPF: TcxDBCurrencyEdit - Left = 562 + Left = 652 Top = 135 Style.IsFontAssigned = True - ExplicitLeft = 562 + ExplicitLeft = 652 ExplicitTop = 135 + ExplicitWidth = 56 + Width = 56 end inherited eImporteNeto: TcxDBCurrencyEdit Top = 57 Style.IsFontAssigned = True ExplicitTop = 57 + ExplicitWidth = 147 + Width = 147 end inherited cbValorado: TcxDBCheckBox Left = 11 @@ -676,43 +696,53 @@ inherited fEditorPresupuestoCliente: TfEditorPresupuestoCliente Top = 111 Style.IsFontAssigned = True ExplicitTop = 111 + ExplicitWidth = 147 + Width = 147 end inherited eIVA: TcxDBLookupComboBox Top = 138 ExplicitTop = 138 + ExplicitWidth = 81 + Width = 81 end inherited bTiposIVA: TButton - Left = 231 + Left = 321 Top = 138 OnClick = frViewTotales1bTiposIVAClick - ExplicitLeft = 231 + ExplicitLeft = 321 ExplicitTop = 138 end inherited cbRecargoEquivalencia: TcxDBCheckBox Top = 165 ExplicitTop = 165 + ExplicitWidth = 219 + Width = 219 end inherited edtRetencion: TcxDBSpinEdit - Left = 491 + Left = 581 Top = 231 Style.IsFontAssigned = True - ExplicitLeft = 491 + ExplicitLeft = 581 ExplicitTop = 231 end inherited edtImporteRetencion: TcxDBCurrencyEdit - Left = 562 + Left = 652 Top = 231 Style.IsFontAssigned = True - ExplicitLeft = 562 + ExplicitLeft = 652 ExplicitTop = 231 + ExplicitWidth = 342 + Width = 342 end inherited edtFechaRetencion: TcxDBDateEdit - Top = 257 + Top = 231 Style.LookAndFeel.SkinName = '' StyleDisabled.LookAndFeel.SkinName = '' StyleFocused.LookAndFeel.SkinName = '' StyleHot.LookAndFeel.SkinName = '' - ExplicitTop = 257 + ExplicitTop = 231 + ExplicitWidth = 333 + Width = 333 end inherited dxLayoutControl1Group_Root: TdxLayoutGroup inherited cxValorado: TdxLayoutItem diff --git a/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.pas b/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.pas index 86834b2..578bc22 100644 --- a/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.pas +++ b/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestoCliente.pas @@ -86,6 +86,7 @@ type procedure ImprimirInterno; override; procedure GuardarInterno; override; procedure EliminarInterno; override; + procedure RefrescarInterno; override; property ViewPresupuesto: IViewPresupuestoCliente read GetViewPresupuesto write SetViewPresupuesto; @@ -468,6 +469,20 @@ begin Controller.DetallesController.DesglosarPorteDetalles(FPresupuesto.IMPORTE_PORTE, FPresupuesto.Detalles) end; +procedure TfEditorPresupuestoCliente.RefrescarInterno; +begin + //PRECIO_PUNTO EVENTOS + frViewDetallesPresupuestoCliente1.edtPrecioPunto.Properties.OnValidate := Nil; + frViewDetallesPresupuestoCliente1.edtPrecioPunto.Properties.OnEditValueChanged := Nil; + + inherited; + + //PRECIO_PUNTO EVENTOS + frViewDetallesPresupuestoCliente1.edtPrecioPunto.Properties.OnValidate := onPrecioPuntoPropertiesValidate; + frViewDetallesPresupuestoCliente1.edtPrecioPunto.Properties.OnEditValueChanged := OnPrecioPuntoPropertiesEditValueChanged; + +end; + procedure TfEditorPresupuestoCliente.SetController(const Value: IPresupuestosClienteController); begin FController := Value; diff --git a/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestosCliente.pas b/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestosCliente.pas index 2bd4c8d..e4c5bd3 100644 --- a/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestosCliente.pas +++ b/Source/Modulos/Presupuestos de cliente/Views/uEditorPresupuestosCliente.pas @@ -402,7 +402,8 @@ begin inherited; APresupuesto := FController.Duplicar(Presupuestos); //Recalculamos el presupuesto copiado con el precio punto actual -// FController.DetallesController.RecalcularPrecioPuntoDetalles(APresupuesto.PRECIO_PUNTO, APresupuesto.Detalles); + if (ShowConfirmMessage('Desea cambiar el precio punto por el actual, esto ocasionar el recalculo de todos los art韈ulos del presupuesto que est閚 en el cat醠ogo, los conceptos libres no se ver醤 afectados', '緿esea actualizar los importes de todos los articulos del presupuesto, que est閚 en el cat醠ogo?') = IDYES) then + FController.DetallesController.RecalcularPrecioPuntoDetalles(APresupuesto.PRECIO_PUNTO, APresupuesto.Detalles); FController.Ver(APresupuesto); finally HideHourglassCursor; diff --git a/Source/Servidor/FactuGES_Server.dproj b/Source/Servidor/FactuGES_Server.dproj index 70e9fd9..54b2401 100644 --- a/Source/Servidor/FactuGES_Server.dproj +++ b/Source/Servidor/FactuGES_Server.dproj @@ -1,311 +1,310 @@ -锘 + - - {ebdcd25d-40d7-4146-91ec-a0ea4aa1dcd1} - FactuGES_Server.dpr - Debug - AnyCPU - DCC32 - ..\..\Output\Debug\Servidor\FactuGES_Server.exe - - - 7.0 - False - False - 0 - 3 - ..\..\Output\Release\Servidor - RELEASE - - - 7.0 - 3 - ..\..\Output\Debug\Servidor - DEBUG; - True - - - Delphi.Personality - - -FalseTrueFalseTrueFalse2730FalseFalseFalseFalseFalse30821252Rodax Software S.L.2.7.3.0FactuGES (Servidor)2.7.3.0martes, 03 de abril de 2018 17:53 - - File C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl not found - FactuGES_Server.dpr - - - - - MainSource - - - - - -
srvEjercicios
- TDataAbstractService -
- - - -
srvEmpresas
- TDARemoteService -
- -
srvProvinciasPoblaciones
- TRORemoteDataModule -
- - - - - - - - - - - - -
srvAlbaranesCliente
- TDataAbstractService -
- - - - -
srvAlbaranesProveedor
- TDataAbstractService -
- - - -
srvAlmacenes
- TDARemoteService -
- - - - - - - -
RptComisiones
- TDataModule -
- -
srvComisiones
- TDataAbstractService -
- - - - -
srvContabilidad
- TDataAbstractService -
- - - - - - - -
RptEtiquetasContacto
- TDataModule -
- -
srvContactos
- TDARemoteService -
- - - - -
RptContratosCliente
-
- -
srvContratosCliente
- TDataAbstractService -
- - - - -
RptFacturasCliente
- TDataModule -
- -
srvFacturasCliente
- TDataAbstractService -
- - - - -
RptFacturasProveedor
- TDataModule -
- -
srvFacturasProveedor
- TDataAbstractService -
- - - - - - - -
srvGestorDocumentos
- TDataAbstractService -
- -
srvGestorInformes
- TDataAbstractService -
- - - -
srvHistoricoMovimientos
- TDataAbstractService -
- - - -
srvInventario
- TDataAbstractService -
- - - - -
srvPedidosProveedor
- TDataAbstractService -
- - - - -
RptPresupuestosCliente
-
- -
srvPresupuestosCliente
- TDataAbstractService -
- - - - - -
RptRecibosCliente
- TDataModule -
- -
srvRecibosCliente
- TDataAbstractService -
- - - - - -
RptRecibosProveedor
- TDataModule -
- -
srvRecibosProveedor
- TDataAbstractService -
- - - - -
srvReferencias
- TDataAbstractService -
- - - - -
RptRemesasCliente
- TDataModule -
- -
srvRemesasCliente
- TDataAbstractService -
- - - - -
RptRemesasProveedor
- TDataModule -
- -
srvRemesasProveedor
- TDataAbstractService -
- - - -
srvSubfamilias
- TDataAbstractService -
- - - - - - -
srvUnidadesMedida
- TDataAbstractService -
- - - -
srvConfiguracion
- TDataAbstractService -
- -
frConexionBD
- TFrame -
- -
frConfGeneral
- TFrame -
- -
fConfiguracion
- TForm -
- -
FrameConfiguracion
- TFrame -
- -
srvLogin
- TDARemoteService -
- -
fAcercaDe
-
- -
dmServer
- TDataModule -
- -
fServerForm
-
- - - - - - - - -
+ + {ebdcd25d-40d7-4146-91ec-a0ea4aa1dcd1} + FactuGES_Server.dpr + Debug + AnyCPU + DCC32 + ..\..\Output\Debug\Servidor\FactuGES_Server.exe + + + 7.0 + False + False + 0 + 3 + ..\..\Output\Release\Servidor + RELEASE + + + 7.0 + 3 + ..\..\Output\Debug\Servidor + DEBUG; + True + + + Delphi.Personality + + + FalseTrueFalseTrueFalse2730FalseFalseFalseFalseFalse30821252Rodax Software S.L.2.7.3.0FactuGES (Servidor)2.7.3.0martes, 03 de abril de 2018 17:53 + File C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPScxScheduler2LnkD11.bpl not found + FactuGES_Server.dpr + + + + + MainSource + + + + + +
srvEjercicios
+ TDataAbstractService +
+ + + +
srvEmpresas
+ TDARemoteService +
+ +
srvProvinciasPoblaciones
+ TRORemoteDataModule +
+ + + + + + + + + + + + +
srvAlbaranesCliente
+ TDataAbstractService +
+ + + + +
srvAlbaranesProveedor
+ TDataAbstractService +
+ + + +
srvAlmacenes
+ TDARemoteService +
+ + + + + + + +
RptComisiones
+ TDataModule +
+ +
srvComisiones
+ TDataAbstractService +
+ + + + +
srvContabilidad
+ TDataAbstractService +
+ + + + + + + +
RptEtiquetasContacto
+ TDataModule +
+ +
srvContactos
+ TDARemoteService +
+ + + + +
RptContratosCliente
+
+ +
srvContratosCliente
+ TDataAbstractService +
+ + + + +
RptFacturasCliente
+ TDataModule +
+ +
srvFacturasCliente
+ TDataAbstractService +
+ + + + +
RptFacturasProveedor
+ TDataModule +
+ +
srvFacturasProveedor
+ TDataAbstractService +
+ + + + + + + +
srvGestorDocumentos
+ TDataAbstractService +
+ +
srvGestorInformes
+ TDataAbstractService +
+ + + +
srvHistoricoMovimientos
+ TDataAbstractService +
+ + + +
srvInventario
+ TDataAbstractService +
+ + + + +
srvPedidosProveedor
+ TDataAbstractService +
+ + + + +
RptPresupuestosCliente
+
+ +
srvPresupuestosCliente
+ TDataAbstractService +
+ + + + + +
RptRecibosCliente
+ TDataModule +
+ +
srvRecibosCliente
+ TDataAbstractService +
+ + + + + +
RptRecibosProveedor
+ TDataModule +
+ +
srvRecibosProveedor
+ TDataAbstractService +
+ + + + +
srvReferencias
+ TDataAbstractService +
+ + + + +
RptRemesasCliente
+ TDataModule +
+ +
srvRemesasCliente
+ TDataAbstractService +
+ + + + +
RptRemesasProveedor
+ TDataModule +
+ +
srvRemesasProveedor
+ TDataAbstractService +
+ + + +
srvSubfamilias
+ TDataAbstractService +
+ + + + + + +
srvUnidadesMedida
+ TDataAbstractService +
+ + + +
srvConfiguracion
+ TDataAbstractService +
+ +
frConexionBD
+ TFrame +
+ +
frConfGeneral
+ TFrame +
+ +
fConfiguracion
+ TForm +
+ +
FrameConfiguracion
+ TFrame +
+ +
srvLogin
+ TDARemoteService +
+ +
fAcercaDe
+
+ +
dmServer
+ TDataModule +
+ +
fServerForm
+
+ + + + + + + + +