Revision 0e71319b
Von Werner Hahn vor 8 Monaten hinzugefügt
SL/Presenter/DeliveryOrder.pm | ||
---|---|---|
28 | 28 |
|
29 | 29 |
sub delivery_order { |
30 | 30 |
my ($delivery_order, %params) = @_; |
31 |
my $type = $delivery_order->record_type; |
|
31 | 32 |
|
32 | 33 |
$params{display} ||= 'inline'; |
33 | 34 |
|
... | ... | |
36 | 37 |
my $text = escape($delivery_order->donumber); |
37 | 38 |
if (! delete $params{no_link}) { |
38 | 39 |
my $href = 'controller.pl?action=DeliveryOrder/edit' |
40 |
. '&type=' . $type |
|
39 | 41 |
. '&id=' . escape($delivery_order->id); |
40 | 42 |
$text = link_tag($href, $text, %params); |
41 | 43 |
} |
Auch abrufbar als: Unified diff
Presenter::DeliveryOrder type für Link it übergeben
behebt #675