Revision 4b131981
Von Werner Hahn vor 8 Monaten hinzugefügt
- ID 4b131981f4da35a013bc9f097ac4a8a110f35cd5
- Vorgänger a1498986
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