Se arreglan los editores de informes para que al recoger las fechas de fin, no exista redondeo (31/12/2008 23:59 -> 01/01/2009)
git-svn-id: https://192.168.0.254/svn/Proyectos.Acana_FactuGES2/trunk@388 f4e31baf-9722-1c47-927c-6f952f962d4b
This commit is contained in:
parent
9fcd4dba91
commit
74b104b228
@ -70,7 +70,7 @@ inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturas
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 72
|
Left = 72
|
||||||
@ -108,7 +108,7 @@ inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturas
|
|||||||
Visible = False
|
Visible = False
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -131,7 +131,6 @@ inherited fEditorInformeFacturasClientePendientesReport: TfEditorInformeFacturas
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 212
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -50,7 +50,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -83,6 +83,10 @@ end;
|
|||||||
function TfEditorInformeFacturasClientePendientesReport.GetFechaFin: Variant;
|
function TfEditorInformeFacturasClientePendientesReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeFacturasClientePendientesReport.GetFechaInicio: Variant;
|
function TfEditorInformeFacturasClientePendientesReport.GetFechaInicio: Variant;
|
||||||
|
|||||||
@ -72,7 +72,7 @@ inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteRep
|
|||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
ExplicitHeight = 98
|
ExplicitHeight = 98
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 74
|
Left = 74
|
||||||
@ -116,7 +116,7 @@ inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteRep
|
|||||||
ExplicitTop = 136
|
ExplicitTop = 136
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -139,7 +139,6 @@ inherited fEditorInformeFacturasClienteReport: TfEditorInformeFacturasClienteRep
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 212
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -49,7 +49,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -82,6 +82,10 @@ end;
|
|||||||
function TfEditorInformeFacturasClienteReport.GetFechaFin: Variant;
|
function TfEditorInformeFacturasClienteReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeFacturasClienteReport.GetFechaInicio: Variant;
|
function TfEditorInformeFacturasClienteReport.GetFechaInicio: Variant;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ inherited fEditorInformeFacturasProveedorPendientesReport: TfEditorInformeFactur
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
@ -109,7 +109,7 @@ inherited fEditorInformeFacturasProveedorPendientesReport: TfEditorInformeFactur
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
|
|||||||
@ -54,7 +54,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -87,6 +87,10 @@ end;
|
|||||||
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaFin: Variant;
|
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaInicio: Variant;
|
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaInicio: Variant;
|
||||||
@ -97,6 +101,10 @@ end;
|
|||||||
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaVenFin: Variant;
|
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaVenFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaVenFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaVenInicio: Variant;
|
function TfEditorInformeFacturasProveedorPendientesReport.GetFechaVenInicio: Variant;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ inherited fEditorInformeFacturasProveedorReport: TfEditorInformeFacturasProveedo
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 77
|
Left = 77
|
||||||
@ -109,7 +109,7 @@ inherited fEditorInformeFacturasProveedorReport: TfEditorInformeFacturasProveedo
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Left = 77
|
Left = 77
|
||||||
|
|||||||
@ -53,7 +53,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -86,6 +86,10 @@ end;
|
|||||||
function TfEditorInformeFacturasProveedorReport.GetFechaFin: Variant;
|
function TfEditorInformeFacturasProveedorReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeFacturasProveedorReport.GetFechaInicio: Variant;
|
function TfEditorInformeFacturasProveedorReport.GetFechaInicio: Variant;
|
||||||
@ -96,6 +100,10 @@ end;
|
|||||||
function TfEditorInformeFacturasProveedorReport.GetFechaVenFin: Variant;
|
function TfEditorInformeFacturasProveedorReport.GetFechaVenFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaVenFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeFacturasProveedorReport.GetFechaVenInicio: Variant;
|
function TfEditorInformeFacturasProveedorReport.GetFechaVenInicio: Variant;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ inherited fEditorInformeIVAClientesReport: TfEditorInformeIVAClientesReport
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 77
|
Left = 77
|
||||||
@ -110,7 +110,7 @@ inherited fEditorInformeIVAClientesReport: TfEditorInformeIVAClientesReport
|
|||||||
Visible = False
|
Visible = False
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -133,7 +133,6 @@ inherited fEditorInformeIVAClientesReport: TfEditorInformeIVAClientesReport
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 212
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -49,7 +49,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -82,6 +82,10 @@ end;
|
|||||||
function TfEditorInformeIVAClientesReport.GetFechaFin: Variant;
|
function TfEditorInformeIVAClientesReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeIVAClientesReport.GetFechaInicio: Variant;
|
function TfEditorInformeIVAClientesReport.GetFechaInicio: Variant;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ inherited fEditorInformeIVAProveedoresReport: TfEditorInformeIVAProveedoresRepor
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
@ -110,7 +110,7 @@ inherited fEditorInformeIVAProveedoresReport: TfEditorInformeIVAProveedoresRepor
|
|||||||
Visible = False
|
Visible = False
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Style.LookAndFeel.SkinName = ''
|
Style.LookAndFeel.SkinName = ''
|
||||||
@ -133,7 +133,6 @@ inherited fEditorInformeIVAProveedoresReport: TfEditorInformeIVAProveedoresRepor
|
|||||||
StyleDisabled.LookAndFeel.SkinName = ''
|
StyleDisabled.LookAndFeel.SkinName = ''
|
||||||
StyleFocused.LookAndFeel.SkinName = ''
|
StyleFocused.LookAndFeel.SkinName = ''
|
||||||
StyleHot.LookAndFeel.SkinName = ''
|
StyleHot.LookAndFeel.SkinName = ''
|
||||||
ExplicitWidth = 212
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@ -49,7 +49,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -82,6 +82,10 @@ end;
|
|||||||
function TfEditorInformeIVAProveedoresReport.GetFechaFin: Variant;
|
function TfEditorInformeIVAProveedoresReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeIVAProveedoresReport.GetFechaInicio: Variant;
|
function TfEditorInformeIVAProveedoresReport.GetFechaInicio: Variant;
|
||||||
|
|||||||
@ -53,7 +53,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -86,6 +86,10 @@ end;
|
|||||||
function TfEditorInformeRecibosCliPendientesReport.GetFechaFin: Variant;
|
function TfEditorInformeRecibosCliPendientesReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosCliPendientesReport.GetFechaInicio: Variant;
|
function TfEditorInformeRecibosCliPendientesReport.GetFechaInicio: Variant;
|
||||||
@ -96,6 +100,10 @@ end;
|
|||||||
function TfEditorInformeRecibosCliPendientesReport.GetFechaVenFin: Variant;
|
function TfEditorInformeRecibosCliPendientesReport.GetFechaVenFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaVenFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosCliPendientesReport.GetFechaVenInicio: Variant;
|
function TfEditorInformeRecibosCliPendientesReport.GetFechaVenInicio: Variant;
|
||||||
|
|||||||
@ -53,7 +53,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -86,6 +86,10 @@ end;
|
|||||||
function TfEditorInformeRecibosClienteReport.GetFechaFin: Variant;
|
function TfEditorInformeRecibosClienteReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosClienteReport.GetFechaInicio: Variant;
|
function TfEditorInformeRecibosClienteReport.GetFechaInicio: Variant;
|
||||||
@ -96,6 +100,10 @@ end;
|
|||||||
function TfEditorInformeRecibosClienteReport.GetFechaVenFin: Variant;
|
function TfEditorInformeRecibosClienteReport.GetFechaVenFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaVenFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosClienteReport.GetFechaVenInicio: Variant;
|
function TfEditorInformeRecibosClienteReport.GetFechaVenInicio: Variant;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ inherited fEditorInformeRecibosProvPendientesReport: TfEditorInformeRecibosProvP
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
@ -109,7 +109,7 @@ inherited fEditorInformeRecibosProvPendientesReport: TfEditorInformeRecibosProvP
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
|
|||||||
@ -53,7 +53,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -86,6 +86,10 @@ end;
|
|||||||
function TfEditorInformeRecibosProvPendientesReport.GetFechaFin: Variant;
|
function TfEditorInformeRecibosProvPendientesReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosProvPendientesReport.GetFechaInicio: Variant;
|
function TfEditorInformeRecibosProvPendientesReport.GetFechaInicio: Variant;
|
||||||
@ -96,6 +100,10 @@ end;
|
|||||||
function TfEditorInformeRecibosProvPendientesReport.GetFechaVenFin: Variant;
|
function TfEditorInformeRecibosProvPendientesReport.GetFechaVenFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaVenFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosProvPendientesReport.GetFechaVenInicio: Variant;
|
function TfEditorInformeRecibosProvPendientesReport.GetFechaVenInicio: Variant;
|
||||||
|
|||||||
@ -70,7 +70,7 @@ inherited fEditorInformeRecibosProveedorReport: TfEditorInformeRecibosProveedorR
|
|||||||
Width = 182
|
Width = 182
|
||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
inherited Label3: TLabel
|
inherited Label3: TLabel
|
||||||
Width = 85
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaFin: TcxDateEdit
|
inherited edtFechaFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
@ -111,7 +111,7 @@ inherited fEditorInformeRecibosProveedorReport: TfEditorInformeRecibosProveedorR
|
|||||||
ExplicitWidth = 182
|
ExplicitWidth = 182
|
||||||
ExplicitHeight = 99
|
ExplicitHeight = 99
|
||||||
inherited Label4: TLabel
|
inherited Label4: TLabel
|
||||||
Width = 160
|
Width = 172
|
||||||
end
|
end
|
||||||
inherited edtFechaVenFin: TcxDateEdit
|
inherited edtFechaVenFin: TcxDateEdit
|
||||||
Left = 76
|
Left = 76
|
||||||
|
|||||||
@ -53,7 +53,7 @@ implementation
|
|||||||
|
|
||||||
{$R *.dfm}
|
{$R *.dfm}
|
||||||
|
|
||||||
uses uROTypes, uGestorInformesController, uFactuGES_App;
|
uses uROTypes, DateUtils, uGestorInformesController, uFactuGES_App;
|
||||||
|
|
||||||
{ TfEditorGestorInformesReport }
|
{ TfEditorGestorInformesReport }
|
||||||
|
|
||||||
@ -86,6 +86,10 @@ end;
|
|||||||
function TfEditorInformeRecibosProveedorReport.GetFechaFin: Variant;
|
function TfEditorInformeRecibosProveedorReport.GetFechaFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosProveedorReport.GetFechaInicio: Variant;
|
function TfEditorInformeRecibosProveedorReport.GetFechaInicio: Variant;
|
||||||
@ -96,6 +100,10 @@ end;
|
|||||||
function TfEditorInformeRecibosProveedorReport.GetFechaVenFin: Variant;
|
function TfEditorInformeRecibosProveedorReport.GetFechaVenFin: Variant;
|
||||||
begin
|
begin
|
||||||
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
Result := frViewPeriodoFechas1.edtFechaVenFin.EditValue;
|
||||||
|
|
||||||
|
//Esto es para quitar la hora del timestamp para que luego no me redondee al dia siguiente
|
||||||
|
if not VarIsNull(Result) then
|
||||||
|
Result := DateOf(frViewPeriodoFechas1.edtFechaVenFin.Date);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TfEditorInformeRecibosProveedorReport.GetFechaVenInicio: Variant;
|
function TfEditorInformeRecibosProveedorReport.GetFechaVenInicio: Variant;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user