snipe-it/app/Http/Controllers/Api
Jeremy Price d3bcc48ae5 [imports] fix "Backup before importing?" checkbox on import page
We were always taking backups before import, no matter the status of
this box.

Turns out we were testing for the presence of the property defined by
the checkbox, rather than the value of the property, and as such were
always doing a backup.

We're now checking the status, and it behaves as expected
2023-01-23 15:08:59 -08:00
..
AccessoriesController.php
AssetMaintenancesController.php
AssetModelsController.php
AssetsController.php Derp. Copypasta 2023-01-18 15:44:28 -08:00
CategoriesController.php Added comments 2023-01-10 16:24:46 -08:00
CompaniesController.php
ComponentsController.php Added note on checkout 2022-08-10 15:04:59 -07:00
ConsumablesController.php Fixed some layout issues 2022-11-01 19:06:49 -07:00
CustomFieldsController.php Check for the format index in the $data array when creating a new custom field via API 2022-11-16 15:53:16 +00:00
CustomFieldsetsController.php
DepartmentsController.php
DepreciationsController.php
GroupsController.php
ImportController.php [imports] fix "Backup before importing?" checkbox on import page 2023-01-23 15:08:59 -08:00
LicensesController.php Removed duplicate supplier_id 2022-07-13 13:08:15 -07:00
LicenseSeatsController.php Correct comparison logic 2022-10-08 12:54:15 +07:00
LocationsController.php Renamed column back to assets_count for legacy 2022-10-26 09:39:03 -07:00
ManufacturersController.php
PredefinedKitsController.php
ProfileController.php
ReportsController.php Added relations to report search 2022-08-02 23:50:10 -07:00
SettingsController.php Attempt a download via API 2022-06-28 23:59:13 -07:00
StatuslabelsController.php Fixed #11521 - switch to using status meta from status label name 2022-09-29 03:48:58 -07:00
SuppliersController.php
UsersController.php Formatting changes only for readability 2023-01-17 17:21:20 -08:00