koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] koha/updater updatedatabase [dev_week]


From: Mason James
Subject: [Koha-cvs] koha/updater updatedatabase [dev_week]
Date: Wed, 16 May 2007 21:12:26 +0000

CVSROOT:        /sources/koha
Module name:    koha
Branch:         dev_week
Changes by:     Mason James <sushi>     07/05/16 21:12:26

Modified files:
        updater        : updatedatabase 

Log message:
        adding 3 holidays/issuingrules toggle sysprefs

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/updater/updatedatabase?cvsroot=koha&only_with_tag=dev_week&r1=1.100.2.43.2.9&r2=1.100.2.43.2.10

Patches:
Index: updatedatabase
===================================================================
RCS file: /sources/koha/koha/updater/updatedatabase,v
retrieving revision 1.100.2.43.2.9
retrieving revision 1.100.2.43.2.10
diff -u -b -r1.100.2.43.2.9 -r1.100.2.43.2.10
--- updatedatabase      26 Apr 2007 15:34:55 -0000      1.100.2.43.2.9
+++ updatedatabase      16 May 2007 21:12:26 -0000      1.100.2.43.2.10
@@ -1,6 +1,6 @@
 #!/usr/bin/perl
 
-# $Id: updatedatabase,v 1.100.2.43.2.9 2007/04/26 15:34:55 kylemhall Exp $
+# $Id: updatedatabase,v 1.100.2.43.2.10 2007/05/16 21:12:26 sushi Exp $
 
 # Database Updater
 # This script checks for required updates to the database.
@@ -555,6 +555,44 @@
             explanation         => 'Minimum Charge on Patron Account to 
Require Confirmation on Issuing',
             type        => 'Integer',
         },
+
+
+
+        {   
+            uniquefieldrequired => 'variable',
+            variable            => 'useDaysMode',
+            value               => 'Datedue',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'How to calculate return dates : 
\'Calendar\' means that loan-length is increased by ALL holidays occuring 
between issuing date and due-date, \'Datedue\' means that due-date will be 
increased until next non-calendar day, \'Days\' means that holidays rules are 
ignored',
+          type        => 'Choice',
+           options     => 'Calendar|Days|Datedue',
+        },  
+
+        {   
+            uniquefieldrequired => 'variable',
+            variable            => 'useHolidayRules',
+            value               => 'PatronsBranch',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'determines whether current issuing branch 
or patrons branch is used to calculate',
+          type        => 'Choice',
+           options     => 'Patron|Issuing',
+        },  
+
+        {   
+            uniquefieldrequired => 'variable',
+            variable            => 'useIssuingRules',
+            value               => 'PatronsBranch',
+            forceupdate         => { 'explanation' => 1,
+                                     'type' => 1},
+            explanation         => 'determines whether current issuing branch 
or patrons home branch are used to calculate the \'item loan length\' and 
charge',
+          type        => 'Choice',
+           options     => 'CircBranch|PatronsBranch',
+        },  
+
+
+
     ],
 
 );
@@ -1725,6 +1763,9 @@
 exit;
 
 # $Log: updatedatabase,v $
+# Revision 1.100.2.43.2.10  2007/05/16 21:12:26  sushi
+# adding 3 holidays/issuingrules toggle sysprefs
+#
 # Revision 1.100.2.43.2.9  2007/04/26 15:34:55  kylemhall
 # Added the 'New Items E-mail List' archetype in ClubsAndServices for use with 
mailinglist.pl
 #




reply via email to

[Prev in Thread] Current Thread [Next in Thread]