X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Finvoice_io.pl;h=d947bae232fa29cfa709b18b63f84f77730aad72;hb=2ef92b3a7c4b46a3eba1d41267fd0b8b413c49bd;hp=2f0f8be508a6cd3847b4916949c0473f0a2c7df0;hpb=07948c344b0f699314c1b05b4e9c41b8babc3981;p=kivitendo-erp.git diff --git a/bin/mozilla/invoice_io.pl b/bin/mozilla/invoice_io.pl index 2f0f8be50..d947bae23 100644 --- a/bin/mozilla/invoice_io.pl +++ b/bin/mozilla/invoice_io.pl @@ -323,7 +323,7 @@ use Data::Dumper; # $qty_dec = length $qty_dec; # # $column_data{qty} = -# qq||; # if ($form->{"formel_$i"}) { # $column_data{qty} .= qq|| @@ -596,8 +596,9 @@ sub set_pricegroup { sub display_form { $lxdebug->enter_sub(); - $auth->assert('part_service_assembly_edit | vendor_invoice_edit | sales_order_edit | invoice_edit |' . - 'request_quotation_edit | sales_quotation_edit | purchase_order_edit'); + $auth->assert('part_service_assembly_edit | vendor_invoice_edit | sales_order_edit | invoice_edit |' . + 'request_quotation_edit | sales_quotation_edit | purchase_order_edit | '. + 'purchase_delivery_order_edit | sales_delivery_order_edit'); relink_accounts(); retrieve_partunits() if ($form->{type} =~ /_delivery_order$/); @@ -661,7 +662,8 @@ sub display_form { &{$subroutine}($numrows); - $numrows = 0; + $numrows = ++$form->{makemodel_rows}; + $subroutine = "makemodel_row"; } if ($form->{item} eq 'assembly') { $numrows = $form->{price_rows};