$week = array("Sun", "Mon", "Tues", "Wed", "Thu", "Fri", "Sat");
/* Contact roles. */
- $roles = array("Staff", "Driver", "Requester", "Beneficiary", "Donor");
+ $contact_roles = array("Staff", "Driver", "Referrer", "Beneficiary", "Donor");
$ROLE_STAFF = 1 << 0;
$ROLE_DRIVER = 1 << 1;
$ROLE_REQUESTER = 1 << 2;
$ROLE_BENEFICIARY = 1 << 3;
$ROLE_DONOR = 1 << 4;
+ /* Hub types. */
+ $hub_roles = array("Collection", "Distribution");
+ $ROLE_COLLECTION = 1 << 0;
+ $ROLE_DISTRIBUTION = 1 << 1;
+
/* Order states. */
$states = array("placed", "picked", "despatched", "undelivered", "delivered", "cancelled");
$all_states = (1 << count($states)) - 1;