if ($location->is('affluent') and $this_tip == 0) { if ($customer->try($coupon) and ! $coupon->good_on('delivery')) { $driver->refuses($coupon) and $driver->pockets($coupon->amount); } }