From: Jan Büren Date: Thu, 9 Nov 2017 09:43:08 +0000 (+0100) Subject: Dev::CustomerVendor podfix X-Git-Tag: release-3.5.4~638 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=4b1d7057dc63233ed811bc2571f0e411327e2573;p=kivitendo-erp.git Dev::CustomerVendor podfix s/create_customer/new_customer/gc --- diff --git a/SL/Dev/CustomerVendor.pm b/SL/Dev/CustomerVendor.pm index 0ea6263ef..6b2e61886 100644 --- a/SL/Dev/CustomerVendor.pm +++ b/SL/Dev/CustomerVendor.pm @@ -76,11 +76,11 @@ Creates a new customer. Minimal usage, default values, without saving to database: - my $customer = SL::Dev::CustomerVendor::create_customer(); + my $customer = SL::Dev::CustomerVendor::new_customer(); Complex usage, overwriting some defaults, and save to database: - SL::Dev::CustomerVendor::create_customer(name => 'Test customer', + SL::Dev::CustomerVendor::new_customer(name => 'Test customer', hourly_rate => 50, taxzone_id => 2, )->save;