From 38b898b0cfebd96c3764d1506ad0a1358cf351f0 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 5 Jun 2014 10:04:41 +0200 Subject: [PATCH] RDBO Customer, Vendor: Alias payment_terms auf payment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit …für API-Analogie mit Order, DeliveryOrder, Invoice. --- SL/DB/Customer.pm | 1 + SL/DB/Vendor.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/SL/DB/Customer.pm b/SL/DB/Customer.pm index a19520ed7..6f37c5221 100644 --- a/SL/DB/Customer.pm +++ b/SL/DB/Customer.pm @@ -53,5 +53,6 @@ sub displayable_name { sub is_customer { 1 }; sub is_vendor { 0 }; +sub payment_terms { goto &payment } 1; diff --git a/SL/DB/Vendor.pm b/SL/DB/Vendor.pm index 9a36afb39..e3b994c79 100644 --- a/SL/DB/Vendor.pm +++ b/SL/DB/Vendor.pm @@ -47,5 +47,6 @@ sub displayable_name { sub is_customer { 0 }; sub is_vendor { 1 }; +sub payment_terms { goto &payment } 1; -- 2.20.1