}
@columns =
- qw(transdate id invnumber ordnumber name netamount tax amount paid datepaid
+ qw(transdate id type invnumber ordnumber name netamount tax amount paid datepaid
due duedate notes employee globalprojectnumber);
+ $form->{"l_type"} = "Y";
+
foreach $item (@columns) {
if ($form->{"l_$item"} eq "Y") {
push @column_index, $item;
qq|<th><a class=listheading href=$href&sort=transdate>|
. $locale->text('Date')
. qq|</a></th>|;
+ $column_header{type} =
+ "<th class=\"listheading\">" . $locale->text('Type') . "</th>";
$column_header{duedate} =
qq|<th><a class=listheading href=$href&sort=duedate>|
. $locale->text('Due Date')
$subtotaldue += ($ap->{amount} - $ap->{paid});
$column_data{transdate} = "<td>$ap->{transdate} </td>";
+ $column_data{type} = "<td>" .
+ ($ap->{invoice} ? $locale->text("Invoice (one letter abbreviation)") :
+ $locale->text("AP Transaction (abbreviation)"))
+ . "</td>";
$column_data{duedate} = "<td>$ap->{duedate} </td>";
$column_data{datepaid} = "<td>$ap->{datepaid} </td>";
'AP' => 'Einkauf',
'AP Aging' => 'Offene Verbindlichkeiten',
'AP Transaction' => 'Kreditorenbuchung',
+ 'AP Transaction (abbreviation)' => 'K',
'AP Transactions' => 'Kreditorenbuchungen',
'AR' => 'Verkauf',
'AR Aging' => 'Offene Forderungen',
' Payment posted!' => 'Zahlung gebucht!',
'ADDED' => 'Hinzugefügt',
'AP Transaction' => 'Kreditorenbuchung',
+ 'AP Transaction (abbreviation)' => 'K',
'AP Transactions' => 'Kreditorenbuchungen',
'Account' => 'Konto',
'Add Accounts Payables Transaction' => 'Kreditorenbuchung erfassen',
'ID' => 'Buchungsnummer',
'Include in Report' => 'In Bericht aufnehmen',
'Invoice' => 'Rechnung',
+ 'Invoice (one letter abbreviation)' => 'R',
'Invoice Date' => 'Rechnungsdatum',
'Invoice Date missing!' => 'Rechnungsdatum fehlt!',
'Invoice Number' => 'Rechnungsnummer',
'Transaction deleted!' => 'Buchung gelöscht!',
'Transaction posted!' => 'Buchung verbucht!',
'Trying to call a sub without a name' => 'Es wurde versucht, eine Unterfunktion ohne Namen aufzurufen.',
+ 'Type' => 'Typ',
'Unit' => 'Einheit',
'Unknown dependency \'%s\'.' => 'Unbekannte Abhängigkeit \'%s\'.',
'Update' => 'Erneuern',