Revision 81c31c30
Von Tamino Steinert vor mehr als 1 Jahr hinzugefügt
SL/DB/DeliveryOrder.pm | ||
---|---|---|
}
|
||
|
||
sub displayable_type {
|
||
my $type = shift->type;
|
||
|
||
return $::locale->text('Sales Delivery Order') if $type eq SALES_DELIVERY_ORDER_TYPE();
|
||
return $::locale->text('Purchase Delivery Order') if $type eq PURCHASE_DELIVERY_ORDER_TYPE();
|
||
|
||
die 'invalid type';
|
||
my ($self) = @_;
|
||
return $self->type_data->text('type');
|
||
}
|
||
|
||
sub displayable_name {
|
Auch abrufbar als: Unified diff
TypeData: nutze richtige Übersetzung für Typ