X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/fcade7254d366eb6483b5640947589d989f01c95..76cd04055be595e5b38271715bf6feec1c984cc8:/SL/DB/GLTransaction.pm?ds=inline diff --git a/SL/DB/GLTransaction.pm b/SL/DB/GLTransaction.pm index 52c8b6e2e..67a4d3aca 100644 --- a/SL/DB/GLTransaction.pm +++ b/SL/DB/GLTransaction.pm @@ -28,7 +28,19 @@ sub abbreviation { my $abbreviation = $::locale->text('GL Transaction (abbreviation)'); $abbreviation .= "(" . $::locale->text('Storno (one letter abbreviation)') . ")" if $self->storno; return $abbreviation; +} + +sub link { + my ($self) = @_; + + my $html; + $html = SL::Presenter->get->gl_transaction($self, display => 'inline'); + + return $html; +} +sub invnumber { + return $_[0]->reference; } 1;