Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision bb8cb021

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

  • ID bb8cb021cef58ff5d6319b1087f01ee0df67d4ca
  • Vorgänger 6a160ed7
  • Nachfolger 666d62d4

OrderController: Preise beim Speichern auch berechnen

über Model::Record

Unterschiede anzeigen:

SL/Controller/Order.pm
2092 2092
                      : undef;
2093 2093

  
2094 2094
  SL::Model::Record->save($self->order,
2095
                          with_validity_token  => { scope => SL::DB::ValidityToken::SCOPE_ORDER_SAVE(), token => $::form->{form_validity_token} },
2096
                          delete_custom_shipto => $self->is_custom_shipto_to_delete || $self->order->custom_shipto->is_empty,
2097
                          items_to_delete      => $items_to_delete,
2098
                          objects_to_close     => $objects_to_close,
2099
                          history              => { snumbers => $self->get_history_snumbers() },
2095
                          calculate_prices_and_taxes => 1,
2096
                          with_validity_token        => { scope => SL::DB::ValidityToken::SCOPE_ORDER_SAVE(), token => $::form->{form_validity_token} },
2097
                          delete_custom_shipto       => $self->is_custom_shipto_to_delete || $self->order->custom_shipto->is_empty,
2098
                          items_to_delete            => $items_to_delete,
2099
                          objects_to_close           => $objects_to_close,
2100
                          history                    => { snumbers => $self->get_history_snumbers() },
2100 2101
                          link_requirement_specs_linking_to_created_from_objects => \@converted_from_oe_ids,
2101 2102
                          set_project_in_linked_requirement_specs                => 1,
2102 2103
  );

Auch abrufbar als: Unified diff