-# 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;
__PACKAGE__->meta->initialize;
-sub linetotal {
+sub linetotal_sellprice {
my ($self) = @_;
return 0 unless $self->qty > 0 and $self->part->sellprice > 0;