projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Part Controller - Helper Funktionen für linetotals
[kivitendo-erp.git]
/
SL
/
DB
/
AssortmentItem.pm
diff --git
a/SL/DB/AssortmentItem.pm
b/SL/DB/AssortmentItem.pm
index
1f53f96
..
4aca0c1
100644
(file)
--- a/
SL/DB/AssortmentItem.pm
+++ b/
SL/DB/AssortmentItem.pm
@@
-11,7
+11,7
@@
use Rose::DB::Object::Helpers qw(clone);
__PACKAGE__->meta->initialize;
-sub linetotal {
+sub linetotal
_sellprice
{
my ($self) = @_;
return 0 unless $self->qty > 0 and $self->part->sellprice > 0;