Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e86c1c2a

Von Bernd Bleßmann vor fast 9 Jahren hinzugefügt

  • ID e86c1c2a39bd3287319a134b0889a933ffc50b9e
  • Vorgänger e09f2da3
  • Nachfolger 683dc060

Auftrags-Controller: unbenutzte action "update" entfernt.

Unterschiede anzeigen:

SL/Controller/Order.pm
48 48
__PACKAGE__->run_before('_check_auth');
49 49

  
50 50
__PACKAGE__->run_before('_recalc',
51
                        only => [ qw(update save save_and_delivery_order print create_pdf send_email) ]);
51
                        only => [ qw(save save_and_delivery_order print create_pdf send_email) ]);
52 52

  
53 53
__PACKAGE__->run_before('_get_unalterable_data',
54 54
                        only => [ qw(save save_and_delivery_order print create_pdf send_email) ]);
......
88 88
  );
89 89
}
90 90

  
91
sub action_update {
92
  my ($self) = @_;
93

  
94
  $self->_pre_render();
95
  $self->render(
96
    'order/form',
97
    title => $self->type eq _sales_order_type()    ? $::locale->text('Edit Sales Order')
98
           : $self->type eq _purchase_order_type() ? $::locale->text('Edit Purchase Order')
99
           : '',
100
    %{$self->{template_args}}
101
  );
102
}
103

  
104 91
sub action_delete {
105 92
  my ($self) = @_;
106 93

  

Auch abrufbar als: Unified diff