Revision 6010f8bf
Von Jan Büren vor etwa 9 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
538 | 538 |
# force new project, if not set yet |
539 | 539 |
if ($::instance_conf->get_order_always_project && !$form->{"globalproject_id"} && ($form->{type} eq 'sales_order')) { |
540 | 540 |
require SL::DB::Customer; |
541 |
my $customer = SL::DB::Manager::Customer->find_by( id => $form->{customer_id} );
|
|
541 |
my $customer = SL::DB::Manager::Customer->find_by(id => $form->{customer_id});
|
|
542 | 542 |
die "Can't find customer" unless $customer; |
543 | 543 |
my $new_project = SL::DB::Project->new( |
544 | 544 |
projectnumber => $form->{ordnumber}, |
Auch abrufbar als: Unified diff
Kosmetik