From: Sven Schöling Date: Thu, 16 Oct 2014 14:18:46 +0000 (+0200) Subject: PriceRule: reqdate für Invoice und PurchaseInvoice X-Git-Tag: release-3.2.0beta~121 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=704f339f25536bf4311223ecb7dcef9ed75f92d0;p=kivitendo-erp.git PriceRule: reqdate für Invoice und PurchaseInvoice --- 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;