shelf life /storage

If you cover a cake with ganache one day, store refrigerated then put fondant on the following day how long before the customer shouldn’t eat & how should they store as the rule of thumb with fondant is not to refrigerate it ?