newstep

package
v0.0.0-...-c341a93 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL