From 704f339f25536bf4311223ecb7dcef9ed75f92d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sven=20Sch=C3=B6ling?= Date: Thu, 16 Oct 2014 16:18:46 +0200 Subject: [PATCH] =?utf8?q?PriceRule:=20reqdate=20f=C3=BCr=20Invoice=20und?= =?utf8?q?=20PurchaseInvoice?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/DB/Invoice.pm | 4 ++++ SL/DB/PurchaseInvoice.pm | 5 +++++ 2 files changed, 9 insertions(+) diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 6af70994b..45c59123c 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -343,6 +343,10 @@ sub date { goto &transdate; } +sub reqdate { + goto &duedate; +} + sub transactions { my ($self) = @_; diff --git a/SL/DB/PurchaseInvoice.pm b/SL/DB/PurchaseInvoice.pm index b3d3500ee..a15da4f92 100644 --- a/SL/DB/PurchaseInvoice.pm +++ b/SL/DB/PurchaseInvoice.pm @@ -54,6 +54,10 @@ sub date { goto &transdate; } +sub reqdate { + goto &duedate; +} + sub abbreviation { my $self = shift; @@ -63,4 +67,5 @@ sub abbreviation { return t8('Invoice (one letter abbreviation)'); } + 1; -- 2.20.1