Revision 6d079c3d
Von Tamino Steinert vor 11 Monaten hinzugefügt
SL/DB/DeliveryOrder.pm | ||
---|---|---|
115 | 115 |
} |
116 | 116 |
|
117 | 117 |
sub displayable_type { |
118 |
my $type = shift->type; |
|
119 |
|
|
120 |
return $::locale->text('Sales Delivery Order') if $type eq SALES_DELIVERY_ORDER_TYPE(); |
|
121 |
return $::locale->text('Purchase Delivery Order') if $type eq PURCHASE_DELIVERY_ORDER_TYPE(); |
|
122 |
|
|
123 |
die 'invalid type'; |
|
118 |
my ($self) = @_; |
|
119 |
return $self->type_data->text('type'); |
|
124 | 120 |
} |
125 | 121 |
|
126 | 122 |
sub displayable_name { |
Auch abrufbar als: Unified diff
TypeData: nutze richtige Übersetzung für Typ