| Item Barcode * |
-
+ | prepare($query);
+ $sth->execute;
+ my $data=$sth->fetchrow_hashref;
+ print $data->{'barcode'}+1;
+ $sth->finish;
+ $dbh->disconnect;
+}
+
+print <
|
@@ -200,7 +238,9 @@ Budgeted Cost
| Invoice Number |
$invoice
-
+
+ |
+
| Notes |
diff --git a/acqui/newbiblio.pl b/acqui/newbiblio.pl
index 0d11d5fecf..4b714bc108 100755
--- a/acqui/newbiblio.pl
+++ b/acqui/newbiblio.pl
@@ -6,6 +6,7 @@
use C4::Acquisitions;
use C4::Output;
use C4::Search;
+use C4::Database;
use CGI;
use strict;
@@ -148,8 +149,27 @@ Shopping Basket For: $booksellers[0]->{'name'}
|
-| Format * |
-{'itemtype'}>
+ | Format |
+
+ |
@@ -182,7 +202,24 @@ print <
| Item Barcode |
-
+ | prepare($query);
+ $sth->execute;
+ my $data=$sth->fetchrow_hashref;
+ print $data->{'barcode'}+1;
+ $sth->finish;
+ $dbh->disconnect;
+}
+
+print <
|