snipe-it/database/seeds
Daniel Meltzer 2a95a95e00 Company to logs (#2717)
* Fix the actionlog/companyables problem by adding a company_id to all actionlogs and scoping directly on that.  Works around bugs in laravel where trying to hunt down the polymorphic relationship would lead to an infinite loop

* Scope companyables in getactivityreport.  Also eager load.

* Improve reportscontroller, work on seeder to test this.

* Only show company users in checkout dialogs

* If no admin associated with log, it might be a request.  Leave blank instead of saying deleted admin

* When injecting company_id, use target instead of user if user is a superadmin

* Build up the seeder to generate users, companies, and logs.

* Eager load the log, don't scope the users log because the log should already include things only related to the user.
2016-09-29 22:20:49 -07:00
..
.gitkeep Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
AccessorySeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
ActionlogSeeder.php Company to logs (#2717) 2016-09-29 22:20:49 -07:00
AssetModelSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
AssetSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CategorySeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CompanySeeder.php Company to logs (#2717) 2016-09-29 22:20:49 -07:00
ComponentSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
ConsumableSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
CustomFieldSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
DatabaseSeeder.php Company to logs (#2717) 2016-09-29 22:20:49 -07:00
DepreciationSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LicenseSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
LocationSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
ManufacturerSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
StatuslabelSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
SupplierSeeder.php Version 3 - hold onto your butts 2016-03-25 01:18:05 -07:00
UserSeeder.php Company to logs (#2717) 2016-09-29 22:20:49 -07:00