Revision d72796a6
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/Controller/Order.pm | ||
---|---|---|
234 | 234 |
|
235 | 235 |
$self->save(); |
236 | 236 |
|
237 |
my $text = $self->type eq SALES_ORDER_INTAKE_TYPE() ? $::locale->text('The order intake has been saved') |
|
238 |
: $self->type eq SALES_ORDER_TYPE() ? $::locale->text('The order confirmation has been saved') |
|
239 |
: $self->type eq PURCHASE_ORDER_TYPE() ? $::locale->text('The order has been saved') |
|
240 |
: $self->type eq SALES_QUOTATION_TYPE() ? $::locale->text('The quotation has been saved') |
|
241 |
: $self->type eq REQUEST_QUOTATION_TYPE() ? $::locale->text('The rfq has been saved') |
|
242 |
: $self->type eq PURCHASE_QUOTATION_INTAKE_TYPE() ? $::locale->text('The quotation intake has been saved') |
|
243 |
: ''; |
|
244 |
flash_later('info', $text); |
|
237 |
flash_later('info', $self->type_data->text('saved')); |
|
245 | 238 |
|
246 | 239 |
my @redirect_params; |
247 | 240 |
if ($::form->{back_to_caller}) { |
Auch abrufbar als: Unified diff
Controller::Order: Nutze type_data Text fürs Speichern