Revision 63a18cca
Von Moritz Bunkus vor fast 8 Jahren hinzugefügt
bin/mozilla/is.pl | ||
---|---|---|
45 | 45 |
|
46 | 46 |
use SL::DB::Default; |
47 | 47 |
use SL::DB::Customer; |
48 |
use SL::DB::Department; |
|
48 | 49 |
use SL::DB::Invoice; |
49 | 50 |
use SL::DB::PaymentTerm; |
50 | 51 |
|
... | ... | |
274 | 275 |
"currencies" => "ALL_CURRENCIES", |
275 | 276 |
"price_factors" => "ALL_PRICE_FACTORS"); |
276 | 277 |
|
277 |
$form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all; |
|
278 |
$form->{ALL_DEPARTMENTS} = SL::DB::Manager::Department->get_all_sorted;
|
|
278 | 279 |
|
279 | 280 |
# Projects |
280 | 281 |
my @old_project_ids = uniq grep { $_ } map { $_ * 1 } ($form->{"globalproject_id"}, map { $form->{"project_id_$_"} } 1..$form->{"rowcount"}); |
... | ... | |
309 | 310 |
] |
310 | 311 |
] |
311 | 312 |
]); |
312 |
$TMPL_VAR{department_labels} = sub { "$_[0]->{description}--$_[0]->{id}" }; |
|
313 | 313 |
|
314 | 314 |
# currencies and exchangerate |
315 | 315 |
my @values = map { $_ } @{ $form->{ALL_CURRENCIES} }; |
Auch abrufbar als: Unified diff
Verkaufsrechnungen: Abteilungen sortiert anzeigen