]> git.evergreen-ils.org Git - Evergreen.git/blob - Evergreen/src/javascript/backend/circ/circ_groups.js
More cleanup of the Evergreen directory. This change replaces the Open-ILS version...
[Evergreen.git] / Evergreen / src / javascript / backend / circ / circ_groups.js
1 /* ---------------------------------------------------------------------
2         Set up the limits for the various profiles (aka permission groups).
3         Values of -1 mean there is no limit 
4
5         maxItemsOut                     - the maximum number of items the user can have out
6         fineThreshold           - the fine threshold. 
7         overdueThreshold        - the overdue items threshold.
8         maxHolds                                - The maximum number of holds the user can have
9
10         A user exceeds the fineThreshold and/or overdueThreshold if they are 
11         equal to or exceed the threshold
12         --------------------------------------------------------------------- */
13
14 var GROUP_CONFIG = {
15
16         'Patron' : {
17                 maxItemsOut                     : 50,
18                 fineThreshold           : 10,
19                 overdueThreshold        : 10,
20                 maxHolds                                : -1
21         },
22
23         'Class' : {
24                 maxItemsOut                     : 50,
25                 fineThreshold           : 10,
26                 overdueThreshold        : 10,
27                 maxHolds                                : 15
28         },
29
30         'Friend'        : {
31                 maxItemsOut                     : 50,
32                 fineThreshold           : 10,
33                 overdueThreshold        : 10,
34                 maxHolds                                : -1
35         },
36
37         'NonResident' : {
38                 maxItemsOut                     : 50,
39                 fineThreshold           : 10,
40                 overdueThreshold        : 10,
41                 maxHolds                                : -1
42         },
43
44         'OutOfState' : {
45                 maxItemsOut                     : 50,
46                 fineThreshold           : 10,
47                 overdueThreshold        : 10,
48                 maxHolds                                : -1
49         },
50
51         'Outreach' : {
52                 maxItemsOut                     : -1,
53                 fineThreshold           : -1,
54                 overdueThreshold        : -1,
55                 maxHolds                                : 15
56         },
57
58
59         'Restricted' : {
60                 maxItemsOut                     : 2,
61                 fineThreshold           : 0.01,
62                 overdueThreshold        : 1,
63                 maxHolds                                : 5
64         },
65
66         'Temp' : {
67                 maxItemsOut                     : 5,
68                 fineThreshold           : .01,
69                 overdueThreshold        : 1,
70                 maxHolds                                : 5
71         },
72
73         'TempRes6' : {
74                 maxItemsOut                     : 50,
75                 fineThreshold           : 10,
76                 overdueThreshold        : 10,
77                 maxHolds                                : -1
78         },
79
80         'tempRes12' : {
81                 maxItemsOut                     : 50,
82                 fineThreshold           : 10,
83                 overdueThreshold        : 10,
84                 maxHolds                                : -1
85         },
86
87         'Trustee' : {
88                 maxItemsOut                     : 50,
89                 fineThreshold           : 10,
90                 overdueThreshold        : 10,
91                 maxHolds                                : 10
92         },
93
94
95         'Vendor' : {
96                 maxItemsOut                     : 0,
97                 fineThreshold           : 0.01,
98                 overdueThreshold        : 1,
99                 maxHolds                                : 0
100         },
101
102         'Staff' : {
103                 maxItemsOut                     : 50,
104                 fineThreshold           : -1,
105                 overdueThreshold        : -1,
106                 maxHolds                                : -1 
107         },
108
109 };
110
111
112
113
114