This commit defines events that might be sent to UIs in the case of
exceptional circumstances:
* CURBSIDE_NOT_ALLOWED (i.e., if the circ.curbside library setting is
not enabled for a given pickup library.)
* CURBSIDE_MAX_FOR_TIME (i.e., if all of the available slots for
a given appointment time have been scheduled.)
* CURBSIDE_EXISTS (i.e., if one is attempting to create a new
open curbside appointment for a patron and pickup library when
one already exists.)
Sponsored-by: PaILS
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Signed-off-by: Michele Morgan <mmorgan@noblenet.org>
<event code='7029' textcode='MAX_AUTO_RENEWALS_REACHED'>
<desc xml:lang="en-US">Circulation has no more auto-renewals remaining</desc>
</event>
+ <event code='7030' textcode='CURBSIDE_NOT_ALLOWED'>
+ <desc xml:lang="en-US">Curbside pickup is not enabled for this location</desc>
+ </event>
+ <event code='7031' textcode='CURBSIDE_MAX_FOR_TIME'>
+ <desc xml:lang="en-US">Maximum scheduled curbside pickups at the requested time</desc>
+ </event>
+ <event code='7032' textcode='CURBSIDE_EXISTS'>
+ <desc xml:lang="en-US">A scheduled, unfilled curbside request already exists</desc>
+ </event>
<!-- ================================================================ -->