KT NANO EDIT
Both parties are responsible
Yes, it is the responsibility of restaurants to ensure the food they serve and deliver is fresh and of good quality. But the onus also lies on customers to ensure proper storage and that the food is eaten within the specified time. We are dealing with human lives here, which does not leave room for a blame game.