Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 43e56b93

Von Sven Schöling vor mehr als 12 Jahren hinzugefügt

  • ID 43e56b936a7b6f799bac548de484b2881428f9f5
  • Vorgänger 6ad851ab
  • Nachfolger 3a6d52b8

gelöschte Benutzer in ir/form_header ausblenden

Unterschiede anzeigen:

bin/mozilla/ir.pl
287 287
                   "projects"      => { "key"    => "ALL_PROJECTS",
288 288
                                        "all"    => 0,
289 289
                                        "old_id" => \@old_project_ids },
290
                   "employees"     => "ALL_EMPLOYEES",
291 290
                   "taxzones"      => "ALL_TAXZONES",
292 291
                   "currencies"    => "ALL_CURRENCIES",
293 292
                   "vendors"       => "ALL_VENDORS",
294 293
                   "departments"   => "all_departments",
295 294
                   "price_factors" => "ALL_PRICE_FACTORS");
296 295

  
296
  $TMPL_VAR{ALL_EMPLOYEES}         = SL::DB::Manager::Employee->get_all(query => [ or => [ id => $::form->{employee_id},  deleted => 0 ] ]);
297 297
  $TMPL_VAR{ALL_CONTACTS}          = SL::DB::Manager::Contact->get_all(query => [
298 298
    or => [
299 299
      cp_cv_id => $::form->{"$::form->{vc}_id"} * 1,
......
303 303
      ]
304 304
    ]
305 305
  ]);
306
  $TMPL_VAR{sales_employee_labels} = sub { $_[0]->{name} || $_[0]->{login} };
307
#  $TMPL_VAR{shipto_labels}         = sub { join "; ", grep { $_ } map { $_[0]->{"shipto${_}" } } qw(name department_1 street city) };
308 306
  $TMPL_VAR{department_labels}     = sub { "$_[0]->{description}--$_[0]->{id}" };
309 307

  
310 308
  # customer

Auch abrufbar als: Unified diff