Revision 01591fa7
Von Bernd Bleßmann vor mehr als 7 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
1279 | 1279 |
push(@project_ids, $form->{"globalproject_id"}) if ($form->{"globalproject_id"}); |
1280 | 1280 |
|
1281 | 1281 |
$form->get_lists('price_factors' => 'ALL_PRICE_FACTORS'); |
1282 |
$form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all; |
|
1283 | 1282 |
my %price_factors; |
1284 | 1283 |
|
1285 | 1284 |
foreach my $pfac (@{ $form->{ALL_PRICE_FACTORS} }) { |
... | ... | |
1607 | 1606 |
|
1608 | 1607 |
$form->{username} = $myconfig->{name}; |
1609 | 1608 |
|
1609 |
$form->{department} = SL::DB::Manager::Department->find_by(id => $form->{department_id})->description if $form->{department_id}; |
|
1610 | 1610 |
$form->{delivery_term} = SL::DB::Manager::DeliveryTerm->find_by(id => $form->{delivery_term_id} || undef); |
1611 | 1611 |
$form->{delivery_term}->description_long($form->{delivery_term}->translated_attribute('description_long', $form->{language_id})) if $form->{delivery_term} && $form->{language_id}; |
1612 | 1612 |
|
Auch abrufbar als: Unified diff
Angebot/Auftrag: Abteilung als Variable in Druckvorlage wieder verwendbar machen
Ging in commit dd2ee66b1d04c3644c48c32b33673463af223077
"Aufträge - Abteilung per ALL_DEPARTMENTS und L.select_tag"
kaputt.
behebt #262 (redmine)