Add second patron to stub ILS, to test multiple holds on an
authordjfiander <djfiander>
Wed, 14 Jun 2006 02:14:28 +0000 (02:14 +0000)
committerdjfiander <djfiander>
Wed, 14 Jun 2006 02:14:28 +0000 (02:14 +0000)
item.

ILS/Patron.pm

index 5eeda0d..0b53f08 100644 (file)
@@ -49,6 +49,34 @@ our %patron_db = (
                      recall_items => [],
                      unavail_holds => [],
                  },
+                 miker => {
+                     name => "Mike Rylander",
+                     id => 'miker',
+                     password => '6789',
+                     ptype => 'A', # 'A'dult.  Whatever.
+                     birthdate => '19640925',
+                     address => 'Somewhere in Atlanta',
+                     home_phone => '(404) 555 1235',
+                     email_addr => 'mrylander@gmail.com',
+                     charge_ok => 1,
+                     renew_ok => 1,
+                     recall_ok => 0,
+                     hold_ok => 1,
+                     card_lost => 0,
+                     claims_returned => 0,
+                     fines => 0,
+                     fees => 0,
+                     recall_overdue => 0,
+                     items_billed => 0,
+                     screen_msg => '',
+                     print_line => '',
+                     items => [],
+                     hold_items => [],
+                     overdue_items => [],
+                     fine_items => [],
+                     recall_items => [],
+                     unavail_holds => [],
+                 },
                  );
 
 sub new {