Search documentation of pain

# Pain.Schedule (pain v0.1.0)

# Summary

## Functions

addons()
blocks_by_day(blocks)
calendars()
check_blocks(demand, employee_keys, range)

    import Pain.Schedule

    menu_keys() |> Enum.take(3)
    |> service_demand()
    |> check_blocks(employee_keys(), this_month())

check_blocks_on_calendars(block, menu_keys, employee_keys)

    Pain.Schedule.check_blocks_on_calendars(
      "2023-08-28T14:00:00-0400",
      menu_keys() |> Enum.take(3),
      employee_keys()
    )

check_calendar_day_service(service, employee_keys, day)
day(phrase)
employee_genders()
employee_keys()
employees()
ending()
grouped_menu()
hour_map(clocks)

    import Pain.Schedule
    ( service_demand([ 39928578, 39928780, 39931669, ])
      |> check_blocks(employee_keys(), this_month())
      |> blocks_by_day()
    )["2023-09-30"] |> hour_map()

key_in_menu(name)
log(node)
menu()
menu_keys()
menu_keys(menu)
month(month)
now()
range(day)
reduce_blocks(list)
reduce_calendars(cals)
service_demand(menu_keys)
this_month()
today()

# Functions

Link to this function

# addons()

Link to this function

# blocks_by_day(blocks)

Link to this function

# calendars()

Link to this function

# check_blocks(demand, employee_keys, range)

    import Pain.Schedule

    menu_keys() |> Enum.take(3)
    |> service_demand()
    |> check_blocks(employee_keys(), this_month())

Link to this function

# check_blocks_on_calendars(block, menu_keys, employee_keys)

    Pain.Schedule.check_blocks_on_calendars(
      "2023-08-28T14:00:00-0400",
      menu_keys() |> Enum.take(3),
      employee_keys()
    )

Link to this function

# check_calendar_day_service(service, employee_keys, day)

Link to this function

# day(phrase)

Link to this function

# employee_genders()

Link to this function

# employee_keys()

Link to this function

# employees()

Link to this function

# ending()

Link to this function

# grouped_menu()

Link to this function

# hour_map(clocks)

    import Pain.Schedule
    ( service_demand([ 39928578, 39928780, 39931669, ])
      |> check_blocks(employee_keys(), this_month())
      |> blocks_by_day()
    )["2023-09-30"] |> hour_map()

Link to this function

# key_in_menu(name)

Link to this function

# log(node)

Link to this function

# menu()

Link to this function

# menu_keys()

Link to this function

# menu_keys(menu)

Link to this function

# month(month)

Link to this function

# now()

Link to this function

# range(day)

Link to this function

# reduce_blocks(list)

Link to this function

# reduce_calendars(cals)

Link to this function

# service_demand(menu_keys)

Link to this function

# this_month()

Link to this function

# today()