Prevent licenses, models and assets from being deleted if they are assigned to something else
Soft delete for locations
Get the number of models for the depreciation
Associated error messages
Add checks to prevent orphaned records
Add soft delete to locations - migration
Add check to prevent orphaned models
Adding soft-delete to manufacturers
Prevent orphans in categories