[3.2.x](bug #3624) Per-basketgroup delivery place
authorJean-André Santoni <jeanandre.santoni@biblibre.com>
Sun, 1 Nov 2009 13:03:09 +0000 (14:03 +0100)
committerHenri-Damien LAURENT <henridamien.laurent@biblibre.com>
Tue, 3 Nov 2009 15:04:00 +0000 (16:04 +0100)
Librarian are now able to select a different delivery place for each basketgroup. They can choose one from the branch list or manualy using a textarea.
Database schema and PDF generation have been modified to reflect these changes.

installer/data/mysql/updatedatabase.pl

index d70b344..137169e 100755 (executable)
@@ -3157,6 +3157,16 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     SetVersion ($DBversion);
 }
 
+$DBversion = "3.01.00.122";
+if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
+       $dbh->do(qq{
+       ALTER TABLE aqbasketgroups ADD deliveryplace VARCHAR(10), deliverycomment VARCHAR(255);
+       });
+       
+    print "Upgrade to $DBversion done (isbd updated)\n";
+    SetVersion ($DBversion);
+}
+
 
 =item DropAllForeignKeys($table)