projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bee3ec
)
Dev::CustomerVendor podfix
author
Jan Büren
<jan@kivitendo-premium.de>
Thu, 9 Nov 2017 09:43:08 +0000
(10:43 +0100)
committer
Jan Büren
<jan@kivitendo-premium.de>
Thu, 9 Nov 2017 09:43:08 +0000
(10:43 +0100)
s/create_customer/new_customer/gc
SL/Dev/CustomerVendor.pm
patch
|
blob
|
history
diff --git
a/SL/Dev/CustomerVendor.pm
b/SL/Dev/CustomerVendor.pm
index
0ea6263
..
6b2e618
100644
(file)
--- 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;