Welcome Guest to Defaut site!

Todo System

The Todo System uses two different date management systems:

Calendar Functionality

The Calendar functionality provides a visual representation of the tasks in the Todo System. It includes three views: day, week, and month. Each view displays the tasks scheduled for the respective time period.

Day View

The day view shows all tasks scheduled for a specific day. Each task is represented as an event on the calendar. The start and end times of the task correspond to the start and end times of the event on the calendar.

Week and Month Views

The week and month views show an overview of the tasks scheduled for the respective time period. Each day in these views contains a summary of the tasks scheduled for that day.

Adapting the Day View

The day view is adapted to work in the week and month views by summarizing the tasks for each day. Instead of showing each task as an individual event, the day view in the week and month views shows a summary of the tasks for that day. This summary includes the number of tasks and the total time scheduled for those tasks.

Adding a Log: Step-by-Step

  1. Click button. It will pass the todo record id and sitename to the log_form.
  2. log_form will use the record id to find the table and fill in the following:
  3. The todo record id will go into todo_record id.
  4. sitename will go into sitename.
  5. subject will go into abstract.
  6. description will go into details.
  7. start_date will go into start_date.
  8. due_date will go into due_date.
  9. start_time puts the time the form is open into the start time field.
  10. end_time is selected by user.
  11. admin is filled in from session role of the user.
  12. priority is pulled from the todo record.
  13. status is selected in with value todo record the word open.

Controller

The Comserv::Controller::Todo module handles the routing and logic for todo-related actions:

Model

The Comserv::Model::Todo module provides methods for interacting with the todo data: