Skip to main content

business_calendar_view

Function business_calendar_view 

pub fn business_calendar_view(
    adapter: &dyn DatabaseOperations,
    config: &DbBackendConfig,
    schema: &AppSchema,
    slug: &str,
    actor_id: i64,
    selection: CalendarSelection<'_>,
) -> Result<Value, DatabaseError>
Expand description

Loads a calendar month and its selected-business display relationships. Managers can see the business schedule; customers receive only their own appointment details. The route’s declared policy remains the admission gate.