From: Sven Schöling Date: Thu, 4 Aug 2016 09:27:28 +0000 (+0200) Subject: CustomerVendor: agnostische number Methode für beide X-Git-Tag: release-3.5.4~2150 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=f2372dedb94365ad5cc69665bf92a64c43695312;p=kivitendo-erp.git CustomerVendor: agnostische number Methode für beide --- diff --git a/SL/DB/Customer.pm b/SL/DB/Customer.pm index 7a040ed63..8dd2a310d 100644 --- a/SL/DB/Customer.pm +++ b/SL/DB/Customer.pm @@ -67,5 +67,6 @@ sub displayable_name { sub is_customer { 1 }; sub is_vendor { 0 }; sub payment_terms { goto &payment } +sub number { goto &customernumber } 1; diff --git a/SL/DB/Vendor.pm b/SL/DB/Vendor.pm index c88b9f731..077982668 100644 --- a/SL/DB/Vendor.pm +++ b/SL/DB/Vendor.pm @@ -61,5 +61,6 @@ sub displayable_name { sub is_customer { 0 }; sub is_vendor { 1 }; sub payment_terms { goto &payment } +sub number { goto &vendornumber } 1;