Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision cd12eddf

Von Bernd Bleßmann vor 10 Monaten hinzugefügt

  • ID cd12eddf9a4079b72769af1083133a7a0db6b21e
  • Vorgänger 0f8833aa
  • Nachfolger e284a2eb

Auslaufende Artikel: Warnung beim "Als neu speichern" bei entsprechenden Belegen

Unterschiede anzeigen:

SL/Controller/Order.pm
332 332
  my @obsolete_positions = map { $_->position } grep { $_->part->obsolete } @{ $self->order->items_sorted };
333 333
  flash_later('warning', t8('This record containts obsolete items at position #1', join ', ', @obsolete_positions)) if @obsolete_positions;
334 334

  
335
  # Warn on order locked items if they are not wanted for this record type
336
  if ($self->type_data->no_order_locked_parts) {
337
    my @order_locked_positions = map { $_->position } grep { $_->part->order_locked } @{ $self->order->items_sorted };
338
    flash_later('warning', t8('This record containts not orderable items at position #1', join ', ', @order_locked_positions)) if @order_locked_positions;
339
  }
340

  
335 341
  if (!$::form->{form_validity_token}) {
336 342
    $::form->{form_validity_token} = SL::DB::ValidityToken->create(scope => SL::DB::ValidityToken::SCOPE_ORDER_SAVE())->token;
337 343
  }
locale/de/all
4417 4417
  'This part was already counted for this bin:' => 'Dieser Artikel wurde für diesen Lagerplatz bereits erfasst:',
4418 4418
  'This price has since gone down' => 'Dieser Preis ist mittlerweile niedriger',
4419 4419
  'This price has since gone up' => 'Dieser Preis ist mittlerweile höher',
4420
  'This record containts not orderable items at position #1' => 'Dieser Beleg enthält nicht bestellbare Artikel an Position #1',
4420 4421
  'This record containts obsolete items at position #1' => 'Dieser Beleg enthält ungültige Artikel an Position #1',
4421 4422
  'This record has already been closed.' => 'Dieser Beleg wurde bereits geschlossen.',
4422 4423
  'This record has already been delivered.' => 'Dieser Beleg wurde bereits geliefert.',
locale/en/all
4415 4415
  'This part was already counted for this bin:' => '',
4416 4416
  'This price has since gone down' => '',
4417 4417
  'This price has since gone up' => '',
4418
  'This record containts not orderable items at position #1' => '',
4418 4419
  'This record containts obsolete items at position #1' => '',
4419 4420
  'This record has already been closed.' => '',
4420 4421
  'This record has already been delivered.' => '',

Auch abrufbar als: Unified diff