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:
e4b4622
)
kein use SL::DB::Object in SL::DB::Object
author
Sven Schöling
<s.schoeling@linet-services.de>
Fri, 21 Jun 2013 16:04:37 +0000
(18:04 +0200)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Tue, 25 Jun 2013 12:22:33 +0000
(14:22 +0200)
SL/DB/Order.pm
patch
|
blob
|
history
diff --git
a/SL/DB/Order.pm
b/SL/DB/Order.pm
index
00886d6
..
cf7b076
100644
(file)
--- a/
SL/DB/Order.pm
+++ b/
SL/DB/Order.pm
@@
-9,7
+9,6
@@
use List::Util qw(max);
use SL::DB::MetaSetup::Order;
use SL::DB::Manager::Order;
-use SL::DB::Invoice;
use SL::DB::Helper::FlattenToForm;
use SL::DB::Helper::LinkedRecords;
use SL::DB::Helper::PriceTaxCalculator;
@@
-84,6
+83,7
@@
sub invoices {
if ($self->quotation) {
return [];
} else {
+ require SL::DB::Invoice;
return SL::DB::Manager::Invoice->get_all(
query => [
ordnumber => $self->ordnumber,