Revision 762f3484
Von Sven Schöling vor mehr als 8 Jahren hinzugefügt
SL/Controller/Letter.pm | ||
---|---|---|
9 | 9 |
use SL::Controller::Helper::GetModels; |
10 | 10 |
use SL::Controller::Helper::ReportGenerator; |
11 | 11 |
use SL::CT; |
12 |
use SL::DB::Employee; |
|
13 |
use SL::DB::Language; |
|
12 | 14 |
use SL::DB::Letter; |
13 | 15 |
use SL::DB::LetterDraft; |
14 |
use SL::DB::Employee;
|
|
16 |
use SL::DB::Printer;
|
|
15 | 17 |
use SL::Helper::Flash qw(flash flash_later); |
16 | 18 |
use SL::Helper::CreatePDF; |
17 | 19 |
use SL::Helper::PrintOptions; |
... | ... | |
359 | 361 |
$::request->layout->add_javascripts('edit_part_window.js'); |
360 | 362 |
|
361 | 363 |
$::form->{language_id} ||= $params{language_id}; |
364 |
$::form->{languages} ||= SL::DB::Manager::Language->get_all_sorted; |
|
362 | 365 |
$::form->{printers} = SL::DB::Manager::Printer->get_all_sorted; |
363 | 366 |
|
364 | 367 |
$self->render('letter/edit', |
SL/Helper/PrintOptions.pm | ||
---|---|---|
67 | 67 |
($form->{type} =~ /_delivery_order$/) ? ( |
68 | 68 |
opthash($form->{type}, $form->{PD}{$form->{type}}, $locale->text('Delivery Order')), |
69 | 69 |
opthash('pick_list', $form->{PD}{pick_list}, $locale->text('Pick List')), |
70 |
) : undef, |
|
71 |
($form->{type} =~ /^letter$/) ? ( |
|
72 |
opthash('letter', $form->{PD}{letter}, $locale->text('Letter')), |
|
70 | 73 |
) : undef; |
71 | 74 |
|
72 | 75 |
push @SENDMODE, |
... | ... | |
122 | 125 |
|
123 | 126 |
my %dont_display_groupitems = ( |
124 | 127 |
'dunning' => 1, |
125 |
'letter' => 1, |
|
126 | 128 |
); |
127 | 129 |
|
128 | 130 |
my %template_vars = ( |
Auch abrufbar als: Unified diff
Briefe: Sprache im Druck