Bug 9416: (follow-up) teach ordering from staged files about the notes fields
authorGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 16:05:17 +0000 (16:05 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Sat, 19 Apr 2014 16:05:17 +0000 (16:05 +0000)
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
acqui/addorderiso2709.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/addorderiso2709.tt

index e56bd06..621ccfc 100755 (executable)
@@ -198,8 +198,9 @@ if ($op eq ""){
             "quantity", $quantity, "branchcode", $branch, 
             "budget_id", $budget_id, "uncertainprice", 1,
             "sort1", $cgiparams->{'sort1'},"sort2", $cgiparams->{'sort2'},
-            "notes", $cgiparams->{'notes'}, "budget_id", $cgiparams->{'budget_id'},
+            "order_internalnote", $cgiparams->{'order_internalnote'}, "budget_id", $cgiparams->{'budget_id'},
             "currency",$cgiparams->{'currency'},
+            "order_vendornote" => $cgiparams->{'order_vendornote'},
         );
 
         my $price = GetMarcPrice($marcrecord, C4::Context->preference('marcflavour'));
index ccc8bf0..577d555 100644 (file)
                             <label for="order_internalnote">Internal note: </label>
                             <textarea id="order_internalnote" cols="30" rows="3" name="order_internalnote"></textarea>
                         </li>
+                        <li>
+                            <label for="order_vendornote">Vendor note: </label>
+                            <textarea id="order_vendornote" cols="30" rows="3" name="order_vendornote"></textarea>
+                        </li>
                         <li><div class="hint">The 2 following fields are available for your own usage. They can be useful for statistical purposes</div>
                             <label for="sort1">Planning value1: </label>
                             <span id="sort1_zone">