From: Moritz Bunkus Date: Fri, 1 Feb 2013 11:12:16 +0000 (+0100) Subject: Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render X-Git-Tag: release-3.1.0beta1~22^2~73 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=9c981a55bd776286151af4fc772117d051f8a731;p=kivitendo-erp.git Refactoring: Parameterredesign SL::Controller::Base::render und SL::Presenter::render --- diff --git a/SL/Controller/FinancialControllingReport.pm b/SL/Controller/FinancialControllingReport.pm index 5b99ed262..84be61bdb 100644 --- a/SL/Controller/FinancialControllingReport.pm +++ b/SL/Controller/FinancialControllingReport.pm @@ -114,8 +114,8 @@ sub prepare_report { controller_class => 'FinancialControllingReport', output_format => 'HTML', top_info_text => $::locale->text('Financial controlling report for open sales orders'), - raw_top_info_text => $self->render('financial_controlling_report/report_top', { no_output => 1, partial => 1 }), - raw_bottom_info_text => $self->render('financial_controlling_report/report_bottom', { no_output => 1, partial => 1 }), + raw_top_info_text => $self->render('financial_controlling_report/report_top', { output => 0 }), + raw_bottom_info_text => $self->render('financial_controlling_report/report_bottom', { output => 0 }), title => $::locale->text('Financial Controlling Report'), allow_pdf_export => 1, allow_csv_export => 1, diff --git a/SL/Controller/ProjectType.pm b/SL/Controller/ProjectType.pm index 89d8c902b..e986924e2 100644 --- a/SL/Controller/ProjectType.pm +++ b/SL/Controller/ProjectType.pm @@ -68,7 +68,7 @@ sub action_reorder { SL::DB::ProjectType->reorder_list(@{ $::form->{project_type_id} || [] }); - $self->render('1;', { type => 'js', inline => 1 }); + $self->render(\'', { type => 'json' }); } #