mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 13:44:06 -08:00
2a95a95e00
* 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. |
||
---|---|---|
.. | ||
Accessory.php | ||
Actionlog.php | ||
Asset.php | ||
AssetMaintenance.php | ||
AssetModel.php | ||
Category.php | ||
CheckoutRequest.php | ||
Company.php | ||
CompanyableChildScope.php | ||
CompanyableChildTrait.php | ||
CompanyableScope.php | ||
CompanyableTrait.php | ||
Component.php | ||
Consumable.php | ||
ConsumableAssignment.php | ||
CustomField.php | ||
CustomFieldset.php | ||
Depreciable.php | ||
Depreciation.php | ||
Group.php | ||
ICompanyableChild.php | ||
Ldap.php | ||
License.php | ||
LicenseSeat.php | ||
Location.php | ||
Loggable.php | ||
Manufacturer.php | ||
Requestable.php | ||
Setting.php | ||
Statuslabel.php | ||
Supplier.php | ||
Throttle.php | ||
User.php |