AwardsBestowalTodos

AwardsBestowalTodos

Awards Bestowal Quick To-Dos Controller

Loads a single bestowal's preparation-checks checklist into the grid To-Dos modal turbo-frame when the modal opens (or its outlet-btn trigger fires), mirroring the bestowal edit modal load pattern.

Constructor

new AwardsBestowalTodos()

Source:

Methods

clearGatheringControl(control)

Source:
Parameters:
Name Type Description
control HTMLElement

extractBestowalIdFromTrigger(trigger)

Source:
Parameters:
Name Type Description
trigger HTMLElement | null

getModalElement() → {HTMLElement|null}

Source:
Returns:
Type
HTMLElement | null

getTurboFrame() → {HTMLElement|null}

Source:
Returns:
Type
HTMLElement | null

handleIncludePastChange()

Description:
  • Include or exclude past gatherings for a required-field to-do picker.

Source:

handleModalShow()

Description:
  • Load the checklist when the modal opens from a grid or detail trigger.

Source:

handleOutletClick()

Description:
  • Load the checklist when the grid outlet-btn dispatches row data.

Source:

loadTodos(bestowalId)

Source:
Parameters:
Name Type Description
bestowalId string | number