Revision ded8f86d
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
SL/Controller/ShopOrder.pm | ||
---|---|---|
91 | 91 |
$self->redirect_to(controller => "ShopOrder", action => 'list', filter => { 'transferred:eq_ignore_empty' => 0 }); |
92 | 92 |
} |
93 | 93 |
|
94 |
sub action_valid_order {
|
|
94 |
sub action_undelete_order {
|
|
95 | 95 |
my ( $self ) = @_; |
96 | 96 |
|
97 | 97 |
$self->shop_order->obsolete(0); |
templates/webpages/shop_order/show.html | ||
---|---|---|
122 | 122 |
</td> |
123 | 123 |
<td style="padding-left: 20px; vertical-align: top;"> |
124 | 124 |
[% IF IMPORT.obsolete %] |
125 |
<b>[% 'Shoporder deleted -- ' | $T8 %]</b><a href="controller.pl?action=ShopOrder/valid_order&import_id=[% IMPORT.id %]">[% 'revert deleted' | $T8 %]</a>
|
|
125 |
<b>[% 'Shoporder deleted -- ' | $T8 %]</b><a href="controller.pl?action=ShopOrder/undelete_order&import_id=[% IMPORT.id %]">[% 'revert deleted' | $T8 %]</a>
|
|
126 | 126 |
[% ELSE %] |
127 | 127 |
[% UNLESS IMPORT.transferred %] |
128 | 128 |
[% IF PROPOSALS %] |
Auch abrufbar als: Unified diff
Shopmodul: Action valid_order in undelete_order unbenannt