Poder adjuntar documentos y fotos en un presupuesto de armario
git-svn-id: https://192.168.0.254/svn/Proyectos.Acana_FactuGES/trunk@6 3f40d355-893c-4141-8e64-b1d9be72e7e7
This commit is contained in:
parent
ab4c274533
commit
bd3cce7492
@ -670,7 +670,7 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
Top = 0
|
Top = 0
|
||||||
Width = 996
|
Width = 996
|
||||||
Height = 398
|
Height = 398
|
||||||
ActivePage = pagContenido
|
ActivePage = pagDocumentos
|
||||||
Align = alClient
|
Align = alClient
|
||||||
Font.Charset = DEFAULT_CHARSET
|
Font.Charset = DEFAULT_CHARSET
|
||||||
Font.Color = clBlack
|
Font.Color = clBlack
|
||||||
@ -2294,8 +2294,8 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
object Panel8: TPanel
|
object Panel8: TPanel
|
||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 945
|
Width = 988
|
||||||
Height = 352
|
Height = 370
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
ParentColor = True
|
ParentColor = True
|
||||||
@ -2304,7 +2304,7 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
Left = 0
|
Left = 0
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 125
|
Width = 125
|
||||||
Height = 352
|
Height = 370
|
||||||
Align = alLeft
|
Align = alLeft
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
Caption = ' '
|
Caption = ' '
|
||||||
@ -2314,8 +2314,8 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
object Panel10: TPanel
|
object Panel10: TPanel
|
||||||
Left = 125
|
Left = 125
|
||||||
Top = 0
|
Top = 0
|
||||||
Width = 820
|
Width = 863
|
||||||
Height = 352
|
Height = 370
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
BorderWidth = 10
|
BorderWidth = 10
|
||||||
@ -2325,8 +2325,8 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
object Panel11: TPanel
|
object Panel11: TPanel
|
||||||
Left = 10
|
Left = 10
|
||||||
Top = 39
|
Top = 39
|
||||||
Width = 800
|
Width = 843
|
||||||
Height = 303
|
Height = 321
|
||||||
Align = alClient
|
Align = alClient
|
||||||
BevelOuter = bvNone
|
BevelOuter = bvNone
|
||||||
BorderWidth = 5
|
BorderWidth = 5
|
||||||
@ -2336,8 +2336,8 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
object explo: TcxShellListView
|
object explo: TcxShellListView
|
||||||
Left = 5
|
Left = 5
|
||||||
Top = 5
|
Top = 5
|
||||||
Width = 790
|
Width = 833
|
||||||
Height = 293
|
Height = 311
|
||||||
Align = alClient
|
Align = alClient
|
||||||
DragDropSettings.DefaultDropEffect = deCopy
|
DragDropSettings.DefaultDropEffect = deCopy
|
||||||
DragDropSettings.DropEffect = []
|
DragDropSettings.DropEffect = []
|
||||||
@ -2359,7 +2359,7 @@ object frPresupuestoCliente: TfrPresupuestoCliente
|
|||||||
object pnlBarraDocumentos: TPanel
|
object pnlBarraDocumentos: TPanel
|
||||||
Left = 10
|
Left = 10
|
||||||
Top = 10
|
Top = 10
|
||||||
Width = 800
|
Width = 843
|
||||||
Height = 29
|
Height = 29
|
||||||
Align = alTop
|
Align = alTop
|
||||||
AutoSize = True
|
AutoSize = True
|
||||||
|
|||||||
@ -549,7 +549,7 @@ begin
|
|||||||
|
|
||||||
|
|
||||||
//Documentos asociados al presupuesto
|
//Documentos asociados al presupuesto
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
pnlBarraDocumentos.Visible := True;
|
pnlBarraDocumentos.Visible := True;
|
||||||
FDirectorio := '\' + ExtractFileName(darFicheroTemporal);
|
FDirectorio := '\' + ExtractFileName(darFicheroTemporal);
|
||||||
@ -618,7 +618,7 @@ begin
|
|||||||
Visible := True;
|
Visible := True;
|
||||||
|
|
||||||
//Documentos asociados al presupuesto
|
//Documentos asociados al presupuesto
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
pnlBarraDocumentos.Visible := False;
|
pnlBarraDocumentos.Visible := False;
|
||||||
FDirectorio := PathDelim + StringReplace(CodigoPresupuesto,'/','',[rfReplaceAll]);
|
FDirectorio := PathDelim + StringReplace(CodigoPresupuesto,'/','',[rfReplaceAll]);
|
||||||
@ -694,7 +694,7 @@ begin
|
|||||||
Visible := True;
|
Visible := True;
|
||||||
|
|
||||||
//Documentos asociados al presupuesto
|
//Documentos asociados al presupuesto
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
pnlBarraDocumentos.Visible := False;
|
pnlBarraDocumentos.Visible := False;
|
||||||
FDirectorio := PathDelim + StringReplace(CodigoPresupuesto,'/','',[rfReplaceAll]);
|
FDirectorio := PathDelim + StringReplace(CodigoPresupuesto,'/','',[rfReplaceAll]);
|
||||||
@ -777,7 +777,7 @@ begin
|
|||||||
Visible := True;
|
Visible := True;
|
||||||
|
|
||||||
//Documentos asociados al presupuesto
|
//Documentos asociados al presupuesto
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
pnlBarraDocumentos.Visible := True;
|
pnlBarraDocumentos.Visible := True;
|
||||||
FDirectorio := '\' + StringReplace(CodigoPresupuesto,'/','',[rfReplaceAll]);
|
FDirectorio := '\' + StringReplace(CodigoPresupuesto,'/','',[rfReplaceAll]);
|
||||||
@ -1011,7 +1011,7 @@ begin
|
|||||||
TablaPropiedadesMem.Cancel;
|
TablaPropiedadesMem.Cancel;
|
||||||
RollBack;
|
RollBack;
|
||||||
|
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
EliminarDirDocumentos;
|
EliminarDirDocumentos;
|
||||||
EliminarDirPlanos;
|
EliminarDirPlanos;
|
||||||
@ -1269,7 +1269,7 @@ begin
|
|||||||
Commit;
|
Commit;
|
||||||
|
|
||||||
|
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
EliminarDirDocumentos;
|
EliminarDirDocumentos;
|
||||||
EliminarDirPlanos;
|
EliminarDirPlanos;
|
||||||
@ -2354,21 +2354,28 @@ end;
|
|||||||
|
|
||||||
procedure TfrPresupuestoCliente.ConfigurarPantallaDocumento;
|
procedure TfrPresupuestoCliente.ConfigurarPantallaDocumento;
|
||||||
begin
|
begin
|
||||||
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
|
begin
|
||||||
|
pagDocumentos.TabVisible := True;
|
||||||
|
pagPlanos.TabVisible := True;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
pagDocumentos.TabVisible := False;
|
||||||
|
pagPlanos.TabVisible := False;
|
||||||
|
end;
|
||||||
|
|
||||||
if (Entidad = entPresupuestoCocina) then
|
if (Entidad = entPresupuestoCocina) then
|
||||||
begin
|
begin
|
||||||
pagContenido.TabVisible := False;
|
pagContenido.TabVisible := False;
|
||||||
pagDesgloses.TabVisible := True;
|
pagDesgloses.TabVisible := True;
|
||||||
pagAumento.TabVisible := True;
|
pagAumento.TabVisible := True;
|
||||||
pagDocumentos.TabVisible := True;
|
|
||||||
pagPlanos.TabVisible := True;
|
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
pagContenido.TabVisible := True;
|
pagContenido.TabVisible := True;
|
||||||
pagDesgloses.TabVisible := False;
|
pagDesgloses.TabVisible := False;
|
||||||
pagAumento.TabVisible := False;
|
pagAumento.TabVisible := False;
|
||||||
pagDocumentos.TabVisible := False;
|
|
||||||
pagPlanos.TabVisible := False;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
case Entidad of
|
case Entidad of
|
||||||
@ -2798,7 +2805,7 @@ procedure TfrPresupuestoCliente.ComprobarEstadoDirDocumentos;
|
|||||||
var
|
var
|
||||||
RutaTemp, RutaFinal: String;
|
RutaTemp, RutaFinal: String;
|
||||||
begin
|
begin
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
DeshabilitarDocumentos;
|
DeshabilitarDocumentos;
|
||||||
Application.ProcessMessages;
|
Application.ProcessMessages;
|
||||||
@ -2874,7 +2881,7 @@ procedure TfrPresupuestoCliente.ComprobarEstadoDirPlanos;
|
|||||||
var
|
var
|
||||||
RutaTemp, RutaFinal: String;
|
RutaTemp, RutaFinal: String;
|
||||||
begin
|
begin
|
||||||
if Entidad = entPresupuestoCocina then
|
if (Entidad in [entPresupuestoCocina, entPresupuestoArmarios]) then
|
||||||
begin
|
begin
|
||||||
DeshabilitarPlanos;
|
DeshabilitarPlanos;
|
||||||
Application.ProcessMessages;
|
Application.ProcessMessages;
|
||||||
|
|||||||
@ -96,7 +96,7 @@ PackageDLLOutputDir=.\Temp
|
|||||||
PackageDCPOutputDir=.\Temp
|
PackageDCPOutputDir=.\Temp
|
||||||
SearchPath=$(DELPHI)\Lib\Debug;.\Frames;C:\Archivos de programa\Developer Express Inc\ExpressScheduler\Sources;D:\Proyectos\Librerias;D:\Proyectos\Componentes\Colores
|
SearchPath=$(DELPHI)\Lib\Debug;.\Frames;C:\Archivos de programa\Developer Express Inc\ExpressScheduler\Sources;D:\Proyectos\Librerias;D:\Proyectos\Componentes\Colores
|
||||||
Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;ibxpress;teeui;teedb;tee;dss;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;dxEdtrD7;dxComnD7;EQTLD7;ECQDBCD7;EQDBTLD7;EQGridD7;dxGrEdD7;dxExELD7;dxELibD7;cxLibraryVCLD7;cxEditorsVCLD7;cxGridVCLD7;dxThemeD7;cxDataD7;cxGridUtilsVCLD7;PNGImageD7;TMSD7;FRIBX7;FR7;fsIBX7;fs7;frx7;frxADO7;frxBDE7;frxDB7;frxDBX7;frxe7;frxIBX7;fsADO7;fsBDE7;fsDB7;cxExtEditorsVCLD7;cxExportVCLD7;cxSchedulerVCLD7;cxIntlSchedulerD7;dxPSCoreD7;cxIntlPrintSys3D7;CEToolsPkgd7
|
Packages=vcl;rtl;vclx;indy;inet;xmlrtl;vclie;inetdbbde;inetdbxpress;dbrtl;dsnap;dsnapcon;vcldb;soaprtl;VclSmp;dbexpress;dbxcds;inetdb;bdertl;vcldbx;webdsnap;websnap;adortl;ibxpress;teeui;teedb;tee;dss;visualclx;visualdbclx;vclactnband;vclshlctrls;IntrawebDB_50_70;Intraweb_50_70;Rave50CLX;Rave50VCL;dclOfficeXP;dxEdtrD7;dxComnD7;EQTLD7;ECQDBCD7;EQDBTLD7;EQGridD7;dxGrEdD7;dxExELD7;dxELibD7;cxLibraryVCLD7;cxEditorsVCLD7;cxGridVCLD7;dxThemeD7;cxDataD7;cxGridUtilsVCLD7;PNGImageD7;TMSD7;FRIBX7;FR7;fsIBX7;fs7;frx7;frxADO7;frxBDE7;frxDB7;frxDBX7;frxe7;frxIBX7;fsADO7;fsBDE7;fsDB7;cxExtEditorsVCLD7;cxExportVCLD7;cxSchedulerVCLD7;cxIntlSchedulerD7;dxPSCoreD7;cxIntlPrintSys3D7;CEToolsPkgd7
|
||||||
Conditionals=EUREKALOG;EUREKALOG_VER5
|
Conditionals=
|
||||||
DebugSourceDirs=D:\Proyectos\Componentes\FastReport\Source\;D:\Proyectos\FactuGES 2000 v2 (Acana)\Codigo\Frames\;T:\Componentes\CETools\
|
DebugSourceDirs=D:\Proyectos\Componentes\FastReport\Source\;D:\Proyectos\FactuGES 2000 v2 (Acana)\Codigo\Frames\;T:\Componentes\CETools\
|
||||||
UsePackages=0
|
UsePackages=0
|
||||||
[Parameters]
|
[Parameters]
|
||||||
@ -114,7 +114,7 @@ IncludeVerInfo=1
|
|||||||
AutoIncBuild=0
|
AutoIncBuild=0
|
||||||
MajorVer=3
|
MajorVer=3
|
||||||
MinorVer=0
|
MinorVer=0
|
||||||
Release=8
|
Release=9
|
||||||
Build=0
|
Build=0
|
||||||
Debug=0
|
Debug=0
|
||||||
PreRelease=0
|
PreRelease=0
|
||||||
@ -126,7 +126,7 @@ CodePage=1252
|
|||||||
[Version Info Keys]
|
[Version Info Keys]
|
||||||
CompanyName=
|
CompanyName=
|
||||||
FileDescription=
|
FileDescription=
|
||||||
FileVersion=3.0.8.0
|
FileVersion=3.0.9.0
|
||||||
InternalName=
|
InternalName=
|
||||||
LegalCopyright=
|
LegalCopyright=
|
||||||
LegalTrademarks=
|
LegalTrademarks=
|
||||||
@ -207,7 +207,7 @@ Item1=D:\Proyectos\FactuGES 2000 v2 (Acana)\Codigo\Temp
|
|||||||
Item2=D:\Rodax Software\Proyectos\FactuGES 2000 v2 (Acana)\Codigo\Temp
|
Item2=D:\Rodax Software\Proyectos\FactuGES 2000 v2 (Acana)\Codigo\Temp
|
||||||
[Exception Log]
|
[Exception Log]
|
||||||
EurekaLog Version=519
|
EurekaLog Version=519
|
||||||
Activate=1
|
Activate=0
|
||||||
Activate Handle=1
|
Activate Handle=1
|
||||||
Save Log File=1
|
Save Log File=1
|
||||||
Foreground Tab=0
|
Foreground Tab=0
|
||||||
|
|||||||
@ -26,7 +26,6 @@ program FactuGES;
|
|||||||
{$I COMPILE.INC}
|
{$I COMPILE.INC}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
ExceptionLog,
|
|
||||||
Forms,
|
Forms,
|
||||||
Windows,
|
Windows,
|
||||||
Mensajes,
|
Mensajes,
|
||||||
|
|||||||
BIN
Factuges.res
BIN
Factuges.res
Binary file not shown.
Binary file not shown.
BIN
bd/ACANA.GDB
BIN
bd/ACANA.GDB
Binary file not shown.
Reference in New Issue
Block a user