Revision ae1a87d3
Von Moritz Bunkus vor fast 13 Jahren hinzugefügt
bin/mozilla/dn.pl | ||
---|---|---|
368 | 368 |
duedate amount dunning_date dunning_duedate fee interest salesman)); |
369 | 369 |
$report->set_sort_indicator($form->{sort}, $form->{sortdir}); |
370 | 370 |
|
371 |
my $edit_url = build_std_url('script=is.pl', 'action=edit', 'callback') . '&id=';
|
|
371 |
my $edit_url = sub { build_std_url('script=' . ($_[0]->{invoice} ? 'is' : 'ar') . '.pl', 'action=edit', 'callback') . '&id=' . $::form->escape($_[0]->{id}) };
|
|
372 | 372 |
my $print_url = build_std_url('action=print_dunning', 'format=pdf', 'media=screen') . '&dunning_id='; |
373 | 373 |
my $sort_url = build_std_url('action=show_dunning', grep { $form->{$_} } @filter_field_list); |
374 | 374 |
|
... | ... | |
403 | 403 |
|
404 | 404 |
'align' => $alignment{$column}, |
405 | 405 |
|
406 |
'link' => ($column eq 'invnumber' ? $edit_url . E($ref->{id}) : |
|
407 |
$column eq 'dunning_description' ? $print_url . E($ref->{dunning_id}) : ''), |
|
406 |
'link' => ( $column eq 'invnumber' ? $edit_url->($ref) |
|
407 |
: $column eq 'dunning_description' ? $print_url . E($ref->{dunning_id}) |
|
408 |
: ''), |
|
408 | 409 |
}; |
409 | 410 |
} |
410 | 411 |
|
Auch abrufbar als: Unified diff
Bearbeiten-Link in Mahnungsliste richtig auf Rechnung/Debitorenbuchung setzen
Fix für Bug 1728.