From 83b760fbb97a5fd96ec2b9b6fa6ee146e72d08c0 Mon Sep 17 00:00:00 2001 From: "Martin Helmling mh@waldpark.octosoft.eu" Date: Mon, 25 Apr 2016 10:55:29 +0200 Subject: [PATCH] =?utf8?q?Rechnungen:=20Zahlungsein-/-ausg=C3=A4nge=20nach?= =?utf8?q?=20Datum=20sortieren(2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Für Einkaufsrechnungen oder Kreditorenbuchungen muss statt ER_paid die Konten AP_paid mit sortiert werden. Ansonsten stehen die falschen Konten hinter den Beträgen fix Commit 0d37f1e8 vom 30.9.2015 --- bin/mozilla/ap.pl | 2 +- bin/mozilla/ir.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 1070c673b..1cf71d8ee 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -190,7 +190,7 @@ sub create_links { } sub _sort_payments { - my @fields = qw(acc_trans_id gldate datepaid source memo paid AR_paid paid_project_id); + my @fields = qw(acc_trans_id gldate datepaid source memo paid AP_paid paid_project_id); my @payments = grep { $_->{paid} != 0 } map { diff --git a/bin/mozilla/ir.pl b/bin/mozilla/ir.pl index 259b9cb0e..46119899a 100644 --- a/bin/mozilla/ir.pl +++ b/bin/mozilla/ir.pl @@ -354,7 +354,7 @@ sub form_header { } sub _sort_payments { - my @fields = qw(acc_trans_id gldate datepaid source memo paid AR_paid); + my @fields = qw(acc_trans_id gldate datepaid source memo paid AP_paid); my @payments = grep { $_->{paid} != 0 } map { -- 2.20.1