+ my $text = $self->type eq _sales_order_type() ? $::locale->text('The order has been deleted')
+ : $self->type eq _purchase_order_type() ? $::locale->text('The order has been deleted')
+ : $self->type eq _sales_quotation_type() ? $::locale->text('The quotation has been deleted')
+ : $self->type eq _request_quotation_type() ? $::locale->text('The rfq has been deleted')
+ : '';
+ flash_later('info', $text);
+