X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FDB%2FAssembly.pm;h=42d155f4b8ddd4c1db04ce1110fccf343beb244d;hb=661febc70d58eb13923455512e8d76f1ef29ae60;hp=a77e34b54e75dee6c0f16b00843e79cf18b2ace6;hpb=3b249feb1cf3b3dd91dfa3038ef8f694db251988;p=kivitendo-erp.git diff --git a/SL/DB/Assembly.pm b/SL/DB/Assembly.pm index a77e34b54..42d155f4b 100644 --- a/SL/DB/Assembly.pm +++ b/SL/DB/Assembly.pm @@ -1,6 +1,3 @@ -# This file has been auto-generated only because it didn't exist. -# Feel free to modify it at will; it will not be overwritten automatically. - package SL::DB::Assembly; use strict; @@ -12,7 +9,7 @@ __PACKAGE__->meta->make_manager_class; __PACKAGE__->meta->initialize; -sub linetotal { +sub linetotal_sellprice { my ($self) = @_; return 0 unless $self->qty > 0 and $self->part->sellprice > 0;