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 {
|
||
| SL/DB/Order.pm | ||
|---|---|---|
|
|
||
|
sub displayable_type {
|
||
|
my ($self) = @_;
|
||
|
|
||
|
return $self->type_data->text('list');
|
||
|
return $self->type_data->text('type');
|
||
|
}
|
||
|
|
||
|
sub displayable_name {
|
||
| SL/DB/Reclamation.pm | ||
|---|---|---|
|
}
|
||
|
|
||
|
sub displayable_type {
|
||
|
my $type = shift->type;
|
||
|
|
||
|
return $::locale->text('Sales Reclamation') if $type eq SALES_RECLAMATION_TYPE();
|
||
|
return $::locale->text('Purchase Reclamation') if $type eq PURCHASE_RECLAMATION_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