main-project/app/client/src/Components/Admin/CheckIn.js
/**
   * HELPER FUNCTION.
   * Generate a STATUS MODAL window with the give message and title.
   * DOES NOT automatically insert this modal into the view.
   *
   * @param  {[String]} title The title of the STATUS MODAL window.
   * @param  {[String]} text  The message of the STATUS MODAL window.
   * @return {[StatusModal:React.Component]}
   *  A STATUS MODAL window with the given title and message.
   */
HELPER FUNCTION.
Generate a STATUS MODAL window with the give message and title.
DOES NOT automatically insert this modal into the view.

@param  {[String]} title The title of the STATUS MODAL window.
@param  {[String]} text  The message of the STATUS MODAL window.
@return {[StatusModal:React.Component]}
A STATUS MODAL window with the given title and message.
HELPER FUNCTION . Generate a STATUS MODAL window with the give message and title . DOES NOT automatically insert this modal into the view . @param { [ String ] } title The title of the STATUS MODAL window . @param { [ String ] } text The message of the STATUS MODAL window . @return { [ StatusModal : React . Component ] } A STATUS MODAL window with the given title and message .
_generateModal(title, text) {
    return (
      <StatusModal
        title={title}
        text={text}
        onClose={this.clearParams}
        colourScheme="adminStyle"
      />
    );
  }
_generateModal ( title , text ) { return ( < StatusModal title = { title } text = { text } onClose = { this . clearParams } colourScheme = "adminStyle" / > ) ; }
HELPER FUNCTION.
HELPER FUNCTION .