Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 15aab04c

Von Bernd Bleßmann vor etwa 3 Jahren hinzugefügt

  • ID 15aab04c1710b3c8a2bf8785aef31f13a958a43e
  • Vorgänger f8fff60b
  • Nachfolger afd5395b

neuen Artikel aus Angebots-/Auftrags-Maske anlegen: Variable besser benannt

Unterschiede anzeigen:

SL/Controller/DeliveryOrder.pm
flash_later('info', t8('You are adding a new part while you are editing another document. You will be redirected to your document when saving the new part or aborting this form.'));
my @redirect_params = (
controller => 'Part',
action => 'add',
part_type => $::form->{add_item}->{create_part_type},
callback => $callback,
show_abort => 1,
controller => 'Part',
action => 'add',
part_type => $::form->{add_item}->{create_part_type},
callback => $callback,
inline_create => 1,
);
$self->redirect_to(@redirect_params);
SL/Controller/Order.pm
flash_later('info', t8('You are adding a new part while you are editing another document. You will be redirected to your document when saving the new part or aborting this form.'));
my @redirect_params = (
controller => 'Part',
action => 'add',
part_type => $::form->{add_item}->{create_part_type},
callback => $callback,
show_abort => 1,
controller => 'Part',
action => 'add',
part_type => $::form->{add_item}->{create_part_type},
callback => $callback,
inline_create => 1,
);
$self->redirect_to(@redirect_params);
SL/Controller/Part.pm
action => [
t8('Abort'),
submit => [ '#ic', { action => "Part/abort" } ],
only_if => !!$::form->{show_abort},
only_if => !!$::form->{inline_create},
],
action => [

Auch abrufbar als: Unified diff