Revision 33729999
Von Kivitendo Admin vor fast 8 Jahren hinzugefügt
SL/DB/GLTransaction.pm | ||
---|---|---|
42 | 42 |
return sprintf("%s: %s %s %s (%s)", $self->abbreviation, $self->description, $self->reference, $amount, $self->transdate->to_kivitendo); |
43 | 43 |
} |
44 | 44 |
|
45 |
sub url_link { |
|
46 |
return 'gl.pl?action=edit&id=' . $_[0]->id; |
|
47 |
} |
|
48 |
|
|
45 | 49 |
sub link { |
46 | 50 |
my ($self) = @_; |
47 | 51 |
|
SL/DB/Invoice.pm | ||
---|---|---|
574 | 574 |
goto &customer; |
575 | 575 |
} |
576 | 576 |
|
577 |
sub url_link { |
|
578 |
return ($_[0]->invoice ? "is" : "ar") . '.pl?action=edit&type=invoice&id=' . $_[0]->id; |
|
579 |
} |
|
580 |
|
|
577 | 581 |
sub link { |
578 | 582 |
my ($self) = @_; |
579 | 583 |
|
SL/DB/PurchaseInvoice.pm | ||
---|---|---|
95 | 95 |
$::form->format_amount(\%::myconfig, $self->amount,2), $self->transdate->to_kivitendo); |
96 | 96 |
} |
97 | 97 |
|
98 |
sub url_link { |
|
99 |
return ($_[0]->invoice ? "ir" : "ap") . '.pl?action=edit&type=invoice&id=' . $_[0]->id; |
|
100 |
} |
|
101 |
|
|
98 | 102 |
sub link { |
99 | 103 |
my ($self) = @_; |
100 | 104 |
|
Auch abrufbar als: Unified diff
Neue Methode url_link für Rechnungen und Dialogbuchungen