Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 77b3a4c7

Von Bernd Bleßmann vor etwa 1 Jahr hinzugefügt

  • ID 77b3a4c73ee882d3a9114724efd3dbc2f98665fb
  • Vorgänger 51b3b122
  • Nachfolger 67179a67

OrderController: Preise beim Speichern auch berechnen

über Model::Record

Unterschiede anzeigen:

SL/Controller/Order.pm
2157 2157
                      : undef;
2158 2158

  
2159 2159
  SL::Model::Record->save($self->order,
2160
                          with_validity_token  => { scope => SL::DB::ValidityToken::SCOPE_ORDER_SAVE(), token => $::form->{form_validity_token} },
2161
                          delete_custom_shipto => $self->is_custom_shipto_to_delete || $self->order->custom_shipto->is_empty,
2162
                          items_to_delete      => $items_to_delete,
2163
                          objects_to_close     => $objects_to_close,
2164
                          history              => { snumbers => $self->get_history_snumbers() },
2160
                          calculate_prices_and_taxes => 1,
2161
                          with_validity_token        => { scope => SL::DB::ValidityToken::SCOPE_ORDER_SAVE(), token => $::form->{form_validity_token} },
2162
                          delete_custom_shipto       => $self->is_custom_shipto_to_delete || $self->order->custom_shipto->is_empty,
2163
                          items_to_delete            => $items_to_delete,
2164
                          objects_to_close           => $objects_to_close,
2165
                          history                    => { snumbers => $self->get_history_snumbers() },
2165 2166
                          link_requirement_specs_linking_to_created_from_objects => \@converted_from_oe_ids,
2166 2167
                          set_project_in_linked_requirement_specs                => 1,
2167 2168
  );

Auch abrufbar als: Unified diff