add condition for partner id