3 /* Area days of week. */
4 $week = array("Sun", "Mon", "Tues", "Wed", "Thu", "Fri", "Sat");
7 $contact_roles = array("Staff", "Driver", "Referrer", "Beneficiary", "Donor");
10 $ROLE_REQUESTER = 1 << 2;
11 $ROLE_BENEFICIARY = 1 << 3;
15 $hub_roles = array("Collection", "Distribution");
16 $ROLE_COLLECTION = 1 << 0;
17 $ROLE_DISTRIBUTION = 1 << 1;
20 $states = array("placed", "picked", "despatched", "undelivered", "delivered", "cancelled");
21 $all_states = (1 << count($states)) - 1;
22 $STATE_PLACED = 1 << 0;
23 $STATE_PICKED = 1 << 1;
24 $STATE_DESPATCHED = 1 << 2;
25 $STATE_UNDELIVERED = 1 << 3;
26 $STATE_DELIVERED = 1 << 4;
27 $STATE_CANCELLED = 1 << 5;
28 $STATE_ANY = $all_states;
31 $parcel_sizes = array("Single", "Couple", "Family");
32 $PARCEL_SINGLE = 1 << 0;
33 $PARCEL_COUPLE = 1 << 1;
34 $PARCEL_FAMILY = 1 << 2;
36 $parcel_contents = array(null, null, null, "Vegetarian", "Halal", "Diabetic", "Baby 0-6 months", "Baby 6-12 months", "Toiletry bag");
37 $PARCEL_VEGETARIAN = 1 << 3;
38 $PARCEL_HALAL = 1 << 4;
39 $PARCEL_DIABETIC = 1 << 5;
40 $PARCEL_BABY6 = 1 << 6;
41 $PARCEL_BABY12 = 1 << 7;
42 $PARCEL_TOILETRY = 1 << 8;