When a product has a promotion that is valid until tomorrow, it will show up in a different category in the menu page, but it is still valid tomorrow, but tomorrow the item will not show up in the promotion category anymore. Investigate why it doesn't show in promotion category on the very last day of the promotion and fix it.
Related to #141
On the issue above a function was created called isDateTodayOrAfter that checked whether or not a date is today or in the future (i.e. is not in the past). This function might be useful for you. This function was defined inside Momento class. It's a static function so you can access it this way: Momento.isDateTodayOrAfter(dateVariable)
When a product has a promotion that is valid until tomorrow, it will show up in a different category in the menu page, but it is still valid tomorrow, but tomorrow the item will not show up in the promotion category anymore. Investigate why it doesn't show in promotion category on the very last day of the promotion and fix it.
Related to #141
On the issue above a function was created called
isDateTodayOrAfter
that checked whether or not a date is today or in the future (i.e. is not in the past). This function might be useful for you. This function was defined insideMomento
class. It's a static function so you can access it this way:Momento.isDateTodayOrAfter(dateVariable)