Revision 5e2cb6ed
Von Sven Schöling vor mehr als 10 Jahren hinzugefügt
bin/mozilla/rp.pl | ||
---|---|---|
39 | 39 |
|
40 | 40 |
use SL::DB::Default; |
41 | 41 |
use SL::DB::Project; |
42 |
use SL::DB::Customer; |
|
42 | 43 |
use SL::PE; |
43 | 44 |
use SL::RP; |
44 | 45 |
use SL::Iconv; |
... | ... | |
140 | 141 |
); |
141 | 142 |
|
142 | 143 |
$::form->{title} = $title{$::form->{report}}; |
144 |
$::request->{layout}->add_javascripts('autocomplete_customer.js'); |
|
143 | 145 |
|
144 | 146 |
# get departments |
145 | 147 |
$::form->all_departments(\%::myconfig); |
... | ... | |
630 | 632 |
$form->{company} = $locale->text('Company') . " " . $defaults->company; |
631 | 633 |
push (@options, $form->{company}); |
632 | 634 |
|
635 |
if ($::form->{customer_id}) { |
|
636 |
my $customer = SL::DB::Manager::Customer->find_by(id => $::form->{customer_id}); |
|
637 |
push @options, $::locale->text('Customer') . ' ' . $customer->displayable_name; |
|
638 |
} |
|
639 |
|
|
633 | 640 |
|
634 | 641 |
$form->{template_to} = $locale->date(\%myconfig, $form->{todate}, 0); |
635 | 642 |
|
Auch abrufbar als: Unified diff
Kundenauswahl bei Summen-/Saldenliste