update($newDetails); } public function getFulfilledOrders() { return Order::where('is_fulfilled', true); } }