Cambios menores de uso en tienda

git-svn-id: https://192.168.0.254/svn/Proyectos.AlonsoYSal_FactuGES/trunk@44 9a1d36f3-7752-2d40-8ccb-50eb49674c68
This commit is contained in:
roberto 2019-04-29 08:29:28 +00:00
parent f990142696
commit f36e5794ec
13 changed files with 2447 additions and 20 deletions

Binary file not shown.

View File

@ -114,7 +114,7 @@ IncludeVerInfo=1
AutoIncBuild=0 AutoIncBuild=0
MajorVer=1 MajorVer=1
MinorVer=6 MinorVer=6
Release=2 Release=3
Build=0 Build=0
Debug=0 Debug=0
PreRelease=0 PreRelease=0
@ -126,13 +126,13 @@ CodePage=1252
[Version Info Keys] [Version Info Keys]
CompanyName=Rodax Software S.L. CompanyName=Rodax Software S.L.
FileDescription= FileDescription=
FileVersion=1.6.2.0 FileVersion=1.6.3.0
InternalName=FactuGES InternalName=FactuGES
LegalCopyright= LegalCopyright=
LegalTrademarks= LegalTrademarks=
OriginalFilename= OriginalFilename=
ProductName=FactuGES ProductName=FactuGES
ProductVersion=1.6.2.0 ProductVersion=1.6.3.0
Comments= Comments=
[Excluded Packages] [Excluded Packages]
C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\cxLibraryVCLD7.bpl=Express Cross Platform Library (VCL Edition) by Developer Express Inc. C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\cxLibraryVCLD7.bpl=Express Cross Platform Library (VCL Edition) by Developer Express Inc.

Binary file not shown.

View File

@ -1 +1 @@
{DEFINE TIENDA} {$DEFINE TIENDA}

View File

@ -159,6 +159,9 @@ inherited fEditorAlbaranCliente: TfEditorAlbaranCliente
end end
end end
inherited EditorActionList: TActionList [5] inherited EditorActionList: TActionList [5]
inherited actEliminar: TAction
Enabled = False
end
end end
inherited SmallImages: TPngImageList [6] inherited SmallImages: TPngImageList [6]
end end

View File

@ -30,6 +30,7 @@ type
procedure FormShow(Sender: TObject); override; procedure FormShow(Sender: TObject); override;
procedure frViewDatosYSeleccionContacto1edtlNombrePropertiesChange( procedure frViewDatosYSeleccionContacto1edtlNombrePropertiesChange(
Sender: TObject); Sender: TObject);
procedure actEliminarUpdate(Sender: TObject);
private private
FAlbaranCliente: IBizAlbaranesCliente; FAlbaranCliente: IBizAlbaranesCliente;
FViewAlbaranCliente: IViewAlbaranCliente; FViewAlbaranCliente: IViewAlbaranCliente;
@ -158,6 +159,11 @@ begin
Caption := JvNavPanelHeader.Caption; Caption := JvNavPanelHeader.Caption;
end; end;
procedure TfEditorAlbaranCliente.actEliminarUpdate(Sender: TObject);
begin
// inherited;
end;
initialization initialization
RegisterEditor(IBizAlbaranesCliente, ShowEditorAlbaranCliente, etItem); RegisterEditor(IBizAlbaranesCliente, ShowEditorAlbaranCliente, etItem);

View File

@ -98,35 +98,78 @@ inherited fEditorAlbaranesCliente: TfEditorAlbaranesCliente
end end
end end
inherited EditorActionList: TActionList [4] inherited EditorActionList: TActionList [4]
State = asSuspended
inherited actNuevo: TAction inherited actNuevo: TAction
Enabled = False
ImageIndex = 22 ImageIndex = 22
OnExecute = actNuevoExecute OnExecute = actNuevoExecute
end end
inherited actGuardarCerrar: TAction inherited actModificar: TAction
Enabled = True Enabled = False
end end
inherited actGuardar: TAction inherited actEliminar: TAction
Enabled = True Enabled = False
end end
inherited actCerrar: TAction inherited actConfPagina: TAction
Enabled = True Enabled = False
end end
inherited actAnterior: TAction inherited actPrevisualizar: TAction
Enabled = True Enabled = False
end end
inherited actSiguiente: TAction inherited actPrevisualizarDocumento: TAction
Enabled = True Enabled = False
end end
inherited actCancelarCambios: TAction inherited actImprimir: TAction
Enabled = True Enabled = False
end
inherited actDeshacer: TEditUndo
Enabled = False
end
inherited actCortar: TEditCut
Enabled = False
end
inherited actImprimirDocumento: TAction
Enabled = False
end
inherited actCopiar: TEditCopy
Enabled = False
end
inherited actPegar: TEditPaste
Enabled = False
end
inherited actSeleccionarTodo: TEditSelectAll
Enabled = False
end
inherited actLimpiar: TEditDelete
Enabled = False
end
inherited actRefrescar: TAction
Enabled = False
end
inherited actAcercaDe: TAction
Enabled = False
end
inherited actBuscar: TAction
Enabled = False
end
inherited actQuitarFiltro: TAction
Enabled = False
end end
object actPagar: TAction [24] object actPagar: TAction [24]
Category = 'Archivo' Category = 'Archivo'
Caption = 'Generar cobro' Caption = 'Generar cobro'
Enabled = False
ImageIndex = 23 ImageIndex = 23
OnExecute = actPagarExecute OnExecute = actPagarExecute
end end
inherited actDuplicar: TAction
Enabled = False
end
inherited actAnchoAuto: TAction
Enabled = False
end
inherited actFiltrar: TAction
Enabled = False
end
end end
inherited SmallImages: TPngImageList [5] inherited SmallImages: TPngImageList [5]
PngImages = < PngImages = <

View File

@ -36,6 +36,7 @@ type
procedure edtFechaFiltro1PropertiesEditValueChanged(Sender: TObject); procedure edtFechaFiltro1PropertiesEditValueChanged(Sender: TObject);
procedure OnListaAnosChange(Sender: TObject; const Text: string); procedure OnListaAnosChange(Sender: TObject; const Text: string);
procedure FormShow(Sender: TObject); procedure FormShow(Sender: TObject);
procedure actEliminarUpdate(Sender: TObject);
private private
FAlbaranesCliente: IBizAlbaranesCliente; FAlbaranesCliente: IBizAlbaranesCliente;
@ -237,6 +238,11 @@ begin
aAux.SelectedRows.Clear; aAux.SelectedRows.Clear;
end; end;
procedure TfEditorAlbaranesCliente.actEliminarUpdate(Sender: TObject);
begin
// inherited;
end;
initialization initialization
RegisterEditor(IBizAlbaranesCliente, ShowEditorAlbaranesCliente, etItems); RegisterEditor(IBizAlbaranesCliente, ShowEditorAlbaranesCliente, etItems);
RegisterEditor(IBizAlbaranesCliente, ShowSelectEditorAlbaranesCliente, etSelectItems); RegisterEditor(IBizAlbaranesCliente, ShowSelectEditorAlbaranesCliente, etSelectItems);

View File

@ -134,6 +134,9 @@ var
procedure ValidarAlbaranCliente (const AAlbaranCliente : IBizAlbaranesCliente); procedure ValidarAlbaranCliente (const AAlbaranCliente : IBizAlbaranesCliente);
begin begin
//No se podrán modificar los albaranes ya que van a desaparecer
raise Exception.Create('No puede modificar albaranes, solo podrá consultarlos');
if (FloatToStr(AAlbaranCliente.FECHAALBARAN) = '0') then if (FloatToStr(AAlbaranCliente.FECHAALBARAN) = '0') then
raise Exception.Create('Debe indicar la fecha de este albarán'); raise Exception.Create('Debe indicar la fecha de este albarán');

File diff suppressed because one or more lines are too long

View File

@ -114,7 +114,7 @@ IncludeVerInfo=1
AutoIncBuild=0 AutoIncBuild=0
MajorVer=1 MajorVer=1
MinorVer=6 MinorVer=6
Release=2 Release=3
Build=0 Build=0
Debug=0 Debug=0
PreRelease=0 PreRelease=0
@ -126,13 +126,13 @@ CodePage=1252
[Version Info Keys] [Version Info Keys]
CompanyName=Rodax Software S.L. CompanyName=Rodax Software S.L.
FileDescription= FileDescription=
FileVersion=1.6.2.0 FileVersion=1.6.3.0
InternalName= InternalName=
LegalCopyright= LegalCopyright=
LegalTrademarks= LegalTrademarks=
OriginalFilename= OriginalFilename=
ProductName=FactuGES Server ProductName=FactuGES Server
ProductVersion=1.6.2.0 ProductVersion=1.6.3.0
Comments= Comments=
[Excluded Packages] [Excluded Packages]
C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\cxLibraryVCLD7.bpl=Express Cross Platform Library (VCL Edition) by Developer Express Inc. C:\Archivos de programa\Borland\Delphi7\Projects\Bpl\cxLibraryVCLD7.bpl=Express Cross Platform Library (VCL Edition) by Developer Express Inc.

File diff suppressed because it is too large Load Diff

Binary file not shown.