Revision 3e15b504
Von Bernd Bleßmann vor fast 9 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
11 | 11 |
use SL::DB::Employee; |
12 | 12 |
use SL::Helper::Flash qw(flash); |
13 | 13 |
use SL::Helper::CreatePDF; |
14 |
use SL::Helper::PrintOptions; |
|
14 | 15 |
use SL::Locale::String qw(t8); |
15 | 16 |
use SL::IS; |
16 | 17 |
use SL::ReportGenerator; |
... | ... | |
302 | 303 |
|
303 | 304 |
my $letter = $self->letter; |
304 | 305 |
|
305 |
require 'bin/mozilla/io.pl'; |
|
306 |
|
|
307 | 306 |
$params{title} ||= t8('Edit Letter'); |
308 | 307 |
|
309 | 308 |
$::form->{type} = 'letter'; # needed for print_options |
... | ... | |
320 | 319 |
PCF => [ map { key => $_, value => t8(ucfirst $_) }, PAGE_CREATED_FOR_VALUES() ], |
321 | 320 |
letter => $letter, |
322 | 321 |
employees => $self->all_employees, |
323 |
print_options => print_options(inline => 1),
|
|
322 |
print_options => SL::Helper::PrintOptions->get_print_options,
|
|
324 | 323 |
); |
325 | 324 |
} |
326 | 325 |
|
Auch abrufbar als: Unified diff
Letter: PrintOptions-Helper verwenden.