it is generally considered that if the food is promptly cooled and the fridge is working correctly most cooked foods will be perfectly fine for three or four days in the fridge.