Commit Graph

12 Commits

Author SHA1 Message Date
Matthew Smith
c4cad76653 Removed unused imports 2019-12-04 19:18:43 +00:00
22f0041eaf Add ability to search supplier list. Partial #374 2019-11-24 14:13:47 +00:00
Matthew Smith
9de6c1046c Fixed date persistence, Fixes #362 2019-10-16 20:31:23 +01:00
Matthew Smith
3079ee0814 Select now store selections between forms.Partial: #362 2019-10-16 20:06:20 +01:00
Matthew Smith
3de58740c6 Added multi-option search along.
Added auto hiding of categories in search unless selected.
Added field allowing to choose whether category auto-hidden

Fixes #353
2019-10-16 18:23:16 +01:00
Matthew Smith
aac900318e Cables are now a thing, unfortunately by making a monolithic Asset model
Co-authored-by: Arona Jones <aj@aronajones.com>
2019-10-14 00:05:18 +01:00
Matthew Smith
b7e14b7dc3 Added form validation
* Asset IDs must be unique
* Asset IDs that are legacy and unchange have no validation applied
* Asset IDs must be alphanumeric
* Values must be >=0
* Lengths, CSAs, Circuits and Cores of cables must all be >0
2019-10-08 22:34:03 +01:00
Matthew Smith
fe1541acbf Cables can now be created. 2019-10-08 01:33:38 +01:00
Matthew Smith
7359e05427 Started adding functionality for assets and cables forms to be dynamically swapped 2019-10-05 21:16:03 +01:00
Matthew Smith
a4adc8bc7b Now asset_ids are going to be editable, removed that limitation from form 2019-10-05 14:54:19 +01:00
Matthew Smith
769137fabd Started work on improving asset form update and validation - requires de-spaghettifying of asset_update.html before continuing 2019-10-05 01:44:54 +01:00
Matthew Smith
1e1f3037f8 Preparing files for transfer to PyRIGS 2019-10-01 13:22:16 +01:00