Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision c9afe9ec

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID c9afe9ec5631e954b9251d64d7ade788d6166571
  • Vorgänger a8df6e94
  • Nachfolger 4169eac6

OrderController: Angebote schliessen, wenn Auftrag daraus erstellt

über Model::Record

Unterschiede anzeigen:

SL/Controller/Order.pm
2125 2125
    );
2126 2126
  }
2127 2127

  
2128
  my $objects_to_close = SL::DB::Manager::Order->get_all(where => [id => \@converted_from_oe_ids, quotation => 1]);
2129

  
2128 2130
  my $items_to_delete = scalar @{ $self->item_ids_to_delete || [] }
2129 2131
                      ? SL::DB::Manager::OrderItem->get_all(where => [id => $self->item_ids_to_delete])
2130 2132
                      : undef;
......
2133 2135
                          with_validity_token  => { scope => SL::DB::ValidityToken::SCOPE_ORDER_SAVE(), token => $::form->{form_validity_token} },
2134 2136
                          delete_custom_shipto => $self->is_custom_shipto_to_delete || $self->order->custom_shipto->is_empty,
2135 2137
                          items_to_delete      => $items_to_delete,
2138
                          objects_to_close     => $objects_to_close,
2136 2139
                          history              => { snumbers => $self->get_history_snumbers() },
2137 2140
                          link_requirement_specs_linking_to_created_from_objects => \@converted_from_oe_ids,
2138 2141
                          set_project_in_linked_requirement_specs                => 1,

Auch abrufbar als: Unified diff