1 package SL::DB::Business;
5 use SL::DB::MetaSetup::Business;
6 use SL::DB::Manager::Business;
12 push @errors, $::locale->text('The description is missing.') if !$self->description;
13 push @errors, $::locale->text('The discount must not be negative.') if $self->discount < 0;
14 push @errors, $::locale->text('The discount must be less than 100%.') if $self->discount >= 1;