Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsIntakeValid ¶
func IsIntakeValid(intake *models.SystemIntake, newStep models.SystemIntakeStepToProgressTo) error
IsIntakeValid checks if in an intake and a new step from a Progress to New Step action are valid the frontend shouldn't allow users to take any invalid actions, but we validate server-side to make sure
func UpdateIntake ¶
func UpdateIntake(intake *models.SystemIntake, newStep models.SystemIntakeStepToProgressTo, newMeetingDate *time.Time, currentTime time.Time) error
UpdateIntake updates an intake based on a previously validated Progress to New Step action
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.