X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fio.pl;h=e45faba125aa4f8fcf250689bd2657d658295797;hb=540030ff9826439d94f3f4292ab79b9be8795acc;hp=18058437fe9d57ceaefbde04e167ce6e2af83d1b;hpb=1ee0a24734aefd23212f06419289980366fa3803;p=kivitendo-erp.git diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 18058437f..e45faba12 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -400,7 +400,7 @@ sub display_row { if ($is_delivery_order) { map { $form->{"${_}_${i}"} = $form->format_amount(\%myconfig, $form->{"${_}_${i}"}) } qw(sellprice discount lastcost); - push @hidden_vars, qw(sellprice discount not_discountable price_factor_id lastcost); + push @hidden_vars, qw(sellprice discount not_discountable price_factor_id lastcost pricegroup_id); push @hidden_vars, "stock_${stock_in_out}_sum_qty", "stock_${stock_in_out}"; } @@ -1517,7 +1517,6 @@ sub print_form { delete $form->{OUT}; if ($form->{media} eq 'printer') { - #$form->{OUT} = "| $form->{printer_command} &>/dev/null"; $form->{OUT} = $form->{printer_command}; $form->{OUT_MODE} = '|-'; $form->{printed} .= " $form->{formname}"; @@ -1585,6 +1584,7 @@ sub print_form { media => $form->{media}, extension => $extension, printer => SL::DB::Manager::Printer->find_by_or_create(id => $form->{printer_id}), + today => DateTime->today, }; $form->parse_template(\%myconfig);