src/render.js
function() {

    showLoadingScreen();

    calendarTarget.fullCalendar('removeEventSources');

    if (getConfig().booking.graph === 'group_customer' || getConfig().booking.graph === 'group_customer_payment') {
      // If in group bookings mode, fetch slots
      timekitGetBookingSlots();
    } else {
      // If in normal single-participant mode, call findtime
      timekitFetchAvailability();
    }

  }
function() {

    showLoadingScreen();

    calendarTarget.fullCalendar('removeEventSources');

    if (getConfig().booking.graph === 'group_customer' || getConfig().booking.graph === 'group_customer_payment') {
      // If in group bookings mode, fetch slots
      timekitGetBookingSlots();
    } else {
      // If in normal single-participant mode, call findtime
      timekitFetchAvailability();
    }

  }
function ( ) { showLoadingScreen ( ) ; calendarTarget . fullCalendar ( 'removeEventSources' ) ; if ( getConfig ( ) . booking . graph === 'group_customer' || getConfig ( ) . booking . graph === 'group_customer_payment' ) { // If in group bookings mode, fetch slots timekitGetBookingSlots ( ) ; } else { // If in normal single-participant mode, call findtime timekitFetchAvailability ( ) ; } }
Universal functional to retrieve availability through either findtime or group booking slots
Universal functional to retrieve availability through either findtime or group booking slots