$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;
$STATE_CANCELLED = 1 << 5;
$STATE_ANY = $all_states;
+ /* Parcel types. */
+ $parcel_sizes = array("Single", "Couple", "Family");
+ $PARCEL_SINGLE = 1 << 0;
+ $PARCEL_COUPLE = 1 << 1;
+ $PARCEL_FAMILY = 1 << 2;
+
+ $parcel_contents = array(null, null, null, "Vegetarian", "Halal", "Diabetic", "Baby 0-6 months", "Baby 6-12 months", "Toiletry bag");
+ $PARCEL_VEGETARIAN = 1 << 3;
+ $PARCEL_HALAL = 1 << 4;
+ $PARCEL_DIABETIC = 1 << 5;
+ $PARCEL_BABY6 = 1 << 6;
+ $PARCEL_BABY12 = 1 << 7;
+ $PARCEL_TOILETRY = 1 << 8;
+
?>