X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Fconstants.php;h=dcffda2d2b0bbeaae7f3a2826542cb4b44641a01;hb=bfff2c5a7f96e5d63cbcaefb7ca2ce97cf63cd38;hp=10fafd6fb3d473987cf705cc3e8391cc3819d925;hpb=8549c1776033e924ea50328bd2434529d85b5669;p=readifood.git diff --git a/lib/constants.php b/lib/constants.php index 10fafd6..dcffda2 100644 --- a/lib/constants.php +++ b/lib/constants.php @@ -27,4 +27,18 @@ $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; + ?>