I have finished the game long ago, but from what I remember, if you go to Jafar for the last quest without sending Jasmine to the bar or brothel to work at the beginning of the day, she will object it. So you have to send her to work before going to Jafar to start the last quest. Hope this helps.