X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/0aa885f4f0bb531a7691a641f954ff296ffa04a5..00402ae67e8b4edf686585752a2193da8ecfc169:/bin/mozilla/io.pl diff --git a/bin/mozilla/io.pl b/bin/mozilla/io.pl index 14c95821f..d376d4c5f 100644 --- a/bin/mozilla/io.pl +++ b/bin/mozilla/io.pl @@ -319,8 +319,8 @@ sub display_row { my $qty_dec = ($form->{"qty_$i"} =~ /\.(\d+)/) ? length $1 : 2; $column_data{qty} = $cgi->textfield(-name => "qty_$i", -size => 5, -class => "numeric", -value => $form->format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec)); - $column_data{qty} .= $cgi->button(-onclick => "calculate_qty_selection_window('qty_$i','alu_$i', 'formel_$i', $i)", -value => $locale->text('*/')) - . $cgi->hidden(-name => "formel_$i", -value => $form->{"formel_$i"}) . $cgi->hidden("-name" => "alu_$i", "-value" => $form->{"alu_$i"}) + $column_data{qty} .= $cgi->button(-onclick => "calculate_qty_selection_window('qty_$i', '', 'formel_$i', '')", -value => $locale->text('*/')) + . $cgi->hidden(-name => "formel_$i", -value => $form->{"formel_$i"}) if $form->{"formel_$i"}; $column_data{ship} = ''; @@ -1939,7 +1939,7 @@ sub setup_sales_purchase_print_options { $print_form->{printers} = SL::DB::Manager::Printer->get_all_sorted; $print_form->{languages} = SL::DB::Manager::Language->get_all_sorted; - $print_form->{$_} = $::form->{$_} for qw(type media language_id printer_id); + $print_form->{$_} = $::form->{$_} for qw(type media language_id printer_id storno); return SL::Helper::PrintOptions->get_print_options( form => $print_form, @@ -2000,6 +2000,7 @@ sub show_sales_purchase_email_dialog { subject => $::form->generate_email_subject, message => $::form->generate_email_body, attachment_filename => $::form->generate_attachment_filename, + js_send_function => 'kivi.SalesPurchase.send_email()', }; my %files = _get_files_for_email_dialog();