Signed-off-by: Joshua Ferraro <jmf@liblime.com>
my @ccode=$input->param('ccode');
my @itemtype=$input->param('itemtype');
my @location=$input->param('location');
my @ccode=$input->param('ccode');
my @itemtype=$input->param('itemtype');
my @location=$input->param('location');
+my @enumchron=$input->param('volinf');
-# if ($quantityrec != 0){
-# $cost /= $quantityrec;
-# }
if ($quantityrec > $origquantityrec ) {
# save the quantity recieved.
if ($quantityrec > $origquantityrec ) {
# save the quantity recieved.
"items.ccode" => $ccode[$cnt],
"items.itype" => $itemtype[$cnt],
"items.location" => $location[$cnt],
"items.ccode" => $ccode[$cnt],
"items.itype" => $itemtype[$cnt],
"items.location" => $location[$cnt],
+ "items.enumchron" => $enumchron[$cnt], # FIXME : No integration here with serials module.
- AddItemFromMarc($itemRecord,$biblionumber);
- }
+ AddItemFromMarc($itemRecord,$biblionumber);
+ $cnt++;
+ }
}
print $input->redirect("/cgi-bin/koha/acqui/parcel.pl?invoice=$invoiceno&supplierid=$supplierid&freight=$freight&gst=$gst&datereceived=$datereceived");
#} else {
}
print $input->redirect("/cgi-bin/koha/acqui/parcel.pl?invoice=$invoiceno&supplierid=$supplierid&freight=$freight&gst=$gst&datereceived=$datereceived");
#} else {