#1463 -> Revisar fechas del informe de listado de iva de facturas de cliente

git-svn-id: https://192.168.0.254/svn/Proyectos.Acana_FactuGES2/trunk@665 f4e31baf-9722-1c47-927c-6f952f962d4b
This commit is contained in:
David Arranz 2017-12-10 12:03:49 +00:00
parent f65636dc45
commit 6e496b0717
31 changed files with 2665 additions and 2444 deletions

View File

@ -549,6 +549,11 @@ begin
ABorderIcons := Self.BorderIcons; ABorderIcons := Self.BorderIcons;
Self.BorderIcons := Self.BorderIcons - [biMinimize]; Self.BorderIcons := Self.BorderIcons - [biMinimize];
try try
// Para tratar de evistar que la ventana modal se quede detrás
// de la pantalla principal.
PopupMode := pmExplicit;
PopupParent := Application.MainForm;
Result := inherited ShowModal; Result := inherited ShowModal;
finally finally
Self.BorderIcons := ABorderIcons; Self.BorderIcons := ABorderIcons;

View File

@ -1,9 +1,9 @@
inherited fEditorInformeBase: TfEditorInformeBase inherited fEditorInformeBase: TfEditorInformeBase
Caption = '' Caption = ''
ClientHeight = 483 ClientHeight = 641
ClientWidth = 787 ClientWidth = 787
ExplicitWidth = 795 ExplicitWidth = 795
ExplicitHeight = 517 ExplicitHeight = 675
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
inherited JvNavPanelHeader: TJvNavPanelHeader inherited JvNavPanelHeader: TJvNavPanelHeader
@ -23,23 +23,23 @@ inherited fEditorInformeBase: TfEditorInformeBase
end end
end end
inherited StatusBar: TJvStatusBar inherited StatusBar: TJvStatusBar
Top = 464 Top = 622
Width = 787 Width = 787
ExplicitTop = 464 ExplicitTop = 622
ExplicitWidth = 787 ExplicitWidth = 787
end end
object TBXMultiDockIzquierdo: TTBXMultiDock [3] object TBXMultiDockIzquierdo: TTBXMultiDock [3]
Left = 0 Left = 0
Top = 116 Top = 116
Width = 7 Width = 7
Height = 348 Height = 506
Position = dpLeft Position = dpLeft
end end
object TBXMultiDockDerecho: TTBXMultiDock [4] object TBXMultiDockDerecho: TTBXMultiDock [4]
Left = 537 Left = 447
Top = 116 Top = 116
Width = 250 Width = 340
Height = 348 Height = 506
Position = dpRight Position = dpRight
object pnlParametros: TTBXDockablePanel object pnlParametros: TTBXDockablePanel
Left = 0 Left = 0
@ -49,29 +49,27 @@ inherited fEditorInformeBase: TfEditorInformeBase
CloseButtonWhenDocked = False CloseButtonWhenDocked = False
DefaultDock = TBXMultiDockDerecho DefaultDock = TBXMultiDockDerecho
DockableTo = [dpLeft, dpRight] DockableTo = [dpLeft, dpRight]
DockedWidth = 246 DockedWidth = 336
DockMode = dmCannotFloat DockMode = dmCannotFloat
DockPos = 6 DockPos = 6
FloatingWidth = 128 FloatingWidth = 128
FloatingHeight = 128 FloatingHeight = 128
SupportedDocks = [dkStandardDock, dkMultiDock] SupportedDocks = [dkStandardDock, dkMultiDock]
TabOrder = 0 TabOrder = 0
object TBXDockablePanel1: TTBXDockablePanel object dxLayoutControl1: TdxLayoutControl
Left = 0 Left = 0
Top = 259 Top = 0
MaxClientHeight = 50 Width = 336
Align = alBottom Height = 467
Caption = 'TBXDockablePanel1' Align = alClient
FloatingWidth = 128
FloatingHeight = 128
SupportedDocks = [dkStandardDock, dkMultiDock]
TabOrder = 0 TabOrder = 0
ExplicitTop = 181 TabStop = False
ExplicitWidth = 150 AutoContentSizes = [acsWidth, acsHeight]
ExplicitHeight = 128 LookAndFeel = dxLayoutOfficeLookAndFeel1
ExplicitHeight = 105
object TBXButton1: TTBXButton object TBXButton1: TTBXButton
Left = 16 Left = 11
Top = 12 Top = 432
Width = 121 Width = 121
Height = 24 Height = 24
Action = actRefrescar Action = actRefrescar
@ -79,6 +77,29 @@ inherited fEditorInformeBase: TfEditorInformeBase
Images = SmallImages Images = SmallImages
TabOrder = 0 TabOrder = 0
end end
object dxLayoutControl1Group_Root: TdxLayoutGroup
ShowCaption = False
Hidden = True
ShowBorder = False
object dxLayoutControlGroupRefrescar: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avBottom
Caption = 'Refrescar'
ShowCaption = False
ShowBorder = False
object dxLayoutControlItemRefrescar: TdxLayoutItem
Caption = 'Actualizar'
ShowCaption = False
Control = TBXButton1
ControlOptions.ShowBorder = False
end
end
object dxLayoutControlGroupFiltros: TdxLayoutGroup
Caption = 'Filtros'
ShowCaption = False
ShowBorder = False
end
end
end end
end end
end end
@ -125,4 +146,17 @@ inherited fEditorInformeBase: TfEditorInformeBase
Left = 280 Left = 280
Top = 152 Top = 152
end end
object dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList
Left = 120
Top = 24
object dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel
GroupOptions.CaptionOptions.Font.Charset = DEFAULT_CHARSET
GroupOptions.CaptionOptions.Font.Color = clWindowText
GroupOptions.CaptionOptions.Font.Height = -11
GroupOptions.CaptionOptions.Font.Name = 'Tahoma'
GroupOptions.CaptionOptions.Font.Style = [fsBold]
GroupOptions.CaptionOptions.TextColor = clHighlight
GroupOptions.CaptionOptions.UseDefaultFont = False
end
end
end end

View File

@ -10,15 +10,22 @@ uses
JvAppRegistryStorage, JvComponentBase, JvFormPlacement, ImgList, PngImageList, JvAppRegistryStorage, JvComponentBase, JvFormPlacement, ImgList, PngImageList,
StdActns, ActnList, ComCtrls, JvExComCtrls, JvStatusBar, TB2ExtItems, StdActns, ActnList, ComCtrls, JvExComCtrls, JvStatusBar, TB2ExtItems,
TBXExtItems, TBX, TB2Item, TB2Dock, TB2Toolbar, pngimage, ExtCtrls, TBXExtItems, TBX, TB2Item, TB2Dock, TB2Toolbar, pngimage, ExtCtrls,
JvExControls, JvNavigationPane, uIEditorInformeBase, TBXDkPanels, frxExportCSV; JvExControls, JvNavigationPane, uIEditorInformeBase, TBXDkPanels, frxExportCSV,
dxLayoutLookAndFeels, dxLayoutControl, cxControls;
type type
TfEditorInformeBase = class(TfEditorPreview, IEditorInformeBase) TfEditorInformeBase = class(TfEditorPreview, IEditorInformeBase)
TBXMultiDockIzquierdo: TTBXMultiDock; TBXMultiDockIzquierdo: TTBXMultiDock;
TBXMultiDockDerecho: TTBXMultiDock; TBXMultiDockDerecho: TTBXMultiDock;
pnlParametros: TTBXDockablePanel; pnlParametros: TTBXDockablePanel;
TBXDockablePanel1: TTBXDockablePanel;
TBXButton1: TTBXButton; TBXButton1: TTBXButton;
dxLayoutControl1Group_Root: TdxLayoutGroup;
dxLayoutControl1: TdxLayoutControl;
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel;
dxLayoutControlGroupFiltros: TdxLayoutGroup;
dxLayoutControlItemRefrescar: TdxLayoutItem;
dxLayoutControlGroupRefrescar: TdxLayoutGroup;
private private
{ Private declarations } { Private declarations }
public public

View File

@ -1,9 +1,9 @@
inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturasClientePendientesReport inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturasClientePendientesReport
Caption = 'fEditorInformeFacturasClientePendientesReport' Caption = 'fEditorInformeFacturasClientePendientesReport'
ClientHeight = 655 ClientHeight = 844
ClientWidth = 895 ClientWidth = 895
ExplicitWidth = 903 ExplicitWidth = 903
ExplicitHeight = 689 ExplicitHeight = 878
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
inherited JvNavPanelHeader: TJvNavPanelHeader inherited JvNavPanelHeader: TJvNavPanelHeader
@ -21,7 +21,7 @@ inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturas
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -30,198 +30,211 @@ inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturas
end end
end end
inherited StatusBar: TJvStatusBar inherited StatusBar: TJvStatusBar
Top = 636 Top = 825
Width = 895 Width = 895
ExplicitTop = 636 ExplicitTop = 825
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 709
ExplicitHeight = 534 ExplicitHeight = 709
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 535
Width = 192 Width = 360
Height = 534 Height = 709
ExplicitLeft = 703 ExplicitLeft = 535
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 709
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 693
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 670
Width = 188 ExplicitWidth = 356
Height = 136 ExplicitHeight = 670
Align = alTop inline frViewFiltroClientes1: TfrViewFiltroClientes [0]
Left = 11
Top = 282
Width = 335
Height = 180
HelpContext = 160
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 136
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 72
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 72
ExplicitWidth = 100
Width = 100
end
inherited edtFechaIni: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 100
Width = 100
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
Visible = False
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 99
Width = 99
end
inherited edtFechaVenIni: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368
ExplicitWidth = 188
inherited TBXButton1: TTBXButton
AlignWithMargins = True
Left = 3
Top = 3
Width = 182
Height = 37
Margins.Left = 8
Margins.Top = 8
Margins.Right = 8
Margins.Bottom = 8
Align = alTop
ExplicitLeft = 3
ExplicitTop = 3
ExplicitWidth = 182
ExplicitHeight = 37
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0
Top = 136
Width = 188
Height = 77
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 136 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 282
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 180
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 180
ExplicitWidth = 335
ExplicitHeight = 180
inherited rbTodosClientes: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited cbxDesglosado: TCheckBox
Width = 182 Width = 338
ExplicitWidth = 182 ParentColor = False
inherited eImporte: TcxSpinEdit ExplicitWidth = 338
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end end
inherited rbUnCliente: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
end inherited edtCliente: TcxTextEdit
inline frViewFiltroClientes1: TfrViewFiltroClientes ExplicitWidth = 141
Left = 0 Width = 141
Top = 213
Width = 188
Height = 146
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitTop = 213
ExplicitWidth = 188
ExplicitHeight = 146
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end end
inherited bElegirCliente: TBitBtn inherited bElegirCliente: TBitBtn
Width = 108 Width = 108
ExplicitWidth = 108 ExplicitWidth = 108
end end
inherited edtCliente: TcxTextEdit end
Style.LookAndFeel.SkinName = '' end
StyleDisabled.LookAndFeel.SkinName = '' inherited TBXButton1: TTBXButton [1]
StyleFocused.LookAndFeel.SkinName = '' Left = 22
StyleHot.LookAndFeel.SkinName = '' Top = 630
ExplicitWidth = 141 ExplicitLeft = 22
Width = 141 ExplicitTop = 630
end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 1
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 11
ExplicitWidth = 335
ExplicitHeight = 250
inherited dxLayoutControl1: TdxLayoutControl
Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end
inherited edtFechaFin: TcxDateEdit
ExplicitWidth = 362
Width = 362
end
inherited cbPeriodo: TcxComboBox
ExplicitWidth = 429
Width = 429
end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 11
Top = 478
Width = 335
Height = 120
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 478
ExplicitWidth = 335
ExplicitHeight = 120
inherited dxLayoutControl1: TdxLayoutControl
Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Clientes:'
ShowCaption = False
Control = frViewFiltroClientes1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end
end
end end
end end
end end

View File

@ -15,7 +15,8 @@ uses
uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeBase, uViewParametrosInforme,
uIEditorInformeFacturasClientePendientesReport; uIEditorInformeFacturasClientePendientesReport, frxExportCSV,
dxLayoutLookAndFeels;
type type
TfEditorInformeFacturasClientePendientesReport = class(TfEditorInformeBase, IEditorInformeFacturasClientePendientesReport) TfEditorInformeFacturasClientePendientesReport = class(TfEditorInformeBase, IEditorInformeFacturasClientePendientesReport)
@ -23,6 +24,9 @@ type
frViewPeriodoFechas1: TfrViewPeriodoFechas; frViewPeriodoFechas1: TfrViewPeriodoFechas;
frViewFiltroImportes1: TfrViewFiltroImportes; frViewFiltroImportes1: TfrViewFiltroImportes;
frViewFiltroClientes1: TfrViewFiltroClientes; frViewFiltroClientes1: TfrViewFiltroClientes;
dxLayoutControl1Item1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutControl1Item3: TdxLayoutItem;
procedure actRefrescarExecute(Sender: TObject); procedure actRefrescarExecute(Sender: TObject);
private private
FListaIDClientes: TIntegerArray; FListaIDClientes: TIntegerArray;

View File

@ -1,9 +1,9 @@
inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteReport inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteReport
Caption = 'fEditorInformeFacturasClienteReport' Caption = 'fEditorInformeFacturasClienteReport'
ClientHeight = 655 ClientHeight = 826
ClientWidth = 895 ClientWidth = 895
ExplicitWidth = 903 ExplicitWidth = 903
ExplicitHeight = 689 ExplicitHeight = 860
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
inherited JvNavPanelHeader: TJvNavPanelHeader inherited JvNavPanelHeader: TJvNavPanelHeader
@ -21,7 +21,7 @@ inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteRep
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -30,206 +30,202 @@ inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteRep
end end
end end
inherited StatusBar: TJvStatusBar inherited StatusBar: TJvStatusBar
Top = 636 Top = 807
Width = 895 Width = 895
ExplicitTop = 636 ExplicitTop = 807
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 691
ExplicitHeight = 534 ExplicitHeight = 691
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 535
Width = 192 Width = 360
Height = 534 Height = 691
ExplicitLeft = 703 ExplicitLeft = 535
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 691
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 675
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 652
Width = 188 ExplicitWidth = 356
Height = 136 ExplicitHeight = 652
Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 136
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
Height = 98
ExplicitWidth = 182
ExplicitHeight = 98
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 74
Top = 77
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 74
ExplicitTop = 77
ExplicitWidth = 99
Width = 99
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Top = 136
Width = 182
Visible = False
ExplicitTop = 136
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 99
Width = 99
end
inherited edtFechaVenIni: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2
ExplicitTop = 368
ExplicitWidth = 188
inherited TBXButton1: TTBXButton inherited TBXButton1: TTBXButton
AlignWithMargins = True Top = 617
Left = 3 ExplicitTop = 617
Top = 3
Width = 182
Height = 37
Margins.Left = 8
Margins.Top = 8
Margins.Right = 8
Margins.Bottom = 8
Align = alTop
ExplicitLeft = 3
ExplicitTop = 3
ExplicitWidth = 182
ExplicitHeight = 37
end end
end inline frViewPeriodoFechas1: TfrViewPeriodoFechas [1]
inline frViewFiltroImportes1: TfrViewFiltroImportes Left = 11
Left = 0 Top = 11
Top = 136 Width = 313
Width = 188 Height = 250
Height = 77 Color = clBtnFace
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 136 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 11
ExplicitHeight = 77 ExplicitWidth = 313
inherited TBXLabel2: TTBXLabel ExplicitHeight = 250
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 313
Height = 250
ExplicitWidth = 313
ExplicitHeight = 250
DesignSize = (
313
250)
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end
inherited edtFechaFin: TcxDateEdit
ExplicitWidth = 362
Width = 362
end
inherited cbPeriodo: TcxComboBox
ExplicitWidth = 429
Width = 429
end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 11
Top = 453
Width = 334
Height = 120
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 453
ExplicitWidth = 334
ExplicitHeight = 120
inherited dxLayoutControl1: TdxLayoutControl
Width = 334
Height = 120
ExplicitWidth = 334
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited eImporte: TcxSpinEdit inherited eImporte: TcxSpinEdit
Style.LookAndFeel.SkinName = '' ExplicitWidth = 142
StyleDisabled.LookAndFeel.SkinName = '' Width = 142
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end end
end end
end end
inline frViewFiltroClientes1: TfrViewFiltroClientes inline frViewFiltroClientes1: TfrViewFiltroClientes
Left = 0 Left = 11
Top = 213 Top = 267
Width = 188 Width = 313
Height = 146 Height = 180
Align = alTop Color = clBtnFace
AutoSize = True
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 3 TabOrder = 2
ReadOnly = False ReadOnly = False
ExplicitTop = 213 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 267
ExplicitHeight = 146 ExplicitWidth = 313
inherited TBXLabel2: TTBXLabel ExplicitHeight = 180
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 313
Height = 180
ExplicitWidth = 313
ExplicitHeight = 180
inherited rbTodosClientes: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end
inherited cbxDesglosado: TCheckBox
Width = 338
ParentColor = False
ExplicitWidth = 338
end
inherited rbUnCliente: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end
inherited edtCliente: TcxTextEdit
ExplicitWidth = 141
Width = 141
end end
inherited bElegirCliente: TBitBtn inherited bElegirCliente: TBitBtn
Width = 108 Width = 108
ExplicitWidth = 108 ExplicitWidth = 108
end end
inherited edtCliente: TcxTextEdit end
Style.LookAndFeel.SkinName = '' end
StyleDisabled.LookAndFeel.SkinName = '' inherited dxLayoutControl1Group_Root: TdxLayoutGroup
StyleFocused.LookAndFeel.SkinName = '' inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
StyleHot.LookAndFeel.SkinName = '' object dxLayoutControl1Item1: TdxLayoutItem
ExplicitWidth = 141 AutoAligns = [aaHorizontal]
Width = 141 Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
Caption = 'Clientes:'
ShowCaption = False
Control = frViewFiltroClientes1
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
end
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeFacturasClienteReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeFacturasClienteReport,
frxExportCSV, dxLayoutLookAndFeels;
type type
TfEditorInformeFacturasClienteReport = class(TfEditorInformeBase, IEditorInformeFacturasClienteReport) TfEditorInformeFacturasClienteReport = class(TfEditorInformeBase, IEditorInformeFacturasClienteReport)
@ -22,6 +23,9 @@ type
frViewPeriodoFechas1: TfrViewPeriodoFechas; frViewPeriodoFechas1: TfrViewPeriodoFechas;
frViewFiltroImportes1: TfrViewFiltroImportes; frViewFiltroImportes1: TfrViewFiltroImportes;
frViewFiltroClientes1: TfrViewFiltroClientes; frViewFiltroClientes1: TfrViewFiltroClientes;
dxLayoutControl1Item1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutControl1Item3: TdxLayoutItem;
procedure actRefrescarExecute(Sender: TObject); procedure actRefrescarExecute(Sender: TObject);
private private
FListaIDClientes: TIntegerArray; FListaIDClientes: TIntegerArray;

View File

@ -1,27 +1,27 @@
inherited fEditorInformeFacturasProveedorPendientesReport: TfEditorInformeFacturasProveedorPendientesReport inherited fEditorInformeFacturasProveedorPendientesReport: TfEditorInformeFacturasProveedorPendientesReport
Caption = 'fEditorInformeFacturasProveedorPendientesReport' Caption = 'fEditorInformeFacturasProveedorPendientesReport'
ClientHeight = 655 ClientHeight = 843
ClientWidth = 895 ClientWidth = 1035
ExplicitWidth = 903 ExplicitWidth = 1043
ExplicitHeight = 689 ExplicitHeight = 877
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
inherited JvNavPanelHeader: TJvNavPanelHeader inherited JvNavPanelHeader: TJvNavPanelHeader
Width = 895 Width = 1035
ExplicitWidth = 895 ExplicitWidth = 1035
inherited Image1: TImage inherited Image1: TImage
Left = 868 Left = 1008
ExplicitLeft = 868 ExplicitLeft = 868
end end
end end
inherited TBXDock: TTBXDock inherited TBXDock: TTBXDock
Width = 895 Width = 1035
ExplicitWidth = 895 ExplicitWidth = 1035
inherited tbxMenu: TTBXToolbar inherited tbxMenu: TTBXToolbar
ExplicitWidth = 895 ExplicitWidth = 1035
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -30,205 +30,195 @@ inherited fEditorInformeFacturasProveedorPendientesReport: TfEditorInformeFactur
end end
end end
inherited StatusBar: TJvStatusBar inherited StatusBar: TJvStatusBar
Top = 636 Top = 824
Width = 895 Width = 1035
ExplicitTop = 636 ExplicitTop = 824
ExplicitWidth = 895 ExplicitWidth = 1035
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 708
ExplicitHeight = 534 ExplicitHeight = 708
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 675
Width = 192 Width = 360
Height = 534 Height = 708
ExplicitLeft = 703 ExplicitLeft = 675
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 708
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 692
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 669
Width = 188 ExplicitWidth = 356
Height = 240 ExplicitHeight = 669
inline frViewFiltroProveedores1: TfrViewFiltroProveedores [0]
Left = 11
Top = 284
Width = 451
Height = 173
Align = alTop Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 240
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaVenIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368 ReadOnly = False
ExplicitWidth = 188 ExplicitLeft = 11
inherited TBXButton1: TTBXButton ExplicitTop = 284
AlignWithMargins = True inherited dxLayoutControl1: TdxLayoutControl
Left = 3 inherited rbTodosProveedores: TRadioButton
Top = 3 Width = 195
Width = 182 ParentColor = False
Height = 37 ExplicitWidth = 195
Margins.Left = 8 end
Margins.Top = 8 inherited cbxDesglosado: TCheckBox
Margins.Right = 8 Width = 158
Margins.Bottom = 8 ParentColor = False
Align = alTop ExplicitWidth = 158
ExplicitLeft = 3 end
ExplicitTop = 3 inherited rbUnProveedor: TRadioButton
ExplicitWidth = 182 Width = 175
ExplicitHeight = 37 ParentColor = False
ExplicitWidth = 175
end
inherited edtProveedor: TcxTextEdit
ExplicitWidth = 607
Width = 607
end
inherited bElegirProveedor: TBitBtn
Width = 574
ExplicitWidth = 574
end end
end end
inline frViewFiltroImportes1: TfrViewFiltroImportes end
Left = 0 inherited TBXButton1: TTBXButton [1]
Top = 240 Left = 22
Width = 188 Top = 629
Height = 77 ExplicitLeft = 22
Align = alTop ExplicitTop = 629
AutoSize = True end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 240 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 11
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 250
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited edtFechaFin: TcxDateEdit
Width = 182 ExplicitWidth = 362
ExplicitWidth = 182 Width = 362
inherited eImporte: TcxSpinEdit end
Style.LookAndFeel.SkinName = '' inherited cbPeriodo: TcxComboBox
StyleDisabled.LookAndFeel.SkinName = '' ExplicitWidth = 429
StyleFocused.LookAndFeel.SkinName = '' Width = 429
StyleHot.LookAndFeel.SkinName = '' end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end end
end end
end end
inline frViewFiltroProveedores1: TfrViewFiltroProveedores inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0 Left = 11
Top = 317 Top = 475
Width = 188 Width = 335
Height = 146 Height = 120
Align = alTop Align = alClient
AutoSize = True Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 3 TabOrder = 3
ReadOnly = False ReadOnly = False
ExplicitTop = 317 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 475
ExplicitHeight = 146 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 120
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Proveedores:'
ShowCaption = False
Control = frViewFiltroProveedores1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end end
inherited bElegirProveedor: TBitBtn
Width = 108
ExplicitWidth = 108
end end
inherited edtProveedor: TcxTextEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 141
Width = 141
end end
end end
end end

View File

@ -15,7 +15,8 @@ uses
uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeBase, uViewParametrosInforme,
uIEditorInformeFacturasProveedorPendientesReport; uIEditorInformeFacturasProveedorPendientesReport, dxLayoutLookAndFeels,
frxExportCSV;
type type
TfEditorInformeFacturasProveedorPendientesReport = class(TfEditorInformeBase, IEditorInformeFacturasProveedorPendientesReport) TfEditorInformeFacturasProveedorPendientesReport = class(TfEditorInformeBase, IEditorInformeFacturasProveedorPendientesReport)

View File

@ -21,7 +21,7 @@ inherited fEditorInformeFacturasProveedorReport: TfEditorInformeFacturasProveedo
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -36,199 +36,189 @@ inherited fEditorInformeFacturasProveedorReport: TfEditorInformeFacturasProveedo
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 520
ExplicitHeight = 534 ExplicitHeight = 520
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 675
Width = 192 Width = 360
Height = 534 Height = 708
ExplicitLeft = 703 ExplicitLeft = 675
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 708
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 692
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 669
Width = 188 ExplicitWidth = 356
Height = 240 ExplicitHeight = 669
inline frViewFiltroProveedores1: TfrViewFiltroProveedores [0]
Left = 11
Top = 284
Width = 451
Height = 173
Align = alTop Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 240
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 77
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 77
ExplicitWidth = 96
Width = 96
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Left = 77
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 77
ExplicitWidth = 96
Width = 96
end
inherited edtFechaVenIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368 ReadOnly = False
ExplicitWidth = 188 ExplicitLeft = 11
inherited TBXButton1: TTBXButton ExplicitTop = 284
AlignWithMargins = True inherited dxLayoutControl1: TdxLayoutControl
Left = 3 inherited rbTodosProveedores: TRadioButton
Top = 3 Width = 195
Width = 182 ParentColor = False
Height = 37 ExplicitWidth = 195
Margins.Left = 8 end
Margins.Top = 8 inherited cbxDesglosado: TCheckBox
Margins.Right = 8 Width = 158
Margins.Bottom = 8 ParentColor = False
Align = alTop ExplicitWidth = 158
ExplicitLeft = 3 end
ExplicitTop = 3 inherited rbUnProveedor: TRadioButton
ExplicitWidth = 182 Width = 175
ExplicitHeight = 37 ParentColor = False
ExplicitWidth = 175
end
inherited edtProveedor: TcxTextEdit
ExplicitWidth = 607
Width = 607
end
inherited bElegirProveedor: TBitBtn
Width = 574
ExplicitWidth = 574
end end
end end
inline frViewFiltroImportes1: TfrViewFiltroImportes end
Left = 0 inherited TBXButton1: TTBXButton [1]
Top = 240 Left = 22
Width = 188 Top = 629
Height = 77 ExplicitLeft = 22
Align = alTop ExplicitTop = 629
AutoSize = True end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 240 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 11
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 250
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited edtFechaFin: TcxDateEdit
Width = 182 ExplicitWidth = 362
ExplicitWidth = 182 Width = 362
inherited eImporte: TcxSpinEdit end
Style.LookAndFeel.SkinName = '' inherited cbPeriodo: TcxComboBox
StyleDisabled.LookAndFeel.SkinName = '' ExplicitWidth = 429
StyleFocused.LookAndFeel.SkinName = '' Width = 429
StyleHot.LookAndFeel.SkinName = '' end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end end
end end
end end
inline frViewFiltroProveedores1: TfrViewFiltroProveedores inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0 Left = 11
Top = 317 Top = 475
Width = 188 Width = 335
Height = 146 Height = 120
Align = alTop Align = alClient
AutoSize = True Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 3 TabOrder = 3
ReadOnly = False ReadOnly = False
ExplicitTop = 317 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 475
ExplicitHeight = 146 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 120
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Proveedores:'
ShowCaption = False
Control = frViewFiltroProveedores1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end end
inherited bElegirProveedor: TBitBtn
Width = 108
ExplicitWidth = 108
end end
inherited edtProveedor: TcxTextEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 141
Width = 141
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeFacturasProveedorReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeFacturasProveedorReport,
dxLayoutLookAndFeels, frxExportCSV;
type type
TfEditorInformeFacturasProveedorReport = class(TfEditorInformeBase, IEditorInformeFacturasProveedorReport) TfEditorInformeFacturasProveedorReport = class(TfEditorInformeBase, IEditorInformeFacturasProveedorReport)

View File

@ -1,24 +1,24 @@
inherited fEditorInformeIVAClientesReport: TfEditorInformeIVAClientesReport inherited fEditorInformeIVAClientesReport: TfEditorInformeIVAClientesReport
Caption = 'fEditorInformeIVAClientesReport' Caption = 'fEditorInformeIVAClientesReport'
ClientHeight = 655 ClientHeight = 796
ClientWidth = 895 ClientWidth = 950
ExplicitWidth = 903 ExplicitWidth = 958
ExplicitHeight = 689 ExplicitHeight = 830
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
inherited JvNavPanelHeader: TJvNavPanelHeader inherited JvNavPanelHeader: TJvNavPanelHeader
Width = 895 Width = 950
ExplicitWidth = 895 ExplicitWidth = 950
inherited Image1: TImage inherited Image1: TImage
Left = 868 Left = 923
ExplicitLeft = 868 ExplicitLeft = 868
end end
end end
inherited TBXDock: TTBXDock inherited TBXDock: TTBXDock
Width = 895 Width = 950
ExplicitWidth = 895 ExplicitWidth = 950
inherited tbxMenu: TTBXToolbar inherited tbxMenu: TTBXToolbar
ExplicitWidth = 895 ExplicitWidth = 950
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 678 ExplicitWidth = 678
@ -30,201 +30,206 @@ inherited fEditorInformeIVAClientesReport: TfEditorInformeIVAClientesReport
end end
end end
inherited StatusBar: TJvStatusBar inherited StatusBar: TJvStatusBar
Top = 636 Top = 777
Width = 895 Width = 950
ExplicitTop = 636 ExplicitTop = 777
ExplicitWidth = 895 ExplicitWidth = 950
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 520 Height = 661
ExplicitHeight = 520 ExplicitHeight = 661
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 660 Left = 590
Width = 235 Width = 360
Height = 520 Height = 661
ExplicitLeft = 660 ExplicitLeft = 590
ExplicitWidth = 235 ExplicitWidth = 360
ExplicitHeight = 520 ExplicitHeight = 661
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 231 DockedWidth = 356
ExplicitWidth = 235 ExplicitWidth = 360
ExplicitHeight = 504 ExplicitHeight = 645
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 622
Width = 231 ExplicitWidth = 356
Height = 136 ExplicitHeight = 622
Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 136
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 225
ExplicitWidth = 182
inherited Label3: TLabel
Width = 215
end
inherited edtFechaFin: TcxDateEdit
Left = 77
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 77
ExplicitWidth = 96
Width = 139
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 140
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 213
end
end
inherited TBXLabel2: TTBXLabel
Width = 231
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 225
Visible = False
ExplicitWidth = 182
inherited Label4: TLabel
Width = 215
end
inherited edtFechaVenFin: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 99
Width = 142
end
inherited edtFechaVenIni: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 97
Width = 140
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
Width = 472
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 431
TabOrder = 2
ExplicitTop = 353
ExplicitWidth = 188
inherited TBXButton1: TTBXButton inherited TBXButton1: TTBXButton
AlignWithMargins = True Top = 589
Left = 3 Width = 121
Top = 3 ExplicitTop = 589
Width = 225 ExplicitWidth = 121
Height = 37
Margins.Left = 8
Margins.Top = 8
Margins.Right = 8
Margins.Bottom = 8
Align = alTop
ExplicitLeft = 3
ExplicitTop = 3
ExplicitWidth = 182
ExplicitHeight = 37
end end
end inline frViewFiltroClientes1: TfrViewFiltroClientes [1]
inline frViewFiltroImportes1: TfrViewFiltroImportes Left = 11
Left = 0 Top = 282
Top = 136 Width = 334
Width = 231 Height = 175
Height = 77 Color = clBtnFace
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 2
ReadOnly = False ReadOnly = False
ExplicitTop = 136 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 282
ExplicitHeight = 77 ExplicitWidth = 334
inherited TBXLabel2: TTBXLabel ExplicitHeight = 175
Width = 231 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 334
Height = 175
ExplicitWidth = 334
ExplicitHeight = 175
inherited rbTodosClientes: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited cbxDesglosado: TCheckBox
Width = 225 Width = 338
ExplicitWidth = 182 ParentColor = False
inherited eImporte: TcxSpinEdit ExplicitWidth = 338
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end end
inherited rbUnCliente: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
end inherited edtCliente: TcxTextEdit
inline frViewFiltroClientes1: TfrViewFiltroClientes ExplicitWidth = 184
Left = 0 Width = 184
Top = 213
Width = 231
Height = 146
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitTop = 213
ExplicitWidth = 188
ExplicitHeight = 146
inherited TBXLabel2: TTBXLabel
Width = 231
ExplicitWidth = 188
end end
inherited bElegirCliente: TBitBtn inherited bElegirCliente: TBitBtn
Width = 151 Width = 151
ExplicitWidth = 108 ExplicitWidth = 151
end
end
end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 334
Height = 265
HelpContext = 265
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 1
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 11
ExplicitWidth = 334
ExplicitHeight = 265
inherited dxLayoutControl1: TdxLayoutControl
Width = 334
Height = 265
ExplicitWidth = 291
ExplicitHeight = 260
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end
inherited edtFechaFin: TcxDateEdit
ExplicitWidth = 362
Width = 362
end
inherited cbPeriodo: TcxComboBox
ExplicitWidth = 429
Width = 429
end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 11
Top = 463
Width = 313
Height = 120
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 463
ExplicitWidth = 313
ExplicitHeight = 120
inherited dxLayoutControl1: TdxLayoutControl
Width = 313
Height = 120
ExplicitWidth = 313
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Clientes:'
ShowCaption = False
Control = frViewFiltroClientes1
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
end end
inherited edtCliente: TcxTextEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 141
Width = 184
end end
end end
end end

View File

@ -15,7 +15,7 @@ uses
uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeIVAClientesReport, uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeIVAClientesReport,
frxExportCSV; frxExportCSV, dxLayoutLookAndFeels;
type type
TfEditorInformeIVAClientesReport = class(TfEditorInformeBase, IEditorInformeIVAClientesReport) TfEditorInformeIVAClientesReport = class(TfEditorInformeBase, IEditorInformeIVAClientesReport)
@ -23,6 +23,9 @@ type
frViewPeriodoFechas1: TfrViewPeriodoFechas; frViewPeriodoFechas1: TfrViewPeriodoFechas;
frViewFiltroImportes1: TfrViewFiltroImportes; frViewFiltroImportes1: TfrViewFiltroImportes;
frViewFiltroClientes1: TfrViewFiltroClientes; frViewFiltroClientes1: TfrViewFiltroClientes;
dxLayoutControl1Item1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutControl1Item3: TdxLayoutItem;
procedure actRefrescarExecute(Sender: TObject); procedure actRefrescarExecute(Sender: TObject);
private private
FListaIDClientes: TIntegerArray; FListaIDClientes: TIntegerArray;

View File

@ -21,7 +21,7 @@ inherited fEditorInformeIVAProveedoresReport: TfEditorInformeIVAProveedoresRepor
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -36,194 +36,189 @@ inherited fEditorInformeIVAProveedoresReport: TfEditorInformeIVAProveedoresRepor
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 520
ExplicitHeight = 534 ExplicitHeight = 520
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 675
Width = 192 Width = 360
Height = 534 Height = 708
ExplicitLeft = 703 ExplicitLeft = 675
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 708
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 692
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 669
Width = 188 ExplicitWidth = 356
Height = 136 ExplicitHeight = 669
inline frViewFiltroProveedores1: TfrViewFiltroProveedores [0]
Left = 11
Top = 284
Width = 451
Height = 173
Align = alTop Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 136
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
Visible = False
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 99
Width = 99
end
inherited edtFechaVenIni: TcxDateEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368 ReadOnly = False
ExplicitWidth = 188 ExplicitLeft = 11
inherited TBXButton1: TTBXButton ExplicitTop = 284
AlignWithMargins = True inherited dxLayoutControl1: TdxLayoutControl
Left = 3 inherited rbTodosProveedores: TRadioButton
Top = 3 Width = 195
Width = 182 ParentColor = False
Height = 37 ExplicitWidth = 195
Margins.Left = 8 end
Margins.Top = 8 inherited cbxDesglosado: TCheckBox
Margins.Right = 8 Width = 158
Margins.Bottom = 8 ParentColor = False
Align = alTop ExplicitWidth = 158
ExplicitLeft = 3 end
ExplicitTop = 3 inherited rbUnProveedor: TRadioButton
ExplicitWidth = 182 Width = 175
ExplicitHeight = 37 ParentColor = False
ExplicitWidth = 175
end
inherited edtProveedor: TcxTextEdit
ExplicitWidth = 607
Width = 607
end
inherited bElegirProveedor: TBitBtn
Width = 574
ExplicitWidth = 574
end end
end end
inline frViewFiltroImportes1: TfrViewFiltroImportes end
Left = 0 inherited TBXButton1: TTBXButton [1]
Top = 136 Left = 22
Width = 188 Top = 629
Height = 77 ExplicitLeft = 22
Align = alTop ExplicitTop = 629
AutoSize = True end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 136 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 11
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 250
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited edtFechaFin: TcxDateEdit
Width = 182 ExplicitWidth = 362
ExplicitWidth = 182 Width = 362
inherited eImporte: TcxSpinEdit end
Style.LookAndFeel.SkinName = '' inherited cbPeriodo: TcxComboBox
StyleDisabled.LookAndFeel.SkinName = '' ExplicitWidth = 429
StyleFocused.LookAndFeel.SkinName = '' Width = 429
StyleHot.LookAndFeel.SkinName = '' end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end end
end end
end end
inline frViewFiltroProveedores1: TfrViewFiltroProveedores inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0 Left = 11
Top = 213 Top = 475
Width = 188 Width = 335
Height = 146 Height = 120
Align = alTop Align = alClient
AutoSize = True Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 3 TabOrder = 3
ReadOnly = False ReadOnly = False
ExplicitTop = 213 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 475
ExplicitHeight = 146 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 120
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Proveedores:'
ShowCaption = False
Control = frViewFiltroProveedores1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end end
inherited bElegirProveedor: TBitBtn
Width = 108
ExplicitWidth = 108
end end
inherited edtProveedor: TcxTextEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 141
Width = 141
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeIVAProveedoresReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeIVAProveedoresReport,
dxLayoutLookAndFeels, frxExportCSV;
type type
TfEditorInformeIVAProveedoresReport = class(TfEditorInformeBase, IEditorInformeIVAProveedoresReport) TfEditorInformeIVAProveedoresReport = class(TfEditorInformeBase, IEditorInformeIVAProveedoresReport)

View File

@ -21,7 +21,7 @@ inherited fEditorInformeRecibosCliPendientesReport: TfEditorInformeRecibosCliPen
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -36,199 +36,205 @@ inherited fEditorInformeRecibosCliPendientesReport: TfEditorInformeRecibosCliPen
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 520
ExplicitHeight = 534 ExplicitHeight = 520
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 535
Width = 192 Width = 360
Height = 534 Height = 709
ExplicitLeft = 703 ExplicitLeft = 535
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 709
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 693
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 670
Width = 188 ExplicitWidth = 356
Height = 240 ExplicitHeight = 670
Align = alTop inline frViewFiltroClientes1: TfrViewFiltroClientes [0]
Left = 11
Top = 282
Width = 335
Height = 180
HelpContext = 160
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 240
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaVenIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368
ExplicitWidth = 188
inherited TBXButton1: TTBXButton
AlignWithMargins = True
Left = 3
Top = 3
Width = 182
Height = 37
Margins.Left = 8
Margins.Top = 8
Margins.Right = 8
Margins.Bottom = 8
Align = alTop
ExplicitLeft = 3
ExplicitTop = 3
ExplicitWidth = 182
ExplicitHeight = 37
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0
Top = 240
Width = 188
Height = 77
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 240 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 282
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 180
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 180
ExplicitWidth = 335
ExplicitHeight = 180
inherited rbTodosClientes: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited cbxDesglosado: TCheckBox
Width = 182 Width = 338
ExplicitWidth = 182 ParentColor = False
inherited eImporte: TcxSpinEdit ExplicitWidth = 338
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end end
inherited rbUnCliente: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
end inherited edtCliente: TcxTextEdit
inline frViewFiltroClientes1: TfrViewFiltroClientes ExplicitWidth = 141
Left = 0 Width = 141
Top = 317
Width = 188
Height = 146
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitTop = 317
ExplicitWidth = 188
ExplicitHeight = 146
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end end
inherited bElegirCliente: TBitBtn inherited bElegirCliente: TBitBtn
Width = 108 Width = 108
ExplicitWidth = 108 ExplicitWidth = 108
end end
inherited edtCliente: TcxTextEdit end
Style.LookAndFeel.SkinName = '' end
StyleDisabled.LookAndFeel.SkinName = '' inherited TBXButton1: TTBXButton [1]
StyleFocused.LookAndFeel.SkinName = '' Left = 22
StyleHot.LookAndFeel.SkinName = '' Top = 630
ExplicitWidth = 141 ExplicitLeft = 22
Width = 141 ExplicitTop = 630
end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 1
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 11
ExplicitWidth = 335
ExplicitHeight = 250
inherited dxLayoutControl1: TdxLayoutControl
Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end
inherited edtFechaFin: TcxDateEdit
ExplicitWidth = 362
Width = 362
end
inherited cbPeriodo: TcxComboBox
ExplicitWidth = 429
Width = 429
end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 11
Top = 478
Width = 335
Height = 120
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 478
ExplicitWidth = 335
ExplicitHeight = 120
inherited dxLayoutControl1: TdxLayoutControl
Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Clientes:'
ShowCaption = False
Control = frViewFiltroClientes1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end
end
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosCliPendientesReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosCliPendientesReport,
dxLayoutLookAndFeels, frxExportCSV;
type type
TfEditorInformeRecibosCliPendientesReport = class(TfEditorInformeBase, IEditorInformeRecibosCliPendientesReport) TfEditorInformeRecibosCliPendientesReport = class(TfEditorInformeBase, IEditorInformeRecibosCliPendientesReport)

View File

@ -1,27 +1,27 @@
inherited fEditorInformeRecibosClienteReport: TfEditorInformeRecibosClienteReport inherited fEditorInformeRecibosClienteReport: TfEditorInformeRecibosClienteReport
Caption = 'fEditorInformeRecibosClienteReport' Caption = 'fEditorInformeRecibosClienteReport'
ClientHeight = 655 ClientHeight = 818
ClientWidth = 895 ClientWidth = 597
ExplicitWidth = 903 ExplicitWidth = 605
ExplicitHeight = 689 ExplicitHeight = 852
PixelsPerInch = 96 PixelsPerInch = 96
TextHeight = 13 TextHeight = 13
inherited JvNavPanelHeader: TJvNavPanelHeader inherited JvNavPanelHeader: TJvNavPanelHeader
Width = 895 Width = 597
ExplicitWidth = 895 ExplicitWidth = 597
inherited Image1: TImage inherited Image1: TImage
Left = 868 Left = 570
ExplicitLeft = 868 ExplicitLeft = 868
end end
end end
inherited TBXDock: TTBXDock inherited TBXDock: TTBXDock
Width = 895 Width = 597
ExplicitWidth = 895 ExplicitWidth = 597
inherited tbxMenu: TTBXToolbar inherited tbxMenu: TTBXToolbar
ExplicitWidth = 895 ExplicitWidth = 597
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 597
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -30,205 +30,213 @@ inherited fEditorInformeRecibosClienteReport: TfEditorInformeRecibosClienteRepor
end end
end end
inherited StatusBar: TJvStatusBar inherited StatusBar: TJvStatusBar
Top = 636 Top = 799
Width = 895 Width = 597
ExplicitTop = 636 ExplicitTop = 636
ExplicitWidth = 895 ExplicitWidth = 597
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 683
ExplicitHeight = 534 ExplicitHeight = 520
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 237
Width = 192 Width = 360
Height = 534 Height = 683
ExplicitLeft = 703 ExplicitLeft = 237
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 520
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 667
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 644
Width = 188 ExplicitWidth = 356
Height = 240 ExplicitHeight = 481
Align = alTop inline frViewFiltroClientes1: TfrViewFiltroClientes [0]
Left = 11
Top = 270
Width = 335
Height = 180
HelpContext = 160
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 240
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 77
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 77
ExplicitWidth = 96
Width = 96
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaVenIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368
ExplicitWidth = 188
inherited TBXButton1: TTBXButton
AlignWithMargins = True
Left = 3
Top = 3
Width = 182
Height = 37
Margins.Left = 8
Margins.Top = 8
Margins.Right = 8
Margins.Bottom = 8
Align = alTop
ExplicitLeft = 3
ExplicitTop = 3
ExplicitWidth = 182
ExplicitHeight = 37
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0
Top = 240
Width = 188
Height = 77
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 240 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 270
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 180
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 180
ExplicitWidth = 335
ExplicitHeight = 180
inherited rbTodosClientes: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited cbxDesglosado: TCheckBox
Width = 182 Width = 338
ExplicitWidth = 182 ParentColor = False
inherited eImporte: TcxSpinEdit ExplicitWidth = 338
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
end end
inherited rbUnCliente: TRadioButton
Width = 355
ParentColor = False
ExplicitWidth = 355
end end
end inherited edtCliente: TcxTextEdit
inline frViewFiltroClientes1: TfrViewFiltroClientes ExplicitWidth = 141
Left = 0 Width = 141
Top = 317
Width = 188
Height = 146
Align = alTop
AutoSize = True
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitTop = 317
ExplicitWidth = 188
ExplicitHeight = 146
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end end
inherited bElegirCliente: TBitBtn inherited bElegirCliente: TBitBtn
Width = 108 Width = 108
ExplicitWidth = 108 ExplicitWidth = 108
end end
inherited edtCliente: TcxTextEdit end
Style.LookAndFeel.SkinName = '' end
StyleDisabled.LookAndFeel.SkinName = '' inherited TBXButton1: TTBXButton [1]
StyleFocused.LookAndFeel.SkinName = '' Left = 22
StyleHot.LookAndFeel.SkinName = '' Top = 604
ExplicitWidth = 141 Width = 121
Width = 141 ExplicitLeft = 22
ExplicitTop = 604
ExplicitWidth = 121
end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 1
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 11
ExplicitWidth = 335
ExplicitHeight = 250
inherited dxLayoutControl1: TdxLayoutControl
Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end
inherited edtFechaFin: TcxDateEdit
ExplicitWidth = 362
Width = 362
end
inherited cbPeriodo: TcxComboBox
ExplicitWidth = 429
Width = 429
end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end
end
end
inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 11
Top = 458
Width = 335
Height = 120
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False
TabOrder = 3
ReadOnly = False
ExplicitLeft = 11
ExplicitTop = 458
ExplicitWidth = 335
ExplicitHeight = 120
inherited dxLayoutControl1: TdxLayoutControl
Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Clientes:'
ShowCaption = False
Control = frViewFiltroClientes1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end
end
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroClientes, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosClienteReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosClienteReport,
dxLayoutLookAndFeels, frxExportCSV;
type type
TfEditorInformeRecibosClienteReport = class(TfEditorInformeBase, IEditorInformeRecibosClienteReport) TfEditorInformeRecibosClienteReport = class(TfEditorInformeBase, IEditorInformeRecibosClienteReport)

View File

@ -21,7 +21,7 @@ inherited fEditorInformeRecibosProvPendientesReport: TfEditorInformeRecibosProvP
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -36,199 +36,189 @@ inherited fEditorInformeRecibosProvPendientesReport: TfEditorInformeRecibosProvP
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 520
ExplicitHeight = 534 ExplicitHeight = 520
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 675
Width = 192 Width = 360
Height = 534 Height = 708
ExplicitLeft = 703 ExplicitLeft = 675
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 708
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 692
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 669
Width = 188 ExplicitWidth = 356
Height = 240 ExplicitHeight = 669
inline frViewFiltroProveedores1: TfrViewFiltroProveedores [0]
Left = 11
Top = 284
Width = 451
Height = 173
Align = alTop Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 240
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaVenIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368 ReadOnly = False
ExplicitWidth = 188 ExplicitLeft = 11
inherited TBXButton1: TTBXButton ExplicitTop = 284
AlignWithMargins = True inherited dxLayoutControl1: TdxLayoutControl
Left = 3 inherited rbTodosProveedores: TRadioButton
Top = 3 Width = 195
Width = 182 ParentColor = False
Height = 37 ExplicitWidth = 195
Margins.Left = 8 end
Margins.Top = 8 inherited cbxDesglosado: TCheckBox
Margins.Right = 8 Width = 158
Margins.Bottom = 8 ParentColor = False
Align = alTop ExplicitWidth = 158
ExplicitLeft = 3 end
ExplicitTop = 3 inherited rbUnProveedor: TRadioButton
ExplicitWidth = 182 Width = 175
ExplicitHeight = 37 ParentColor = False
ExplicitWidth = 175
end
inherited edtProveedor: TcxTextEdit
ExplicitWidth = 607
Width = 607
end
inherited bElegirProveedor: TBitBtn
Width = 574
ExplicitWidth = 574
end end
end end
inline frViewFiltroImportes1: TfrViewFiltroImportes end
Left = 0 inherited TBXButton1: TTBXButton [1]
Top = 240 Left = 22
Width = 188 Top = 629
Height = 77 ExplicitLeft = 22
Align = alTop ExplicitTop = 629
AutoSize = True end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 240 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 11
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 250
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited edtFechaFin: TcxDateEdit
Width = 182 ExplicitWidth = 362
ExplicitWidth = 182 Width = 362
inherited eImporte: TcxSpinEdit end
Style.LookAndFeel.SkinName = '' inherited cbPeriodo: TcxComboBox
StyleDisabled.LookAndFeel.SkinName = '' ExplicitWidth = 429
StyleFocused.LookAndFeel.SkinName = '' Width = 429
StyleHot.LookAndFeel.SkinName = '' end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end end
end end
end end
inline frViewFiltroProveedores1: TfrViewFiltroProveedores inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0 Left = 11
Top = 317 Top = 475
Width = 188 Width = 335
Height = 146 Height = 120
Align = alTop Align = alClient
AutoSize = True Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 3 TabOrder = 3
ReadOnly = False ReadOnly = False
ExplicitTop = 317 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 475
ExplicitHeight = 146 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 120
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Proveedores:'
ShowCaption = False
Control = frViewFiltroProveedores1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end end
inherited bElegirProveedor: TBitBtn
Width = 108
ExplicitWidth = 108
end end
inherited edtProveedor: TcxTextEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 141
Width = 141
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosProvPendientesReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosProvPendientesReport,
dxLayoutLookAndFeels, frxExportCSV;
type type
TfEditorInformeRecibosProvPendientesReport = class(TfEditorInformeBase, IEditorInformeRecibosProvPendientesReport) TfEditorInformeRecibosProvPendientesReport = class(TfEditorInformeBase, IEditorInformeRecibosProvPendientesReport)

View File

@ -21,7 +21,7 @@ inherited fEditorInformeRecibosProveedorReport: TfEditorInformeRecibosProveedorR
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXToolbar1: TTBXToolbar inherited TBXToolbar1: TTBXToolbar
ExplicitWidth = 591 ExplicitWidth = 678
object TBXItem58: TTBXItem [0] object TBXItem58: TTBXItem [0]
Action = actRefrescar Action = actRefrescar
DisplayMode = nbdmImageAndText DisplayMode = nbdmImageAndText
@ -36,203 +36,189 @@ inherited fEditorInformeRecibosProveedorReport: TfEditorInformeRecibosProveedorR
ExplicitWidth = 895 ExplicitWidth = 895
end end
inherited TBXMultiDockIzquierdo: TTBXMultiDock inherited TBXMultiDockIzquierdo: TTBXMultiDock
Height = 534 Height = 520
ExplicitHeight = 534 ExplicitHeight = 520
end end
inherited TBXMultiDockDerecho: TTBXMultiDock inherited TBXMultiDockDerecho: TTBXMultiDock
Left = 703 Left = 675
Width = 192 Width = 360
Height = 534 Height = 708
ExplicitLeft = 703 ExplicitLeft = 675
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 534 ExplicitHeight = 708
inherited pnlParametros: TTBXDockablePanel inherited pnlParametros: TTBXDockablePanel
DockedWidth = 188 DockedWidth = 356
ExplicitWidth = 192 ExplicitWidth = 360
ExplicitHeight = 518 ExplicitHeight = 692
inline frViewPeriodoFechas1: TfrViewPeriodoFechas [0] inherited dxLayoutControl1: TdxLayoutControl
Left = 0 Width = 356
Top = 0 Height = 669
Width = 188 ExplicitWidth = 356
Height = 240 ExplicitHeight = 669
inline frViewFiltroProveedores1: TfrViewFiltroProveedores [0]
Left = 11
Top = 284
Width = 451
Height = 173
Align = alTop Align = alTop
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
ParentFont = False
TabOrder = 0
ReadOnly = False
ExplicitWidth = 188
ExplicitHeight = 240
inherited TBXAlignmentPanel2: TTBXAlignmentPanel
Width = 182
ExplicitWidth = 182
inherited Label3: TLabel
Width = 172
end
inherited edtFechaFin: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited edtFechaIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
inherited TBXLabel2: TTBXLabel
Width = 188
ExplicitWidth = 188
end
inherited TBXAlignmentPanel3: TTBXAlignmentPanel
Width = 182
Height = 99
ExplicitWidth = 182
ExplicitHeight = 99
inherited Label4: TLabel
Width = 172
end
inherited edtFechaVenFin: TcxDateEdit
Left = 76
Top = 78
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitTop = 78
ExplicitWidth = 97
Width = 97
end
inherited edtFechaVenIni: TcxDateEdit
Left = 76
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitLeft = 76
ExplicitWidth = 97
Width = 97
end
inherited cbPeriodo2: TcxComboBox
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 170
Width = 170
end
end
end
inherited TBXDockablePanel1: TTBXDockablePanel
Top = 368
TabOrder = 2 TabOrder = 2
ExplicitTop = 368 ReadOnly = False
ExplicitWidth = 188 ExplicitLeft = 11
inherited TBXButton1: TTBXButton ExplicitTop = 284
AlignWithMargins = True inherited dxLayoutControl1: TdxLayoutControl
Left = 3 inherited rbTodosProveedores: TRadioButton
Top = 3 Width = 195
Width = 182 ParentColor = False
Height = 37 ExplicitWidth = 195
Margins.Left = 8 end
Margins.Top = 8 inherited cbxDesglosado: TCheckBox
Margins.Right = 8 Width = 158
Margins.Bottom = 8 ParentColor = False
Align = alTop ExplicitWidth = 158
ExplicitLeft = 3 end
ExplicitTop = 3 inherited rbUnProveedor: TRadioButton
ExplicitWidth = 182 Width = 175
ExplicitHeight = 37 ParentColor = False
ExplicitWidth = 175
end
inherited edtProveedor: TcxTextEdit
ExplicitWidth = 607
Width = 607
end
inherited bElegirProveedor: TBitBtn
Width = 574
ExplicitWidth = 574
end end
end end
inline frViewFiltroImportes1: TfrViewFiltroImportes end
Left = 0 inherited TBXButton1: TTBXButton [1]
Top = 240 Left = 22
Width = 188 Top = 629
Height = 77 ExplicitLeft = 22
Align = alTop ExplicitTop = 629
AutoSize = True end
inline frViewPeriodoFechas1: TfrViewPeriodoFechas
Left = 11
Top = 11
Width = 335
Height = 250
Align = alClient
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 1 TabOrder = 1
ReadOnly = False ReadOnly = False
ExplicitTop = 240 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 11
ExplicitHeight = 77 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 250
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 250
ExplicitWidth = 335
ExplicitHeight = 250
inherited edtFechaIni: TcxDateEdit
ExplicitWidth = 360
Width = 360
end end
inherited TBXAlignmentPanel1: TTBXAlignmentPanel inherited edtFechaFin: TcxDateEdit
Width = 182 ExplicitWidth = 362
ExplicitWidth = 182 Width = 362
inherited eImporte: TcxSpinEdit end
Style.LookAndFeel.SkinName = '' inherited cbPeriodo: TcxComboBox
StyleDisabled.LookAndFeel.SkinName = '' ExplicitWidth = 429
StyleFocused.LookAndFeel.SkinName = '' Width = 429
StyleHot.LookAndFeel.SkinName = '' end
inherited edtFechaVenIni: TcxDateEdit
ExplicitWidth = 529
Width = 529
end
inherited edtFechaVenFin: TcxDateEdit
ExplicitWidth = 531
Width = 531
end
inherited cbPeriodo2: TcxComboBox
ExplicitWidth = 598
Width = 598
end end
end end
end end
inline frViewFiltroProveedores1: TfrViewFiltroProveedores inline frViewFiltroImportes1: TfrViewFiltroImportes
Left = 0 Left = 11
Top = 317 Top = 475
Width = 188 Width = 335
Height = 146 Height = 120
Align = alTop Align = alClient
AutoSize = True Color = clBtnFace
Font.Charset = DEFAULT_CHARSET Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText Font.Color = clWindowText
Font.Height = -11 Font.Height = -11
Font.Name = 'Tahoma' Font.Name = 'Tahoma'
Font.Style = [] Font.Style = []
ParentBackground = False
ParentColor = False
ParentFont = False ParentFont = False
TabOrder = 3 TabOrder = 3
ReadOnly = False ReadOnly = False
ExplicitTop = 317 ExplicitLeft = 11
ExplicitWidth = 188 ExplicitTop = 475
ExplicitHeight = 146 ExplicitWidth = 335
inherited TBXLabel2: TTBXLabel ExplicitHeight = 120
Width = 188 inherited dxLayoutControl1: TdxLayoutControl
ExplicitWidth = 188 Width = 335
Height = 120
ExplicitWidth = 335
ExplicitHeight = 120
inherited cbxDesglosado: TCheckBox
Width = 298
ParentColor = False
ExplicitWidth = 298
end
inherited eImporte: TcxSpinEdit
ExplicitWidth = 142
Width = 142
end
end
end
inherited dxLayoutControl1Group_Root: TdxLayoutGroup
inherited dxLayoutControlGroupRefrescar: TdxLayoutGroup
ShowCaption = True
ShowBorder = True
end
inherited dxLayoutControlGroupFiltros: TdxLayoutGroup
AutoAligns = [aaHorizontal]
AlignVert = avClient
object dxLayoutControl1Item2: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Periodo:'
ShowCaption = False
Control = frViewPeriodoFechas1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Proveedores:'
ShowCaption = False
Control = frViewFiltroProveedores1
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
AutoAligns = [aaHorizontal]
AlignVert = avClient
Caption = 'Importes:'
ShowCaption = False
Control = frViewFiltroImportes1
ControlOptions.ShowBorder = False
end end
inherited bElegirProveedor: TBitBtn
Width = 108
ExplicitWidth = 108
end end
inherited edtProveedor: TcxTextEdit
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
ExplicitWidth = 141
Width = 141
end end
end end
end end

View File

@ -14,7 +14,8 @@ uses
uViewBase, uViewPeriodoFechas, uViewBase, uViewPeriodoFechas,
uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes, uViewFiltroProveedores, dxLayoutControl, cxControls, uViewFiltroImportes,
FactuGES_Intf, TBXDkPanels, uEditorInformeBase, FactuGES_Intf, TBXDkPanels, uEditorInformeBase,
uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosProveedorReport; uIEditorInformeBase, uViewParametrosInforme, uIEditorInformeRecibosProveedorReport,
dxLayoutLookAndFeels, frxExportCSV;
type type
TfEditorInformeRecibosProveedorReport = class(TfEditorInformeBase, IEditorInformeRecibosProveedorReport) TfEditorInformeRecibosProveedorReport = class(TfEditorInformeBase, IEditorInformeRecibosProveedorReport)

View File

@ -1,36 +1,77 @@
inherited frViewFiltroClientes: TfrViewFiltroClientes inherited frViewFiltroClientes: TfrViewFiltroClientes
Width = 451 Width = 308
Align = alTop Height = 189
OnCreate = CustomViewCreate OnCreate = CustomViewCreate
OnDestroy = CustomViewDestroy OnDestroy = CustomViewDestroy
ExplicitWidth = 451 ExplicitWidth = 308
DesignSize = ( ExplicitHeight = 189
451 object dxLayoutControl1: TdxLayoutControl
195)
object TBXLabel2: TTBXLabel
Left = 0 Left = 0
Top = 0 Top = 0
Width = 451 Width = 308
Height = 29 Height = 189
Margins.Top = 5 Align = alClient
Margins.Bottom = 10 TabOrder = 0
Align = alTop TabStop = False
Caption = 'Clientes' AutoContentSizes = [acsWidth]
Font.Charset = DEFAULT_CHARSET LookAndFeel = dxLayoutOfficeLookAndFeel1
Font.Color = clWindowText DesignSize = (
Font.Height = -11 308
Font.Name = 'MS Sans Serif' 189)
Font.Style = [fsBold] object rbTodosClientes: TRadioButton
ParentColor = True Left = 22
ParentFont = False Top = 30
Underline = True Width = 355
Height = 17
Caption = 'Incluir a todos los clientes'
Checked = True
TabOrder = 0
TabStop = True
OnClick = rbTodosClientesClick
end
object cbxDesglosado: TCheckBox
Left = 40
Top = 53
Width = 338
Height = 17
Caption = 'Desglosar por cliente'
TabOrder = 1
end
object rbUnCliente: TRadioButton
Left = 22
Top = 76
Width = 355
Height = 17
Caption = 'S'#243'lo listar el cliente siguiente:'
TabOrder = 2
OnClick = rbUnClienteClick
end
object edtCliente: TcxTextEdit
Left = 40
Top = 99
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Enabled = False
Properties.ReadOnly = True
Properties.UseLeftAlignmentOnEditing = False
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.TextColor = clWindowText
StyleFocused.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.NativeStyle = True
TabOrder = 3
Height = 21
Width = 598
end end
object bElegirCliente: TBitBtn object bElegirCliente: TBitBtn
AlignWithMargins = True AlignWithMargins = True
Left = 61 Left = 40
Top = 123 Top = 126
Width = 382 Width = 522
Height = 23 Height = 30
Margins.Left = 0 Margins.Left = 0
Margins.Top = 0 Margins.Top = 0
Margins.Right = 2 Margins.Right = 2
@ -38,7 +79,7 @@ inherited frViewFiltroClientes: TfrViewFiltroClientes
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Elegir un cliente' Caption = 'Elegir un cliente'
Enabled = False Enabled = False
TabOrder = 1 TabOrder = 4
OnClick = bElegirClienteClick OnClick = bElegirClienteClick
Glyph.Data = { Glyph.Data = {
36040000424D3604000000000000360000002800000010000000100000000100 36040000424D3604000000000000360000002800000010000000100000000100
@ -76,56 +117,62 @@ inherited frViewFiltroClientes: TfrViewFiltroClientes
FF00FF00FF00FF00FF00FF00FF00C83EF000808BDF00668BCC007C60C700D116 FF00FF00FF00FF00FF00FF00FF00C83EF000808BDF00668BCC007C60C700D116
E400FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00} E400FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
end end
object cbxDesglosado: TCheckBox object dxLayoutControl1Group_Root: TdxLayoutGroup
Left = 23 ShowCaption = False
Top = 49 Hidden = True
Width = 146 ShowBorder = False
Height = 17 object dxLayoutControl1Group1: TdxLayoutGroup
Caption = 'Desglosar por cliente' Caption = 'Clientes:'
TabOrder = 2 object dxLayoutControl1Item1: TdxLayoutItem
end
object edtCliente: TcxTextEdit
Left = 28
Top = 99
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Enabled = False
Properties.ReadOnly = True
Properties.UseLeftAlignmentOnEditing = False
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleDisabled.TextColor = clWindowText
StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = ''
TabOrder = 3
Height = 21
Width = 415
end
object rbTodosClientes: TRadioButton
Left = 6
Top = 29
Width = 147
Height = 17
Caption = 'Incluir a todos los clientes' Caption = 'Incluir a todos los clientes'
Checked = True ShowCaption = False
TabOrder = 4 Control = rbTodosClientes
TabStop = True ControlOptions.AutoColor = True
OnClick = rbTodosClientesClick ControlOptions.ShowBorder = False
end end
object rbUnCliente: TRadioButton object dxLayoutControl1Item2: TdxLayoutItem
Left = 6 Caption = 'Desglosar por cliente'
Top = 76 Offsets.Left = 18
Width = 175 ShowCaption = False
Height = 17 Control = cbxDesglosado
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item3: TdxLayoutItem
Caption = 'S'#243'lo listar el cliente siguiente:' Caption = 'S'#243'lo listar el cliente siguiente:'
TabOrder = 5 ShowCaption = False
OnClick = rbUnClienteClick Control = rbUnCliente
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item4: TdxLayoutItem
Caption = 'Cliente:'
Offsets.Left = 18
ShowCaption = False
Control = edtCliente
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item5: TdxLayoutItem
Caption = 'Elegir un cliente'
Offsets.Left = 18
ShowCaption = False
Control = bElegirCliente
ControlOptions.ShowBorder = False
end
end
end
end
object dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList
Left = 120
Top = 24
object dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel
GroupOptions.CaptionOptions.Font.Charset = DEFAULT_CHARSET
GroupOptions.CaptionOptions.Font.Color = clWindowText
GroupOptions.CaptionOptions.Font.Height = -11
GroupOptions.CaptionOptions.Font.Name = 'Tahoma'
GroupOptions.CaptionOptions.Font.Style = [fsBold]
GroupOptions.CaptionOptions.TextColor = clHighlight
GroupOptions.CaptionOptions.UseDefaultFont = False
end
end end
end end

View File

@ -6,7 +6,7 @@ uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uViewBase, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, Dialogs, uViewBase, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit,
StdCtrls, Buttons, TBXDkPanels, uViewParametrosInforme, uBizContactos, StdCtrls, Buttons, TBXDkPanels, uViewParametrosInforme, uBizContactos,
uClientesController; uClientesController, dxLayoutControl, dxLayoutLookAndFeels;
type type
IViewFiltroClientes = interface(IViewParametrosInforme) IViewFiltroClientes = interface(IViewParametrosInforme)
@ -14,12 +14,21 @@ type
end; end;
TfrViewFiltroClientes = class(TfrViewParametrosInforme, IViewFiltroClientes) TfrViewFiltroClientes = class(TfrViewParametrosInforme, IViewFiltroClientes)
TBXLabel2: TTBXLabel;
rbTodosClientes: TRadioButton; rbTodosClientes: TRadioButton;
rbUnCliente: TRadioButton; rbUnCliente: TRadioButton;
cbxDesglosado: TCheckBox; cbxDesglosado: TCheckBox;
bElegirCliente: TBitBtn; bElegirCliente: TBitBtn;
edtCliente: TcxTextEdit; edtCliente: TcxTextEdit;
dxLayoutControl1Group_Root: TdxLayoutGroup;
dxLayoutControl1: TdxLayoutControl;
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel;
dxLayoutControl1Group1: TdxLayoutGroup;
dxLayoutControl1Item1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutControl1Item3: TdxLayoutItem;
dxLayoutControl1Item4: TdxLayoutItem;
dxLayoutControl1Item5: TdxLayoutItem;
procedure rbTodosClientesClick(Sender: TObject); procedure rbTodosClientesClick(Sender: TObject);
procedure rbUnClienteClick(Sender: TObject); procedure rbUnClienteClick(Sender: TObject);
procedure CustomViewCreate(Sender: TObject); procedure CustomViewCreate(Sender: TObject);

View File

@ -1,52 +1,30 @@
inherited frViewFiltroImportes: TfrViewFiltroImportes inherited frViewFiltroImportes: TfrViewFiltroImportes
Width = 451 Width = 451
Height = 93 Height = 101
Align = alTop
ExplicitWidth = 451 ExplicitWidth = 451
ExplicitHeight = 93 ExplicitHeight = 101
object TBXLabel2: TTBXLabel object dxLayoutControl1: TdxLayoutControl
Left = 0 Left = 0
Top = 0 Top = 0
Width = 451 Width = 451
Height = 29 Height = 101
Margins.Top = 5 Align = alClient
Margins.Bottom = 10 TabOrder = 0
Align = alTop TabStop = False
Caption = 'Importes' AutoContentSizes = [acsWidth]
Font.Charset = DEFAULT_CHARSET LookAndFeel = dxLayoutOfficeLookAndFeel1
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = True
ParentFont = False
Underline = True
end
object TBXAlignmentPanel1: TTBXAlignmentPanel
AlignWithMargins = True
Left = 3
Top = 32
Width = 445
Height = 42
Margins.Left = 5
Margins.Right = 5
Align = alTop
AutoSize = True
TabOrder = 1
object cbxDesglosado: TCheckBox object cbxDesglosado: TCheckBox
Left = 7 Left = 22
Top = 0 Top = 30
Width = 159 Width = 298
Height = 17 Height = 17
Caption = 'Solo facturas que superen:' Caption = 'Solo facturas que superen:'
Color = clBtnFace
ParentColor = False
TabOrder = 0 TabOrder = 0
OnClick = cbxDesglosadoClick OnClick = cbxDesglosadoClick
end end
object eImporte: TcxSpinEdit object eImporte: TcxSpinEdit
Left = 24 Left = 69
Top = 21 Top = 53
Enabled = False Enabled = False
Properties.Alignment.Horz = taRightJustify Properties.Alignment.Horz = taRightJustify
Properties.DisplayFormat = ',0.00 '#8364';-,0.00 '#8364 Properties.DisplayFormat = ',0.00 '#8364';-,0.00 '#8364
@ -56,14 +34,43 @@ inherited frViewFiltroImportes: TfrViewFiltroImportes
Style.BorderColor = clWindowFrame Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D Style.BorderStyle = ebs3D
Style.HotTrack = False Style.HotTrack = False
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D Style.ButtonStyle = bts3D
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.SkinName = ''
TabOrder = 1 TabOrder = 1
Value = 3000.000000000000000000 Value = 3000.000000000000000000
Width = 142 Width = 142
end end
object dxLayoutControl1Group_Root: TdxLayoutGroup
ShowCaption = False
Hidden = True
ShowBorder = False
object dxLayoutControl1Group1: TdxLayoutGroup
Caption = 'Importes:'
object dxLayoutControl1Item1: TdxLayoutItem
Caption = 'Solo facturas que superen:'
ShowCaption = False
Control = cbxDesglosado
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item2: TdxLayoutItem
Caption = 'Importe:'
Control = eImporte
ControlOptions.ShowBorder = False
end
end
end
end
object dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList
Left = 192
Top = 24
object dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel
GroupOptions.CaptionOptions.Font.Charset = DEFAULT_CHARSET
GroupOptions.CaptionOptions.Font.Color = clWindowText
GroupOptions.CaptionOptions.Font.Height = -11
GroupOptions.CaptionOptions.Font.Name = 'Tahoma'
GroupOptions.CaptionOptions.Font.Style = [fsBold]
GroupOptions.CaptionOptions.TextColor = clHighlight
GroupOptions.CaptionOptions.UseDefaultFont = False
end
end end
end end

View File

@ -5,7 +5,8 @@ interface
uses uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uViewBase, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxSpinEdit, Dialogs, uViewBase, cxContainer, cxEdit, cxTextEdit, cxMaskEdit, cxSpinEdit,
dxLayoutControl, StdCtrls, cxControls, TBXDkPanels, uViewParametrosInforme; dxLayoutControl, StdCtrls, cxControls, TBXDkPanels, uViewParametrosInforme,
dxLayoutLookAndFeels;
type type
IViewFiltroImportes = interface(IViewParametrosInforme) IViewFiltroImportes = interface(IViewParametrosInforme)
@ -15,8 +16,13 @@ type
TfrViewFiltroImportes = class(TfrViewParametrosInforme, IViewFiltroImportes) TfrViewFiltroImportes = class(TfrViewParametrosInforme, IViewFiltroImportes)
cbxDesglosado: TCheckBox; cbxDesglosado: TCheckBox;
eImporte: TcxSpinEdit; eImporte: TcxSpinEdit;
TBXLabel2: TTBXLabel; dxLayoutControl1Group_Root: TdxLayoutGroup;
TBXAlignmentPanel1: TTBXAlignmentPanel; dxLayoutControl1: TdxLayoutControl;
dxLayoutControl1Group1: TdxLayoutGroup;
dxLayoutControl1Item1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel;
procedure cbxDesglosadoClick(Sender: TObject); procedure cbxDesglosadoClick(Sender: TObject);
end; end;

View File

@ -1,35 +1,77 @@
inherited frViewFiltroProveedores: TfrViewFiltroProveedores inherited frViewFiltroProveedores: TfrViewFiltroProveedores
Width = 451 Width = 451
Height = 173
Align = alTop Align = alTop
OnCreate = CustomViewCreate OnCreate = CustomViewCreate
OnDestroy = CustomViewDestroy OnDestroy = CustomViewDestroy
ExplicitWidth = 451 ExplicitWidth = 451
DesignSize = ( ExplicitHeight = 173
451 object dxLayoutControl1: TdxLayoutControl
195)
object TBXLabel2: TTBXLabel
Left = 0 Left = 0
Top = 0 Top = 0
Width = 451 Width = 451
Height = 29 Height = 173
Margins.Top = 5 Align = alClient
Margins.Bottom = 10 TabOrder = 0
Align = alTop TabStop = False
Caption = 'Proveedores' AutoContentSizes = [acsWidth]
Font.Charset = DEFAULT_CHARSET LookAndFeel = dxLayoutOfficeLookAndFeel1
Font.Color = clWindowText DesignSize = (
Font.Height = -11 451
Font.Name = 'MS Sans Serif' 173)
Font.Style = [fsBold] object rbTodosProveedores: TRadioButton
ParentColor = True Left = 22
ParentFont = False Top = 30
Underline = True Width = 195
Height = 17
Caption = 'Incluir a todos los proveedores'
Checked = True
TabOrder = 0
TabStop = True
OnClick = rbTodosProveedoresClick
end
object cbxDesglosado: TCheckBox
Left = 40
Top = 53
Width = 158
Height = 17
Caption = 'Desglosar por proveedor'
TabOrder = 1
end
object rbUnProveedor: TRadioButton
Left = 22
Top = 76
Width = 175
Height = 17
Caption = 'S'#243'lo listar el proveedor siguiente:'
TabOrder = 2
OnClick = rbUnProveedorClick
end
object edtProveedor: TcxTextEdit
Left = 99
Top = 99
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Enabled = False
Properties.ReadOnly = True
Properties.UseLeftAlignmentOnEditing = False
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.TextColor = clWindowText
StyleFocused.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.NativeStyle = True
TabOrder = 3
Height = 21
Width = 607
end end
object bElegirProveedor: TBitBtn object bElegirProveedor: TBitBtn
AlignWithMargins = True AlignWithMargins = True
Left = 61 Left = 40
Top = 123 Top = 126
Width = 382 Width = 574
Height = 23 Height = 23
Margins.Left = 0 Margins.Left = 0
Margins.Top = 0 Margins.Top = 0
@ -38,7 +80,7 @@ inherited frViewFiltroProveedores: TfrViewFiltroProveedores
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Caption = 'Elegir un proveedor' Caption = 'Elegir un proveedor'
Enabled = False Enabled = False
TabOrder = 1 TabOrder = 4
OnClick = bElegirProveedorClick OnClick = bElegirProveedorClick
Glyph.Data = { Glyph.Data = {
36040000424D3604000000000000360000002800000010000000100000000100 36040000424D3604000000000000360000002800000010000000100000000100
@ -76,56 +118,61 @@ inherited frViewFiltroProveedores: TfrViewFiltroProveedores
FF00FF00FF00FF00FF00FF00FF00C83EF000808BDF00668BCC007C60C700D116 FF00FF00FF00FF00FF00FF00FF00C83EF000808BDF00668BCC007C60C700D116
E400FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00} E400FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00FF00}
end end
object cbxDesglosado: TCheckBox object dxLayoutGroup1: TdxLayoutGroup
Left = 23 ShowCaption = False
Top = 49 Hidden = True
Width = 158 ShowBorder = False
Height = 17 object dxLayoutGroup2: TdxLayoutGroup
Caption = 'Proveedores:'
object dxLayoutItem1: TdxLayoutItem
Caption = 'Incluir a todos los proveedores'
ShowCaption = False
Control = rbTodosProveedores
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item2: TdxLayoutItem
Caption = 'Desglosar por proveedor' Caption = 'Desglosar por proveedor'
TabOrder = 2 Offsets.Left = 18
ShowCaption = False
Control = cbxDesglosado
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end end
object edtProveedor: TcxTextEdit object dxLayoutControl1Item3: TdxLayoutItem
Left = 28
Top = 99
Anchors = [akLeft, akTop, akRight]
AutoSize = False
Enabled = False
Properties.ReadOnly = True
Properties.UseLeftAlignmentOnEditing = False
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleDisabled.TextColor = clWindowText
StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = ''
TabOrder = 3
Height = 21
Width = 415
end
object rbTodosProveedores: TRadioButton
Left = 6
Top = 29
Width = 195
Height = 17
Caption = 'Incluir a todos los Proveedores'
Checked = True
TabOrder = 4
TabStop = True
OnClick = rbTodosProveedoresClick
end
object rbUnProveedor: TRadioButton
Left = 6
Top = 76
Width = 175
Height = 17
Caption = 'S'#243'lo listar el proveedor siguiente:' Caption = 'S'#243'lo listar el proveedor siguiente:'
TabOrder = 5 ShowCaption = False
OnClick = rbUnProveedorClick Control = rbUnProveedor
ControlOptions.AutoColor = True
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item4: TdxLayoutItem
Caption = 'Proveedor:'
Offsets.Left = 18
Control = edtProveedor
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item5: TdxLayoutItem
Caption = 'Elegir un proveedor'
Offsets.Left = 18
ShowCaption = False
Control = bElegirProveedor
ControlOptions.ShowBorder = False
end
end
end
end
object dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList
Left = 192
Top = 24
object dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel
GroupOptions.CaptionOptions.Font.Charset = DEFAULT_CHARSET
GroupOptions.CaptionOptions.Font.Color = clWindowText
GroupOptions.CaptionOptions.Font.Height = -11
GroupOptions.CaptionOptions.Font.Name = 'Tahoma'
GroupOptions.CaptionOptions.Font.Style = [fsBold]
GroupOptions.CaptionOptions.TextColor = clHighlight
GroupOptions.CaptionOptions.UseDefaultFont = False
end
end end
end end

View File

@ -6,7 +6,7 @@ uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, uViewBase, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit, Dialogs, uViewBase, cxControls, cxContainer, cxEdit, cxTextEdit, cxDBEdit,
StdCtrls, Buttons, TBXDkPanels, uViewParametrosInforme, uBizContactos, StdCtrls, Buttons, TBXDkPanels, uViewParametrosInforme, uBizContactos,
uProveedoresController; uProveedoresController, dxLayoutLookAndFeels, dxLayoutControl;
type type
IViewFiltroProveedores = interface(IViewParametrosInforme) IViewFiltroProveedores = interface(IViewParametrosInforme)
@ -14,12 +14,21 @@ type
end; end;
TfrViewFiltroProveedores = class(TfrViewParametrosInforme, IViewFiltroProveedores) TfrViewFiltroProveedores = class(TfrViewParametrosInforme, IViewFiltroProveedores)
TBXLabel2: TTBXLabel;
rbTodosProveedores: TRadioButton; rbTodosProveedores: TRadioButton;
rbUnProveedor: TRadioButton; rbUnProveedor: TRadioButton;
cbxDesglosado: TCheckBox; cbxDesglosado: TCheckBox;
bElegirProveedor: TBitBtn; bElegirProveedor: TBitBtn;
edtProveedor: TcxTextEdit; edtProveedor: TcxTextEdit;
dxLayoutControl1: TdxLayoutControl;
dxLayoutGroup1: TdxLayoutGroup;
dxLayoutGroup2: TdxLayoutGroup;
dxLayoutItem1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutControl1Item3: TdxLayoutItem;
dxLayoutControl1Item4: TdxLayoutItem;
dxLayoutControl1Item5: TdxLayoutItem;
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel;
procedure rbTodosProveedoresClick(Sender: TObject); procedure rbTodosProveedoresClick(Sender: TObject);
procedure rbUnProveedorClick(Sender: TObject); procedure rbUnProveedorClick(Sender: TObject);
procedure CustomViewCreate(Sender: TObject); procedure CustomViewCreate(Sender: TObject);

View File

@ -1,82 +1,24 @@
inherited frViewPeriodoFechas: TfrViewPeriodoFechas inherited frViewPeriodoFechas: TfrViewPeriodoFechas
Width = 451 Width = 781
Height = 248 Height = 280
Align = alTop ExplicitWidth = 781
ExplicitWidth = 451 ExplicitHeight = 280
ExplicitHeight = 248 object dxLayoutControl1: TdxLayoutControl
object TBXAlignmentPanel2: TTBXAlignmentPanel Left = 0
AlignWithMargins = True Top = 0
Left = 3 Width = 781
Top = 32 Height = 280
Width = 445 Align = alClient
Height = 97
Margins.Left = 5
Margins.Top = 5
Margins.Right = 5
Align = alTop
AutoSize = True
TabOrder = 0 TabOrder = 0
TabStop = False
AutoContentSizes = [acsWidth]
LookAndFeel = dxLayoutOfficeLookAndFeel1
DesignSize = ( DesignSize = (
445 781
97) 280)
object Label3: TLabel
Left = 5
Top = 5
Width = 435
Height = 13
Align = alTop
Caption = 'Rango de fechas:'
Transparent = True
ExplicitWidth = 85
end
object Label1: TLabel
Left = 29
Top = 52
Width = 34
Height = 13
Caption = 'Desde:'
Transparent = True
end
object Label2: TLabel
Left = 32
Top = 79
Width = 31
Height = 13
Caption = 'hasta:'
Transparent = True
end
object edtFechaFin: TcxDateEdit
Left = 69
Top = 76
Anchors = [akLeft, akTop, akRight]
Properties.DateButtons = [btnToday]
Properties.PostPopupValueOnTab = True
Properties.SaveTime = False
Properties.ShowTime = False
Properties.OnValidate = edtFechaFinPropertiesValidate
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = ''
TabOrder = 0
Width = 362
end
object edtFechaIni: TcxDateEdit object edtFechaIni: TcxDateEdit
Left = 72 Left = 72
Top = 49 Top = 76
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Properties.DateButtons = [btnToday] Properties.DateButtons = [btnToday]
Properties.PostPopupValueOnTab = True Properties.PostPopupValueOnTab = True
@ -88,24 +30,45 @@ inherited frViewPeriodoFechas: TfrViewPeriodoFechas
Style.HotTrack = False Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.Kind = lfStandard StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.Kind = lfStandard StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = ''
TabOrder = 1 TabOrder = 1
Width = 360 Width = 360
end end
object edtFechaFin: TcxDateEdit
Left = 72
Top = 103
Anchors = [akLeft, akTop, akRight]
Properties.DateButtons = [btnToday]
Properties.PostPopupValueOnTab = True
Properties.SaveTime = False
Properties.ShowTime = False
Properties.OnValidate = edtFechaFinPropertiesValidate
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True
Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True
TabOrder = 2
Width = 362
end
object cbPeriodo: TcxComboBox object cbPeriodo: TcxComboBox
Left = 3 Left = 33
Top = 21 Top = 49
RepositoryItem = cxRepositoryPeriodos RepositoryItem = cxRepositoryPeriodos
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Properties.OnChange = cbPeriodoPropertiesChange Properties.OnChange = cbPeriodoPropertiesChange
@ -114,114 +77,21 @@ inherited frViewPeriodoFechas: TfrViewPeriodoFechas
Style.HotTrack = False Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.Kind = lfStandard StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.Kind = lfStandard StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = '' TabOrder = 0
TabOrder = 2
Text = 'Este mes' Text = 'Este mes'
Width = 429 Width = 429
end end
end
object TBXLabel2: TTBXLabel
Left = 0
Top = 0
Width = 451
Height = 29
Margins.Top = 5
Margins.Bottom = 10
Align = alTop
Caption = 'Periodo'
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'MS Sans Serif'
Font.Style = [fsBold]
ParentColor = True
ParentFont = False
Underline = True
end
object TBXAlignmentPanel3: TTBXAlignmentPanel
AlignWithMargins = True
Left = 3
Top = 135
Width = 445
Height = 98
Margins.Left = 5
Margins.Top = 5
Margins.Right = 5
Align = alTop
AutoSize = True
TabOrder = 2
DesignSize = (
445
98)
object Label4: TLabel
Left = 5
Top = 5
Width = 435
Height = 13
Align = alTop
Caption = 'Rango de fechas de vencimiento:'
Transparent = True
ExplicitWidth = 160
end
object Label5: TLabel
Left = 29
Top = 53
Width = 34
Height = 13
Caption = 'Desde:'
Transparent = True
end
object Label6: TLabel
Left = 32
Top = 80
Width = 31
Height = 13
Caption = 'hasta:'
Transparent = True
end
object edtFechaVenFin: TcxDateEdit
Left = 70
Top = 77
Anchors = [akLeft, akTop, akRight]
Properties.DateButtons = [btnToday]
Properties.PostPopupValueOnTab = True
Properties.SaveTime = False
Properties.ShowTime = False
Properties.OnValidate = edtFechaVenFinPropertiesValidate
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = ''
TabOrder = 0
Width = 362
end
object edtFechaVenIni: TcxDateEdit object edtFechaVenIni: TcxDateEdit
Left = 72 Left = 72
Top = 50 Top = 181
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Properties.DateButtons = [btnToday] Properties.DateButtons = [btnToday]
Properties.PostPopupValueOnTab = True Properties.PostPopupValueOnTab = True
@ -233,24 +103,45 @@ inherited frViewPeriodoFechas: TfrViewPeriodoFechas
Style.HotTrack = False Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.Kind = lfStandard StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.Kind = lfStandard StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = '' TabOrder = 4
TabOrder = 1 Width = 529
Width = 360 end
object edtFechaVenFin: TcxDateEdit
Left = 72
Top = 208
Anchors = [akLeft, akTop, akRight]
Properties.DateButtons = [btnToday]
Properties.PostPopupValueOnTab = True
Properties.SaveTime = False
Properties.ShowTime = False
Properties.OnValidate = edtFechaVenFinPropertiesValidate
Style.BorderColor = clWindowFrame
Style.BorderStyle = ebs3D
Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True
Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True
TabOrder = 5
Width = 531
end end
object cbPeriodo2: TcxComboBox object cbPeriodo2: TcxComboBox
Left = 3 Left = 33
Top = 21 Top = 154
RepositoryItem = cxRepositoryPeriodos RepositoryItem = cxRepositoryPeriodos
Anchors = [akLeft, akTop, akRight] Anchors = [akLeft, akTop, akRight]
Properties.OnChange = cbPeriodo2PropertiesChange Properties.OnChange = cbPeriodo2PropertiesChange
@ -259,21 +150,74 @@ inherited frViewPeriodoFechas: TfrViewPeriodoFechas
Style.HotTrack = False Style.HotTrack = False
Style.LookAndFeel.Kind = lfStandard Style.LookAndFeel.Kind = lfStandard
Style.LookAndFeel.NativeStyle = True Style.LookAndFeel.NativeStyle = True
Style.LookAndFeel.SkinName = ''
Style.ButtonStyle = bts3D Style.ButtonStyle = bts3D
Style.PopupBorderStyle = epbsFrame3D Style.PopupBorderStyle = epbsFrame3D
StyleDisabled.LookAndFeel.Kind = lfStandard StyleDisabled.LookAndFeel.Kind = lfStandard
StyleDisabled.LookAndFeel.NativeStyle = True StyleDisabled.LookAndFeel.NativeStyle = True
StyleDisabled.LookAndFeel.SkinName = ''
StyleFocused.LookAndFeel.Kind = lfStandard StyleFocused.LookAndFeel.Kind = lfStandard
StyleFocused.LookAndFeel.NativeStyle = True StyleFocused.LookAndFeel.NativeStyle = True
StyleFocused.LookAndFeel.SkinName = ''
StyleHot.LookAndFeel.Kind = lfStandard StyleHot.LookAndFeel.Kind = lfStandard
StyleHot.LookAndFeel.NativeStyle = True StyleHot.LookAndFeel.NativeStyle = True
StyleHot.LookAndFeel.SkinName = '' TabOrder = 3
TabOrder = 2
Text = 'Este mes' Text = 'Este mes'
Width = 429 Width = 598
end
object dxLayoutControl1Group_Root: TdxLayoutGroup
ShowCaption = False
Hidden = True
ShowBorder = False
object dxLayoutControl1Group3: TdxLayoutGroup
AutoAligns = [aaVertical]
AlignHorz = ahClient
Caption = 'Periodo:'
object dxLayoutControl1Group1: TdxLayoutGroup
Caption = 'Rango de fechas:'
LookAndFeel = dxLayoutOfficeLookAndFeel1
object dxLayoutControl1Item3: TdxLayoutItem
Caption = 'Rango de fechas:'
ShowCaption = False
Control = cbPeriodo
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item1: TdxLayoutItem
Caption = 'Desde:'
Control = edtFechaIni
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item2: TdxLayoutItem
Caption = 'hasta:'
Control = edtFechaFin
ControlOptions.ShowBorder = False
end
end
object dxLayoutControl1Group2: TdxLayoutGroup
AutoAligns = [aaHorizontal]
Caption = 'Rango de fechas de vencimiento:'
LookAndFeel = dxLayoutOfficeLookAndFeel1
object dxLayoutControl1Item6: TdxLayoutItem
AutoAligns = [aaVertical]
AlignHorz = ahClient
Caption = 'Rango de fechas de vencimiento:'
ShowCaption = False
Control = cbPeriodo2
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item4: TdxLayoutItem
AutoAligns = [aaVertical]
AlignHorz = ahClient
Caption = 'Desde:'
Control = edtFechaVenIni
ControlOptions.ShowBorder = False
end
object dxLayoutControl1Item5: TdxLayoutItem
AutoAligns = [aaVertical]
AlignHorz = ahClient
Caption = 'hasta:'
Control = edtFechaVenFin
ControlOptions.ShowBorder = False
end
end
end
end end
end end
object cxRepository: TcxEditRepository object cxRepository: TcxEditRepository
@ -286,19 +230,32 @@ inherited frViewPeriodoFechas: TfrViewPeriodoFechas
Properties.ImmediatePost = True Properties.ImmediatePost = True
Properties.ImmediateUpdateText = True Properties.ImmediateUpdateText = True
Properties.Items.Strings = ( Properties.Items.Strings = (
'Hoy' 'Personalizado'
'Ayer' 'Este trimestre'
'Esta semana' 'El trimestre anterior'
'Primer trimestre (Ene-Mar)'
'Segundo trimestre (Abr-Jun)'
'Tercer trimestre (Jul-Sep)'
'Cuarto trimestre (Sep-Dic)'
'Este mes' 'Este mes'
'Este a'#241'o'
#218'ltimos 7 d'#237'as'
#218'ltimos 30 d'#237'as'
#218'ltimos 3 meses'
'Mes anterior' 'Mes anterior'
'A'#241'o anterior' 'Este a'#241'o'
'Personalizado') 'A'#241'o anterior')
Properties.PostPopupValueOnTab = True Properties.PostPopupValueOnTab = True
Properties.ReadOnly = False Properties.ReadOnly = False
end end
end end
object dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList
Left = 120
Top = 24
object dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel
GroupOptions.CaptionOptions.Font.Charset = DEFAULT_CHARSET
GroupOptions.CaptionOptions.Font.Color = clWindowText
GroupOptions.CaptionOptions.Font.Height = -11
GroupOptions.CaptionOptions.Font.Name = 'Tahoma'
GroupOptions.CaptionOptions.Font.Style = [fsBold]
GroupOptions.CaptionOptions.TextColor = clHighlight
GroupOptions.CaptionOptions.UseDefaultFont = False
end
end
end end

View File

@ -21,19 +21,23 @@ type
cxRepositoryPeriodos: TcxEditRepositoryComboBoxItem; cxRepositoryPeriodos: TcxEditRepositoryComboBoxItem;
edtFechaIni: TcxDateEdit; edtFechaIni: TcxDateEdit;
edtFechaFin: TcxDateEdit; edtFechaFin: TcxDateEdit;
TBXLabel2: TTBXLabel;
TBXAlignmentPanel2: TTBXAlignmentPanel;
Label1: TLabel;
Label2: TLabel;
Label3: TLabel;
TBXAlignmentPanel3: TTBXAlignmentPanel;
Label4: TLabel;
Label5: TLabel;
Label6: TLabel;
edtFechaVenFin: TcxDateEdit; edtFechaVenFin: TcxDateEdit;
edtFechaVenIni: TcxDateEdit; edtFechaVenIni: TcxDateEdit;
cbPeriodo: TcxComboBox; cbPeriodo: TcxComboBox;
cbPeriodo2: TcxComboBox; cbPeriodo2: TcxComboBox;
dxLayoutControl1Group_Root: TdxLayoutGroup;
dxLayoutControl1: TdxLayoutControl;
dxLayoutControl1Group1: TdxLayoutGroup;
dxLayoutControl1Group2: TdxLayoutGroup;
dxLayoutControl1Item1: TdxLayoutItem;
dxLayoutControl1Item2: TdxLayoutItem;
dxLayoutControl1Item3: TdxLayoutItem;
dxLayoutControl1Item4: TdxLayoutItem;
dxLayoutControl1Item5: TdxLayoutItem;
dxLayoutControl1Item6: TdxLayoutItem;
dxLayoutLookAndFeelList1: TdxLayoutLookAndFeelList;
dxLayoutOfficeLookAndFeel1: TdxLayoutOfficeLookAndFeel;
dxLayoutControl1Group3: TdxLayoutGroup;
procedure cbPeriodoPropertiesChange(Sender: TObject); procedure cbPeriodoPropertiesChange(Sender: TObject);
procedure edtFechaIni2PropertiesValidate(Sender: TObject; procedure edtFechaIni2PropertiesValidate(Sender: TObject;
var DisplayValue: Variant; var ErrorText: TCaption; var DisplayValue: Variant; var ErrorText: TCaption;
@ -58,6 +62,12 @@ type
procedure SetFechaVenInicial(const Value: Variant); procedure SetFechaVenInicial(const Value: Variant);
public public
procedure EsteTrimestre(const ATipoFecha: TTipoFecha);
procedure TrimestreAnterior(const ATipoFecha: TTipoFecha);
procedure PrimerTrimestre(const ATipoFecha: TTipoFecha);
procedure SegundoTrimestre(const ATipoFecha: TTipoFecha);
procedure TercerTrimestre(const ATipoFecha: TTipoFecha);
procedure CuartoTrimestre(const ATipoFecha: TTipoFecha);
procedure Hoy(const ATipoFecha: TTipoFecha); procedure Hoy(const ATipoFecha: TTipoFecha);
procedure Ayer(const ATipoFecha: TTipoFecha); procedure Ayer(const ATipoFecha: TTipoFecha);
procedure EstaSemana(const ATipoFecha: TTipoFecha); procedure EstaSemana(const ATipoFecha: TTipoFecha);
@ -78,7 +88,7 @@ type
implementation implementation
uses DateUtils; uses DateUtils, Math;
{$R *.dfm} {$R *.dfm}
@ -152,6 +162,20 @@ begin
end; end;
end; end;
procedure TfrViewPeriodoFechas.EsteTrimestre(const ATipoFecha: TTipoFecha);
var
ATrimestre : Integer;
begin
ATrimestre := Ceil(MonthOf(Today)/3);
case ATrimestre of
1: PrimerTrimestre(ATipoFecha);
2: SegundoTrimestre(ATipoFecha);
3: TercerTrimestre(ATipoFecha);
4: CuartoTrimestre(ATipoFecha);
end;
end;
function TfrViewPeriodoFechas.GetFechaFinal: Variant; function TfrViewPeriodoFechas.GetFechaFinal: Variant;
begin begin
Result := edtFechaFin.EditValue; Result := edtFechaFin.EditValue;
@ -212,6 +236,34 @@ begin
end; end;
end; end;
procedure TfrViewPeriodoFechas.PrimerTrimestre(const ATipoFecha: TTipoFecha);
begin
case ATipoFecha of
TFecha: begin
edtFechaIni.Date := EncodeDate(YearOf(Today), 1, 1);
edtFechaFin.Date := EncodeDate(YearOf(Today), 3, 31);
end;
TFechaVencimiento: begin
edtFechaVenIni.Date := EncodeDate(YearOf(Today), 1, 1);
edtFechaVenFin.Date := EncodeDate(YearOf(Today), 3, 31);;
end;
end;
end;
procedure TfrViewPeriodoFechas.SegundoTrimestre(const ATipoFecha: TTipoFecha);
begin
case ATipoFecha of
TFecha: begin
edtFechaIni.Date := EncodeDate(YearOf(Today), 4, 1);
edtFechaFin.Date := EncodeDate(YearOf(Today), 6, 30);
end;
TFechaVencimiento: begin
edtFechaVenIni.Date := EncodeDate(YearOf(Today), 4, 1);
edtFechaVenFin.Date := EncodeDate(YearOf(Today), 6, 30);;
end;
end;
end;
procedure TfrViewPeriodoFechas.SetFechaFinal(const Value: Variant); procedure TfrViewPeriodoFechas.SetFechaFinal(const Value: Variant);
begin begin
edtFechaFin.EditValue := Value; edtFechaFin.EditValue := Value;
@ -232,6 +284,34 @@ begin
edtFechaVenIni.EditValue := Value; edtFechaVenIni.EditValue := Value;
end; end;
procedure TfrViewPeriodoFechas.TercerTrimestre(const ATipoFecha: TTipoFecha);
begin
case ATipoFecha of
TFecha: begin
edtFechaIni.Date := EncodeDate(YearOf(Today), 7, 1);
edtFechaFin.Date := EncodeDate(YearOf(Today), 9, 30);
end;
TFechaVencimiento: begin
edtFechaVenIni.Date := EncodeDate(YearOf(Today), 7, 1);
edtFechaVenFin.Date := EncodeDate(YearOf(Today), 9, 30);;
end;
end;
end;
procedure TfrViewPeriodoFechas.TrimestreAnterior(const ATipoFecha: TTipoFecha);
var
ATrimestre : Integer;
begin
ATrimestre := Ceil(MonthOf(Today)/3)-1;
case ATrimestre of
0: CuartoTrimestre(ATipoFecha);
1: PrimerTrimestre(ATipoFecha);
2: SegundoTrimestre(ATipoFecha);
3: TercerTrimestre(ATipoFecha);
end;
end;
procedure TfrViewPeriodoFechas.Ultimos30dias(const ATipoFecha: TTipoFecha); procedure TfrViewPeriodoFechas.Ultimos30dias(const ATipoFecha: TTipoFecha);
begin begin
case ATipoFecha of case ATipoFecha of
@ -277,16 +357,17 @@ end;
procedure TfrViewPeriodoFechas.cbPeriodo2PropertiesChange(Sender: TObject); procedure TfrViewPeriodoFechas.cbPeriodo2PropertiesChange(Sender: TObject);
begin begin
case (Sender as TcxComboBox).ItemIndex of case (Sender as TcxComboBox).ItemIndex of
0 : Hoy(TFechaVencimiento); 0 : Personalizado(TFechaVencimiento);
1 : Ayer(TFechaVencimiento); 1 : EsteTrimestre(TFechaVencimiento);
2 : EstaSemana(TFechaVencimiento); 2 : TrimestreAnterior(TFechaVencimiento);
3 : EsteMes(TFechaVencimiento); 3 : PrimerTrimestre(TFechaVencimiento);
4 : EsteAno(TFechaVencimiento); 4 : SegundoTrimestre(TFechaVencimiento);
5 : Ultimos7dias(TFechaVencimiento); 5 : TercerTrimestre(TFechaVencimiento);
6 : Ultimos30dias(TFechaVencimiento); 6 : CuartoTrimestre(TFechaVencimiento);
7 : Ultimos3meses(TFechaVencimiento); 7 : EsteMes(TFechaVencimiento);
8 : MesAnterior(TFechaVencimiento); 8 : MesAnterior(TFecha);
9 : AnoAnterior(TFechaVencimiento); 9 : EsteAno(TFechaVencimiento);
10 : AnoAnterior(TFechaVencimiento);
else else
Personalizado(TFechaVencimiento); Personalizado(TFechaVencimiento);
end; end;
@ -295,16 +376,17 @@ end;
procedure TfrViewPeriodoFechas.cbPeriodoPropertiesChange(Sender: TObject); procedure TfrViewPeriodoFechas.cbPeriodoPropertiesChange(Sender: TObject);
begin begin
case (Sender as TcxComboBox).ItemIndex of case (Sender as TcxComboBox).ItemIndex of
0 : Hoy(TFecha); 0 : Personalizado(TFecha);
1 : Ayer(TFecha); 1 : EsteTrimestre(TFecha);
2 : EstaSemana(TFecha); 2 : TrimestreAnterior(TFecha);
3 : EsteMes(TFecha); 3 : PrimerTrimestre(TFecha);
4 : EsteAno(TFecha); 4 : SegundoTrimestre(TFecha);
5 : Ultimos7dias(TFecha); 5 : TercerTrimestre(TFecha);
6 : Ultimos30dias(TFecha); 6 : CuartoTrimestre(TFecha);
7 : Ultimos3meses(TFecha); 7 : EsteMes(TFecha);
8 : MesAnterior(TFecha); 8 : MesAnterior(TFecha);
9 : AnoAnterior(TFecha); 9 : EsteAno(TFecha);
10 : AnoAnterior(TFecha);
else else
Personalizado(TFecha); Personalizado(TFecha);
end; end;
@ -313,9 +395,23 @@ end;
constructor TfrViewPeriodoFechas.Create(AOwner: TComponent); constructor TfrViewPeriodoFechas.Create(AOwner: TComponent);
begin begin
inherited; inherited;
cbPeriodo.ItemIndex := -1; cbPeriodo.ItemIndex := 1;
cbPeriodo2.ItemIndex := -1; cbPeriodo2.ItemIndex := -1;
EsteAno(TFecha); EsteTrimestre(TFecha);
end;
procedure TfrViewPeriodoFechas.CuartoTrimestre(const ATipoFecha: TTipoFecha);
begin
case ATipoFecha of
TFecha: begin
edtFechaIni.Date := EncodeDate(YearOf(Today), 10, 1);
edtFechaFin.Date := EncodeDate(YearOf(Today), 12, 31);
end;
TFechaVencimiento: begin
edtFechaVenIni.Date := EncodeDate(YearOf(Today), 10, 1);
edtFechaVenFin.Date := EncodeDate(YearOf(Today), 12, 31);;
end;
end;
end; end;
procedure TfrViewPeriodoFechas.edtFechaIni2PropertiesValidate( procedure TfrViewPeriodoFechas.edtFechaIni2PropertiesValidate(