+ /* 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;