X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/d6d08d5ee343b6552656a9bb7450374897a16e1a..b720e272:/SL/Presenter/Record.pm
diff --git a/SL/Presenter/Record.pm b/SL/Presenter/Record.pm
index 368a05d7c..23c5d46ea 100644
--- a/SL/Presenter/Record.pm
+++ b/SL/Presenter/Record.pm
@@ -340,6 +340,7 @@ sub _sales_invoice_list {
type => 'sales_invoice',
columns => [
[ $::locale->text('Invoice Date'), 'transdate' ],
+ [ $::locale->text('Type'), sub { $_[0]->displayable_type } ],
[ $::locale->text('Invoice Number'), sub { $self->sales_invoice($_[0], display => 'table-cell') } ],
[ $::locale->text('Quotation Number'), 'quonumber' ],
[ $::locale->text('Order Number'), 'ordnumber' ],
@@ -382,6 +383,7 @@ sub _ar_transaction_list {
type => 'ar_transaction',
columns => [
[ $::locale->text('Invoice Date'), 'transdate' ],
+ [ $::locale->text('Type'), sub { $_[0]->displayable_type } ],
[ $::locale->text('Invoice Number'), sub { $self->ar_transaction($_[0], display => 'table-cell') } ],
[ $::locale->text('Customer'), 'customer' ],
[ $::locale->text('Net amount'), 'netamount' ],
@@ -570,13 +572,13 @@ C.
=item C
Can be set by the caller to indicate additional columns to
-list. Currently supported:
+be listed. Currently supported:
=over 2
=item C
-The record link destination. Requires that the records to list have
+The record link destination. Requires that the records to be listed have
been retrieved via the L helper.
=back
@@ -584,7 +586,7 @@ been retrieved via the L helper.
=item C
If trueish additional controls will be rendered that allow the user to
-remove and add record links. Requires that the records to list have
+remove and add record links. Requires that the records to be listed have
been retrieved via the L helper.
=back