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:
ab45df2
)
Dev create_sales_invoice - type ist invoice
author
G. Richardson
<grichardson@kivitec.de>
Wed, 11 Apr 2018 09:01:59 +0000
(11:01 +0200)
committer
G. Richardson
<grichardson@kivitec.de>
Tue, 8 May 2018 11:28:01 +0000
(13:28 +0200)
SL/Dev/Record.pm
patch
|
blob
|
history
diff --git
a/SL/Dev/Record.pm
b/SL/Dev/Record.pm
index
f98283c
..
8b7d6a7
100644
(file)
--- a/
SL/Dev/Record.pm
+++ b/
SL/Dev/Record.pm
@@
-34,7
+34,7
@@
sub create_sales_invoice {
my $invoice = SL::DB::Invoice->new(
invoice => 1,
- type => '
sales_
invoice',
+ type => 'invoice',
customer_id => $customer->id,
taxzone_id => $customer->taxzone->id,
invnumber => delete $params{invnumber} // undef,