From: Moritz Bunkus Date: Thu, 5 Jun 2014 08:04:41 +0000 (+0200) Subject: RDBO Customer, Vendor: Alias payment_terms auf payment X-Git-Tag: release-3.2.0beta~419 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=38b898b0cfebd96c3764d1506ad0a1358cf351f0;p=kivitendo-erp.git RDBO Customer, Vendor: Alias payment_terms auf payment …für API-Analogie mit Order, DeliveryOrder, Invoice. --- 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;