Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b40543a1

Von Sven Schöling vor fast 3 Jahren hinzugefügt

  • ID b40543a1f8a293ad8545759385cae37b0ac9f7c1
  • Vorgänger 23586a58
  • Nachfolger b93214d1

DeliveryOrder: Übergabe in/out verbessert

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
407 407
                                  email_form  => $email_form,
408 408
                                  show_bcc    => $::auth->assert('email_bcc', 'may fail'),
409 409
                                  FILES       => \%files,
410
                                  is_customer => $self->cv eq 'customer',
410
                                  is_customer => $self->type_data->is_customer,
411 411
                                  ALL_EMPLOYEES => $self->{all_employees},
412 412
  );
413 413

  
......
1637 1637
                                                } } @all_objects;
1638 1638
  }
1639 1639

  
1640
  $self->{template_args}{inout} = $self->type_data->properties('transfer');
1640
  $self->{template_args}{in_out} = $self->type_data->transfer;
1641 1641

  
1642 1642
  $self->get_item_cvpartnumber($_) for @{$self->order->items_sorted};
1643 1643

  
......
2007 2007

  
2008 2008
  return "" if !$item->part || !$item->part->unit || !$item->unit;
2009 2009

  
2010
  my $in_out   = $self->type_data->properties("transfer");
2010
  my $in_out   = $self->type_data->transfer;
2011 2011

  
2012 2012
  my $do_qty   = $item->qty;
2013 2013
  my $sum      = sum0 map {

Auch abrufbar als: Unified diff