From 84bed7a655edfe816ad2a04b5549b6bd6a968c79 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 25 Apr 2007 13:37:14 +0000 Subject: [PATCH] =?utf8?q?Bei=20der=20Liste=20der=20Einkaufsrechnungen=20d?= =?utf8?q?en=20Typ=20anzeigen:=20"R"=20f=C3=BCr=20Einkaufsrechnungen=20und?= =?utf8?q?=20"K"=20f=C3=BCr=20Kreditorenbuchungen.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ap.pl | 10 +++++++++- locale/de/all | 1 + locale/de/ap | 3 +++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index b0ab9905c..c8a3ba6d6 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1456,9 +1456,11 @@ sub ap_transactions { } @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; @@ -1482,6 +1484,8 @@ sub ap_transactions { qq|| . $locale->text('Date') . qq||; + $column_header{type} = + "" . $locale->text('Type') . ""; $column_header{duedate} = qq|| . $locale->text('Due Date') @@ -1596,6 +1600,10 @@ sub ap_transactions { $subtotaldue += ($ap->{amount} - $ap->{paid}); $column_data{transdate} = "$ap->{transdate} "; + $column_data{type} = "" . + ($ap->{invoice} ? $locale->text("Invoice (one letter abbreviation)") : + $locale->text("AP Transaction (abbreviation)")) + . ""; $column_data{duedate} = "$ap->{duedate} "; $column_data{datepaid} = "$ap->{datepaid} "; diff --git a/locale/de/all b/locale/de/all index e45f82114..1426aee42 100644 --- a/locale/de/all +++ b/locale/de/all @@ -32,6 +32,7 @@ $self->{texts} = { 'AP' => 'Einkauf', 'AP Aging' => 'Offene Verbindlichkeiten', 'AP Transaction' => 'Kreditorenbuchung', + 'AP Transaction (abbreviation)' => 'K', 'AP Transactions' => 'Kreditorenbuchungen', 'AR' => 'Verkauf', 'AR Aging' => 'Offene Forderungen', diff --git a/locale/de/ap b/locale/de/ap index 0720c64b5..1c116f76c 100644 --- a/locale/de/ap +++ b/locale/de/ap @@ -2,6 +2,7 @@ $self->{texts} = { ' 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', @@ -61,6 +62,7 @@ $self->{texts} = { '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', @@ -136,6 +138,7 @@ $self->{texts} = { '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', -- 2.20.1