Whitespace
[kivitendo-erp.git] / bin / mozilla / invoice_io.pl
index 2299272..2e9fc5d 100644 (file)
@@ -117,9 +117,9 @@ use Data::Dumper;
 #  }
 ############### ENDE Neueintrag ##################
 #
-#  my $dimension_units = AM->retrieve_units(\%myconfig, $form, "dimension");
-#  my $service_units = AM->retrieve_units(\%myconfig, $form, "service");
 #  my $all_units = AM->retrieve_units(\%myconfig, $form);
+#  my $dimension_units = $all_units;
+#  my $service_units = $all_units;
 #
 #  my %price_factors = map { $_->{id} => $_->{factor} } @{ $form->{ALL_PRICE_FACTORS} };
 #
@@ -323,7 +323,7 @@ use Data::Dumper;
 #    $qty_dec = length $qty_dec;
 #
 #    $column_data{qty} =
-#        qq|<td align="right"><input name="qty_$i" size="5" value="|
+#        qq|<td align="right" nowrap><input name="qty_$i" size="5" value="|
 #      . $form->format_amount(\%myconfig, $form->{"qty_$i"}, $qty_dec) .qq|">|;
 #    if ($form->{"formel_$i"}) {
 #      $column_data{qty} .= qq|<button type="button" onclick="calculate_qty_selection_window('qty_$i','alu_$i', 'formel_$i', $i)">| . $locale->text('*/') . qq|</button>|
@@ -661,7 +661,8 @@ sub display_form {
 
     &{$subroutine}($numrows);
 
-    $numrows    = 0;
+    $numrows    = ++$form->{makemodel_rows};
+    $subroutine = "makemodel_row";
   }
   if ($form->{item} eq 'assembly') {
     $numrows    = $form->{price_rows};