X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fdo.pl;h=576564fe78f22f611099cacf1b61bc75ad78b964;hb=067e94571b0f00cbb77c6b6fbeb1ed5e1e31402e;hp=b58cd7190bd296f3adf130649cd4990dbf003729;hpb=ddb162b67dbd1c97df9a6f60608dd7cd0ff6f811;p=kivitendo-erp.git diff --git a/bin/mozilla/do.pl b/bin/mozilla/do.pl index b58cd7190..576564fe7 100644 --- a/bin/mozilla/do.pl +++ b/bin/mozilla/do.pl @@ -305,7 +305,7 @@ sub form_header { # emulate click for resubmitting actions $dispatch_to_popup .= "document.do.${_}.click(); " for grep { /^action_/ } keys %$form; $dispatch_to_popup .= "document.do.submit();"; - $::request->{layout}->add_javascripts_inline("\$(function(){$dispatch_to_popup)"); + $::request->{layout}->add_javascripts_inline("\$(function(){$dispatch_to_popup})"); } my $follow_up_vc = $form->{ $form->{vc} eq 'customer' ? 'customer' : 'vendor' }; @@ -976,7 +976,7 @@ sub save_as_new { map { delete $form->{$_} } qw(printed emailed queued); delete @{ $form }{ grep { m/^stock_(?:in|out)_\d+/ } keys %{ $form } }; - # Let Lx-Office assign a new order number if the user hasn't changed the + # Let kivitendo assign a new order number if the user hasn't changed the # previous one. If it has been changed manually then use it as-is. $form->{donumber} =~ s/^\s*//g; $form->{donumber} =~ s/\s*$//g; @@ -1444,7 +1444,7 @@ sub transfer_out { my $pinfo = $part_info_map{$request->{parts_id}}; my $binfo = $bin_info_map{$request->{bin_id}}; - if ($::lx_office_conf{features}->{show_best_before}) { + if ($::instance_conf->get_show_bestbefore) { push @{ $form->{ERRORS} }, $locale->text("There is not enough available of '#1' at warehouse '#2', bin '#3', #4, #5, for the transfer of #6.", $pinfo->{description}, $binfo->{warehouse_description},