Added contact offers.
[readifood.git] / lib / constants.php
index 83d93e5..3891c1f 100644 (file)
   $PARCEL_BABY12 = 1 << 7;
   $PARCEL_TOILETRY = 1 << 8;
 
+  /* Offers. */
+  $offers = array("eligible", "contacted", "approved", "fulfilled", "closed");
+  $all_offers = (1 << count($offers)) - 1;
+  $OFFER_ELIGIBLE = 1 << 0;
+  $OFFER_CONTACTED = 1 << 1;
+  $OFFER_APPROVED = 1 << 2;
+  $OFFER_DELIVERED = 1 << 3;
+  $OFFER_COMPLETED = 1 << 4;
+  $OFFER_ANY = $all_offers;
 ?>