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:
6d3c197
)
PriceSource: Gutschriften berücksichtigen
author
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 5 Aug 2014 11:21:08 +0000
(13:21 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Thu, 18 Dec 2014 15:18:22 +0000
(16:18 +0100)
bin/mozilla/io.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/io.pl
b/bin/mozilla/io.pl
index
ecf7723
..
80fda86
100644
(file)
--- a/
bin/mozilla/io.pl
+++ b/
bin/mozilla/io.pl
@@
-1961,7
+1961,7
@@
sub _make_record {
sales_delivery_order => 'DeliveryOrder',
}->{$::form->{type}};
- if ($::form->{type}
eq 'invoice'
) {
+ if ($::form->{type}
=~ /invoice|credit_note/
) {
$class = $::form->{vc} eq 'customer' ? 'Invoice'
: $::form->{vc} eq 'vendor' ? 'PurchaseInvoice'
: do { die 'unknown invoice type' };