Skip to content

Commit

Permalink
Fix missing start dates
Browse files Browse the repository at this point in the history
  • Loading branch information
ylavoie committed Jun 3, 2024
1 parent e48d929 commit e800b22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/LedgerSMB/Scripts/pnl.pm
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,8 @@ sub generate_income_statement {
$rpt = LedgerSMB::Report::PNL::Income_Statement->new(
%$request,
formatter_options => $request->formatter_options,
from_date => $request->parse_date( $request->{from_date} ),
to_date => $request->parse_date( $request->{to_date} ),
column_path_prefix => [ 0 ]);
$rpt->run_report($request);

Expand Down
2 changes: 2 additions & 0 deletions lib/LedgerSMB/Scripts/reports.pm
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ sub generate_balance_sheet {
my $rpt = LedgerSMB::Report::Balance_Sheet->new(
%$request,
formatter_options => $request->formatter_options,
from_date => $request->parse_date( $request->{from_date} ),
to_date => $request->parse_date( $request->{to_date} ),
column_path_prefix => [ 0 ]);
$rpt->run_report($request);

Expand Down

0 comments on commit e800b22

Please sign in to comment.