When a resource in a repeating event is not available for all instances, the requester will receive both an acceptance and a denial notification. Only the original date is displayed in the notice. A field named RepeatInstanceDates exists in the backend, but is not displayed on the form. By displaying the field, the user is provided the dates that are/are not available.
Code
Made these changes to the repeat info tab on the (Notice) form in the mail template.
added tmpRepeatDatesAvailible as a computed date field.
Hide when @IsUnavailable(RepeatInstanceDates)|NOTICETYPE="R".
Field formula "RepeatInstanceDates"
Made the color blue for display
added tmpRepeatDatesUnvailible as a computed date field.
Hide when @IsUnavailable(RepeatInstanceDates)|NOTICETYPE="A".
Field formula "RepeatInstanceDates"
Made the color red for diaplay
Changed 2 lines of TempNotice formula:
was:
xxReserved := @PrincipalName + " has been reserved;
Changed to:
xxReserved := @If(@IsUnavailable(RepeatInstanceDates);PrincipalName + " has been reserved ";PrincipalName + " has been reserved See Repeat Info for a list of dates");
was:
xxUnavail := PrincipalName + " is unavailable"
Changed to:
xxUnavail := @If(@IsUnavailable(RepeatInstanceDates);PrincipalName + " is unavailable";PrincipalName + " is unavailable see Repeat Info for a list of dates");