From: Sven Schöling Date: Thu, 18 Dec 2014 14:18:43 +0000 (+0100) Subject: PriceRule: customervendor accessor in Rechnungen X-Git-Tag: release-3.2.0beta~114 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=1e2673bbe853305facd6bf61d7bb45141250136d;p=kivitendo-erp.git PriceRule: customervendor accessor in Rechnungen --- diff --git a/SL/DB/Invoice.pm b/SL/DB/Invoice.pm index 45c59123c..ae1c596d6 100644 --- a/SL/DB/Invoice.pm +++ b/SL/DB/Invoice.pm @@ -347,6 +347,10 @@ sub reqdate { goto &duedate; } +sub customervendor { + goto &customer; +} + sub transactions { my ($self) = @_; diff --git a/SL/DB/PurchaseInvoice.pm b/SL/DB/PurchaseInvoice.pm index a15da4f92..bddaa6551 100644 --- a/SL/DB/PurchaseInvoice.pm +++ b/SL/DB/PurchaseInvoice.pm @@ -58,6 +58,10 @@ sub reqdate { goto &duedate; } +sub customervendor { + goto &vendor; +} + sub abbreviation { my $self = shift;