snipe_it/app/Presenters
Tobias Regnery 1ccbf8942c Add ability to tie locations to companies
Locations are the last big part of the application that can't be tied to companies.
This can be a problem with FullMultipleCompanySupport, because you can't restrict the visibility of locations to the company of the users.

In order to change this, add a company_id to the locations table and wire everything up in the views and controllers.
Aditionally add a new formatter to filter the locations to a specific company, like it is done for assets.

Locations are properly scoped to the users company if FullMultipleCompanySupport is enabled.
If a parent location of a location has a different company than the user, the location does not show up.
2024-11-04 10:03:37 +01:00
..
AccessoryPresenter.php Added order by created_by to accessories 2024-09-19 16:45:39 +01:00
ActionlogPresenter.php Fixed #15740 - use non-translated strings for icons 2024-10-28 13:37:59 +00:00
AssetAuditPresenter.php fixed audit log image not appearing 2023-06-12 12:10:19 -07:00
AssetMaintenancesPresenter.php Fixed #15651 - admin user now displaying on maintenances page 2024-10-11 11:16:24 +01:00
AssetModelPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
AssetPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
CategoryPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
CompanyPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
ComponentPresenter.php Added manufacturer and model_number to components 2024-10-23 17:50:22 +01:00
ConsumablePresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
DepreciationPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
DepreciationReportPresenter.php removes sortablity from current value column 2024-09-30 11:15:49 -07:00
LabelPresenter.php Values are not sortable, so don’t show them as sortable 2023-08-18 21:21:54 +01:00
LicensePresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
LicenseSeatPresenter.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
LocationPresenter.php Add ability to tie locations to companies 2024-11-04 10:03:37 +01:00
ManufacturerPresenter.php Added manufacturer and model_number to components 2024-10-23 17:50:22 +01:00
PredefinedKitPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00
Presentable.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
Presenter.php Adopt Laravel coding style 2021-06-10 20:15:52 +00:00
StatusLabelPresenter.php Added created_by to status label 2024-09-19 18:22:11 +01:00
UserPresenter.php Change user_id to created_by 2024-09-17 22:16:41 +01:00