$self->{title} = $params{title} if $params{title};
+ for my $bar ($::request->layout->get('actionbar')) {
+ $bar->add(
+ action => [
+ t8('Back'),
+ call => [ 'kivi.history_back' ],
+ accesskey => 'enter',
+ ],
+ );
+ }
+
$self->header();
print $self->parse_html_template("generic/error", $add_params);
id => $attfile->id,
type => $attfile->mime_type,
name => $attfile->file_name,
- content => $attfile->get_content };
+ content => $attfile->get_content ? ${ $attfile->get_content } : undef };
}
}
$mail->{message} =~ s/\r//g;
dunning => $main::locale->text('Dunning'),
letter => $main::locale->text('Letter'),
ic_supply => $main::locale->text('Intra-Community supply'),
+ statement => $main::locale->text('Statement'),
);
$main::lxdebug->leave_sub();