Revision 54f8895e
Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt
SL/Controller/Part.pm | ||
---|---|---|
537 | 537 |
return $self->js->error(t8("No business selected or found!"))->render; |
538 | 538 |
|
539 | 539 |
if ( grep { $business_id == $_->business_id } @{ $self->businessmodels } ) { |
540 |
$self->js->flash('info', t8("This business has already been added.")); |
|
540 |
return $self->js |
|
541 |
->scroll_into_view('#content') |
|
542 |
->flash('error', (t8("This business has already been added."))) |
|
543 |
->render; |
|
541 | 544 |
}; |
542 | 545 |
|
543 | 546 |
my $position = scalar @{ $self->businessmodels } + 1; |
Auch abrufbar als: Unified diff
kundentyp-spezifische Artikelnummern: Fehlermeldung, wenn schon angelegt