Repaso a contactos:
* Títulos informativos en las ventanas (lista de clientes, nuevo cliente, etc...) * Rellenar los campos ID_EMPRESA y USUARIO con sus valores. git-svn-id: https://192.168.0.254/svn/Proyectos.Tecsitel_FactuGES2/trunk@130 0c75b7a4-871f-7646-8a2f-f78d34cc349f
This commit is contained in:
parent
f935416314
commit
01a6886a44
@ -58,18 +58,6 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPSCoreD10.bpl">ExpressPrinting System by Developer Express Inc.</Excluded_Packages>
|
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\dxPSCoreD10.bpl">ExpressPrinting System by Developer Express Inc.</Excluded_Packages>
|
||||||
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\PluginSDK_D10R.bpl">PluginSDK for Delphi 10 (Runtime)</Excluded_Packages>
|
<Excluded_Packages Name="C:\Documents and Settings\All Users\Documentos\RAD Studio\5.0\Bpl\PluginSDK_D10R.bpl">PluginSDK for Delphi 10 (Runtime)</Excluded_Packages>
|
||||||
<Excluded_Packages Name="$(BDS)\bin\dcloffice2k100.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
<Excluded_Packages Name="$(BDS)\bin\dcloffice2k100.bpl">Microsoft Office 2000 Sample Automation Server Wrapper Components</Excluded_Packages>
|
||||||
|
|||||||
@ -86,9 +86,8 @@ begin
|
|||||||
Result.Edit;
|
Result.Edit;
|
||||||
with Result do
|
with Result do
|
||||||
begin
|
begin
|
||||||
// OJO!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!111
|
ID_EMPRESA := AppFactuGES.EmpresaActiva.ID;
|
||||||
//ID_EMPRESA := dmUsuarios.IDEmpresaActual;
|
USUARIO := AppFactuGES.UsuarioActivo.UserName;
|
||||||
//USUARIO := dmUsuarios.LoginInfo.Usuario;
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
Result.Post;
|
Result.Post;
|
||||||
|
|||||||
@ -78,54 +78,65 @@ inherited fEditorClientes: TfEditorClientes
|
|||||||
ParentFont = False
|
ParentFont = False
|
||||||
TabOrder = 3
|
TabOrder = 3
|
||||||
ReadOnly = False
|
ReadOnly = False
|
||||||
ExplicitLeft = 229
|
ExplicitTop = 102
|
||||||
ExplicitTop = 61
|
ExplicitWidth = 786
|
||||||
|
ExplicitHeight = 398
|
||||||
inherited cxGrid: TcxGrid
|
inherited cxGrid: TcxGrid
|
||||||
Width = 786
|
Width = 786
|
||||||
Height = 270
|
Height = 270
|
||||||
|
ExplicitWidth = 786
|
||||||
|
ExplicitHeight = 270
|
||||||
inherited cxGridView: TcxGridDBTableView
|
inherited cxGridView: TcxGridDBTableView
|
||||||
DataController.Summary.FooterSummaryItems = <
|
DataController.Summary.FooterSummaryItems = <
|
||||||
item
|
item
|
||||||
Format = '0 clientes'
|
Format = '0 clientes'
|
||||||
Kind = skCount
|
Kind = skCount
|
||||||
Column = frViewClientes1.cxGridViewNIF_CIF
|
Column = frViewClientes1.cxGridViewTiendaWeb
|
||||||
end>
|
end>
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited frViewFiltroBase1: TfrViewFiltroBase
|
inherited frViewFiltroBase1: TfrViewFiltroBase
|
||||||
Width = 786
|
Width = 786
|
||||||
|
ExplicitWidth = 786
|
||||||
inherited TBXDockablePanel1: TTBXDockablePanel
|
inherited TBXDockablePanel1: TTBXDockablePanel
|
||||||
|
ExplicitWidth = 786
|
||||||
inherited dxLayoutControl1: TdxLayoutControl
|
inherited dxLayoutControl1: TdxLayoutControl
|
||||||
Width = 786
|
Width = 786
|
||||||
|
ExplicitWidth = 786
|
||||||
inherited txtFiltroTodo: TcxTextEdit
|
inherited txtFiltroTodo: TcxTextEdit
|
||||||
ExplicitWidth = 273
|
ExplicitWidth = 457
|
||||||
Width = 273
|
Width = 457
|
||||||
end
|
end
|
||||||
inherited edtFechaIniFiltro: TcxDateEdit
|
inherited edtFechaIniFiltro: TcxDateEdit
|
||||||
ExplicitWidth = 121
|
ExplicitWidth = 240
|
||||||
Width = 121
|
Width = 240
|
||||||
end
|
end
|
||||||
inherited edtFechaFinFiltro: TcxDateEdit
|
inherited edtFechaFinFiltro: TcxDateEdit
|
||||||
Left = 483
|
Left = 564
|
||||||
ExplicitLeft = 483
|
ExplicitLeft = 564
|
||||||
ExplicitWidth = 121
|
ExplicitWidth = 121
|
||||||
Width = 121
|
Width = 121
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
||||||
Width = 786
|
Width = 786
|
||||||
|
ExplicitWidth = 786
|
||||||
inherited tbxBotones: TTBXToolbar
|
inherited tbxBotones: TTBXToolbar
|
||||||
Width = 776
|
Width = 776
|
||||||
|
ExplicitWidth = 776
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
inherited pnlAgrupaciones: TTBXDockablePanel
|
inherited pnlAgrupaciones: TTBXDockablePanel
|
||||||
Top = 372
|
Top = 372
|
||||||
|
ExplicitTop = 372
|
||||||
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
|
||||||
Width = 786
|
Width = 786
|
||||||
|
ExplicitWidth = 786
|
||||||
inherited TBXToolbar1: TTBXToolbar
|
inherited TBXToolbar1: TTBXToolbar
|
||||||
Width = 776
|
Width = 776
|
||||||
|
ExplicitWidth = 776
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -35,7 +35,7 @@ implementation
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
uGridUtils, uDataModuleContactos, uDMBase, uEditorGridBase, uBizContactos,
|
uGridUtils, uDataModuleContactos, uDMBase, uEditorGridBase, uBizContactos,
|
||||||
uDBSelectionListUtils, uDataModuleUsuarios, uDialogUtils,
|
uDBSelectionListUtils, uDataModuleUsuarios, uDialogUtils, uFactuGES_App,
|
||||||
uGruposClienteController, uBizGruposCliente, uClientesController;
|
uGruposClienteController, uBizGruposCliente, uClientesController;
|
||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
@ -62,7 +62,7 @@ end;
|
|||||||
constructor TfEditorClientes.Create(AOwner: TComponent);
|
constructor TfEditorClientes.Create(AOwner: TComponent);
|
||||||
begin
|
begin
|
||||||
inherited;
|
inherited;
|
||||||
ViewGrid := frViewClientes1; //CreateView(TfrViewClientes) as IViewContactos;
|
ViewGrid := frViewClientes1;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorClientes.EliminarInterno;
|
procedure TfEditorClientes.EliminarInterno;
|
||||||
@ -159,8 +159,7 @@ procedure TfEditorClientes.PonerTitulos(const ATitulo: string);
|
|||||||
var
|
var
|
||||||
FTitulo : String;
|
FTitulo : String;
|
||||||
begin
|
begin
|
||||||
// OJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
|
FTitulo := 'Lista de clientes - ' + AppFactuGES.EmpresaActiva.NOMBRE;
|
||||||
// FTitulo := 'Lista de clientes - ' + dmUsuarios.EmpresaActual.NOMBRE;
|
|
||||||
inherited PonerTitulos(FTitulo);
|
inherited PonerTitulos(FTitulo);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -53,7 +53,8 @@ implementation
|
|||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
uCustomEditor, uDataModuleContactos, uDMBase, uDataModuleUsuarios;
|
uFactuGES_App, uCustomEditor, uDataModuleContactos,
|
||||||
|
uDMBase, uDataModuleUsuarios;
|
||||||
|
|
||||||
{
|
{
|
||||||
******************************* TfEditorContacto *******************************
|
******************************* TfEditorContacto *******************************
|
||||||
@ -102,8 +103,7 @@ begin
|
|||||||
|
|
||||||
inherited PonerTitulos(FTitulo);
|
inherited PonerTitulos(FTitulo);
|
||||||
|
|
||||||
// OJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
|
Self.Caption := FTitulo + ' (' + AppFactuGES.EmpresaActiva.NOMBRE + ')';
|
||||||
// Self.Caption := FTitulo + ' (' + dmUsuarios.EmpresaActual.NOMBRE + ')';
|
|
||||||
end;
|
end;
|
||||||
|
|
||||||
procedure TfEditorContacto.SetContacto(const Value: IBizContacto);
|
procedure TfEditorContacto.SetContacto(const Value: IBizContacto);
|
||||||
|
|||||||
@ -2,7 +2,6 @@ inherited fEditorContactos: TfEditorContactos
|
|||||||
Left = 285
|
Left = 285
|
||||||
Top = 448
|
Top = 448
|
||||||
Caption = 'Lista de contactos'
|
Caption = 'Lista de contactos'
|
||||||
ExplicitWidth = 320
|
|
||||||
ExplicitHeight = 471
|
ExplicitHeight = 471
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
|
|||||||
@ -45,9 +45,9 @@ type
|
|||||||
implementation
|
implementation
|
||||||
|
|
||||||
uses
|
uses
|
||||||
uCustomEditor, uDataModuleContactos,
|
uCustomEditor, uDataModuleContactos, uFactuGES_App,
|
||||||
uEditorDBBase, uFactuGES_App,
|
uEditorDBBase, cxGrid, cxGridCustomTableView,
|
||||||
cxGrid, cxGridCustomTableView, uDBSelectionListUtils;
|
uDBSelectionListUtils;
|
||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
@ -101,9 +101,8 @@ var
|
|||||||
FTitulo : String;
|
FTitulo : String;
|
||||||
begin
|
begin
|
||||||
FTitulo := ATitulo;
|
FTitulo := ATitulo;
|
||||||
// OJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
|
if FTitulo = '' then
|
||||||
{ if FTitulo = '' then
|
FTitulo := 'Lista de contactos - ' + AppFactuGES.EmpresaActiva.NOMBRE;
|
||||||
FTitulo := 'Lista de contactos - ' + dmUsuarios.EmpresaActual.NOMBRE;}
|
|
||||||
inherited PonerTitulos(FTitulo);
|
inherited PonerTitulos(FTitulo);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,5 @@
|
|||||||
inherited fEditorEmpleados: TfEditorEmpleados
|
inherited fEditorEmpleados: TfEditorEmpleados
|
||||||
Caption = 'fEditorEmpleados'
|
Caption = 'fEditorEmpleados'
|
||||||
ExplicitHeight = 478
|
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
|
|||||||
@ -33,7 +33,7 @@ implementation
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
uGridUtils, uEditorGridBase, uDataModuleUsuarios, uDialogUtils, uBizContactos,
|
uGridUtils, uEditorGridBase, uDataModuleUsuarios, uDialogUtils, uBizContactos,
|
||||||
uEmpleadosController, uDBSelectionListUtils;
|
uEmpleadosController, uDBSelectionListUtils, uFactuGES_App;
|
||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
@ -139,8 +139,7 @@ procedure TfEditorEmpleados.PonerTitulos(const ATitulo: string);
|
|||||||
var
|
var
|
||||||
FTitulo : String;
|
FTitulo : String;
|
||||||
begin
|
begin
|
||||||
// ojooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
|
FTitulo := 'Lista de empleados - ' + AppFactuGES.EmpresaActiva.NOMBRE;
|
||||||
// FTitulo := 'Lista de empleados - ' + dmUsuarios.EmpresaActual.NOMBRE;
|
|
||||||
inherited PonerTitulos(FTitulo);
|
inherited PonerTitulos(FTitulo);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,5 @@
|
|||||||
inherited fEditorProveedores: TfEditorProveedores
|
inherited fEditorProveedores: TfEditorProveedores
|
||||||
Caption = 'fEditorProveedores'
|
Caption = 'fEditorProveedores'
|
||||||
ExplicitWidth = 320
|
|
||||||
ExplicitHeight = 240
|
|
||||||
PixelsPerInch = 96
|
PixelsPerInch = 96
|
||||||
TextHeight = 13
|
TextHeight = 13
|
||||||
inherited JvNavPanelHeader: TJvNavPanelHeader
|
inherited JvNavPanelHeader: TJvNavPanelHeader
|
||||||
|
|||||||
@ -32,7 +32,7 @@ implementation
|
|||||||
|
|
||||||
uses
|
uses
|
||||||
uGridUtils, uEditorGridBase, uDataModuleUsuarios, uDialogUtils, uBizContactos,
|
uGridUtils, uEditorGridBase, uDataModuleUsuarios, uDialogUtils, uBizContactos,
|
||||||
uDBSelectionListUtils, uProveedoresController;
|
uDBSelectionListUtils, uProveedoresController, uFactuGES_App;
|
||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
@ -138,8 +138,7 @@ procedure TfEditorProveedores.PonerTitulos(const ATitulo: string);
|
|||||||
var
|
var
|
||||||
FTitulo : String;
|
FTitulo : String;
|
||||||
begin
|
begin
|
||||||
// OJOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO
|
FTitulo := 'Lista de proveedores - ' + AppFactuGES.EmpresaActiva.NOMBRE;
|
||||||
// FTitulo := 'Lista de proveedores - ' + dmUsuarios.EmpresaActual.NOMBRE;
|
|
||||||
inherited PonerTitulos(FTitulo);
|
inherited PonerTitulos(FTitulo);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user