]> wagnertech.de Git - mfinanz.git/blobdiff - bin/mozilla/invoice_io.pl
Erzeugnis: lastcost-Konflikt für makemodel und Komponenten
[mfinanz.git] / bin / mozilla / invoice_io.pl
index 5f6c1414e8ae0c058e95ad76907593e897668f1d..843a32f689ea29735d29581eb9461065b97f154c 100644 (file)
@@ -224,8 +224,11 @@ sub display_form {
       $numrows    = ++$form->{makemodel_rows};
       $subroutine = "makemodel_row";
 
+      # assemblies are built from components, they aren't purchased from a vendor
+      # also the lastcost_$i from makemodel conflicted with the component lastcost_$i 
+      # so we don't need the makemodel rows for assemblies 
       # create makemodel rows
-      &{$subroutine}($numrows);
+      &{$subroutine}($numrows);
 
       $numrows    = ++$form->{assembly_rows};
       $subroutine = "assembly_row";