Merge branch 'master' into uat
[readifood.git] / lib / constants.php
index 10fafd6..83d93e5 100644 (file)
@@ -1,6 +1,9 @@
 <?php
 
-/* Area days of week. */
+  /* Pagination. */
+  $default_page_size = 50;
+
+  /* Area days of week. */
   $week = array("Sun", "Mon", "Tues", "Wed", "Thu", "Fri", "Sat");
 
   /* Contact roles. */
   $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;
+
 ?>