UnconditionedLife / smum

SMUM Checkin for Santa Maria Urban Ministries (San Jose, California)

Home Page:https://www.santamariasj.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

No Next Service Date is showing

UnconditionedLife opened this issue · comments

"Next Service date" should be showing with "Last Served date" --- all clients - all the time.

An issue happened with the next service calculation being different for the receipt and the on-screen likely because of closure next Monday. The receipt was for today (Sat), but service was not available.

"validateServiceInterval" function needs to use "calFindOpenDate" for the next service date calculated from calendar open and closed dates.

I've used calFindOpenDate() to calculate both the next service date and active buttons this should correct the problems I observed.