Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

Equipment Items Show - should have history #273

Closed
@caseywatts

Description

@caseywatts

October 2014

Things to do (copied from below):

  • Add notes column to equipment_objects table (increase default length, prevent null)
  • Modify migration to record existing history
  • Add display of notes to equipment item show view
  • Add code to checkout method to prepend to equipment item notes
  • Add code to checkin method to prepend to equipment item notes (with reservation notes?)
  • Add code to deactivate to prepend to equipment item notes
  • Add code to activate to prepend to equipment item notes
  • Add code to edit to prepend to equipment item notes if switched from one reservation to another
  • Add code to edit to prepend to equipment item notes if switched with an available item (see reservations_controller.rb)
  • Add code to create to prepend to equipment item notes
  • Ensure that deactivation reason is not null or empty string FIXED IN Add warning when deactivating equipment if it will violate availability #983
  • Deal with equipment import as well
  • Write tests

For missing laptops, it really helps to know who previously had the laptop.
For broken laptops, it really helps to know when damage was noted.

The Equipment Items Show page should give an account of both (maybe two columns or tabbed?):

  1. Previous Reservations
  2. Previous Notes

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions