sub items_sorted {
my ($self) = @_;
- return [ sort {$a->id <=> $b->id } @{ $self->items } ];
+ return [ sort {$a->position <=> $b->position } @{ $self->items } ];
}
sub is_sales {
goto &transdate;
}
+sub reqdate {
+ goto &duedate;
+}
+
+sub customervendor {
+ goto &vendor;
+}
+
sub abbreviation {
my $self = shift;
return t8('Invoice (one letter abbreviation)');
}
+
1;