This controller handles all actions related to Reports for the Snipe-IT Asset Management application. More...

Public Member Functions | |
getAccessoryReport () | |
Returns a view that displaysthe accessories report. More... | |
exportAccessoryReport () | |
Exports the accessories to CSV. More... | |
getAssetsReport () | |
Display asset report. More... | |
exportAssetReport () | |
Exports the assets to CSV. More... | |
getDeprecationReport () | |
Show depreciation report for assets. More... | |
exportDeprecationReport () | |
Exports the depreciations to CSV. More... | |
getActivityReport () | |
Displays activity report. More... | |
getLicenseReport () | |
Displays license report. More... | |
exportLicenseReport () | |
Exports the licenses to CSV. More... | |
getCustomReport () | |
Returns a form that allows the user to generate a custom CSV report. More... | |
postCustom () | |
Exports the custom report to CSV. More... | |
getAssetMaintenancesReport () | |
getImprovementsReport More... | |
exportAssetMaintenancesReport () | |
exportImprovementsReport More... | |
getAssetAcceptanceReport () | |
getAssetAcceptanceReport More... | |
exportAssetAcceptanceReport () | |
exportAssetAcceptanceReport More... | |
Protected Member Functions | |
getCheckedOutAssetsRequiringAcceptance ($modelsInCategoriesThatRequireAcceptance) | |
getCheckedOutAssetsRequiringAcceptance More... | |
getModelsInCategoriesThatRequireAcceptance ($assetCategoriesRequiringAcceptance) | |
getModelsInCategoriesThatRequireAcceptance More... | |
getCategoriesThatRequireAcceptance () | |
getCategoriesThatRequireAcceptance More... | |
getAssetsCheckedOutRequiringAcceptance () | |
getAssetsCheckedOutRequiringAcceptance More... | |
getAssetsNotAcceptedYet () | |
getAssetsNotAcceptedYet More... | |
Detailed Description
This controller handles all actions related to Reports for the Snipe-IT Asset Management application.
- Version
- v1.0
Definition at line 30 of file ReportsController.php.
Member Function Documentation
App\Http\Controllers\ReportsController::exportAccessoryReport | ( | ) |
Exports the accessories to CSV.
- Deprecated:
- Server-side exports have been replaced by datatables export since v2.
- See also
- ManufacturersController::getDatatable() method that generates the JSON response
- Since
- [v1.0]
- Returns
Definition at line 56 of file ReportsController.php.
App\Http\Controllers\ReportsController::exportAssetAcceptanceReport | ( | ) |
exportAssetAcceptanceReport
- Returns
- Version
- v1.0
Definition at line 704 of file ReportsController.php.
App\Http\Controllers\ReportsController::exportAssetMaintenancesReport | ( | ) |
App\Http\Controllers\ReportsController::exportAssetReport | ( | ) |
Exports the assets to CSV.
- Since
- [v1.0]
- Returns
Definition at line 122 of file ReportsController.php.
App\Http\Controllers\ReportsController::exportDeprecationReport | ( | ) |
Exports the depreciations to CSV.
- Deprecated:
- Server-side exports have been replaced by datatables export since v2.
- Since
- [v1.0]
- Returns
Definition at line 248 of file ReportsController.php.
App\Http\Controllers\ReportsController::exportLicenseReport | ( | ) |
Exports the licenses to CSV.
- Deprecated:
- Server-side exports have been replaced by datatables export since v2.
- Since
- [v1.0]
- Returns
Definition at line 367 of file ReportsController.php.
App\Http\Controllers\ReportsController::getAccessoryReport | ( | ) |
Returns a view that displaysthe accessories report.
- Since
- [v1.0]
- Returns
- View
Definition at line 40 of file ReportsController.php.
App\Http\Controllers\ReportsController::getActivityReport | ( | ) |
Displays activity report.
- Since
- [v1.0]
- Returns
- View
Definition at line 328 of file ReportsController.php.
App\Http\Controllers\ReportsController::getAssetAcceptanceReport | ( | ) |
getAssetAcceptanceReport
- Returns
- mixed
- Version
- v1.0
Definition at line 690 of file ReportsController.php.
App\Http\Controllers\ReportsController::getAssetMaintenancesReport | ( | ) |
|
protected |
getAssetsCheckedOutRequiringAcceptance
- Returns
- array
- Version
- v1.0
Definition at line 804 of file ReportsController.php.
|
protected |
getAssetsNotAcceptedYet
- Returns
- array
- Version
- v1.0
Definition at line 819 of file ReportsController.php.
App\Http\Controllers\ReportsController::getAssetsReport | ( | ) |
|
protected |
getCategoriesThatRequireAcceptance
- Returns
- array
- Version
- v1.0
Definition at line 788 of file ReportsController.php.
|
protected |
getCheckedOutAssetsRequiringAcceptance
- Parameters
-
$modelsInCategoriesThatRequireAcceptance
- Returns
- array
- Version
- v1.0
Definition at line 753 of file ReportsController.php.
App\Http\Controllers\ReportsController::getCustomReport | ( | ) |
Returns a form that allows the user to generate a custom CSV report.
- See also
- ReportsController::postCustomReport() method that generates the CSV
- Since
- [v1.0]
- Returns
Definition at line 415 of file ReportsController.php.
App\Http\Controllers\ReportsController::getDeprecationReport | ( | ) |
Show depreciation report for assets.
- Since
- [v1.0]
- Returns
- View
Definition at line 230 of file ReportsController.php.
App\Http\Controllers\ReportsController::getLicenseReport | ( | ) |
Displays license report.
- Since
- [v1.0]
- Returns
- View
Definition at line 349 of file ReportsController.php.
|
protected |
getModelsInCategoriesThatRequireAcceptance
- Parameters
-
$assetCategoriesRequiringAcceptance
- Returns
- array
- Version
- v1.0
Definition at line 772 of file ReportsController.php.
App\Http\Controllers\ReportsController::postCustom | ( | ) |
Exports the custom report to CSV.
- See also
- ReportsController::getCustomReport() method that generates form view
- Since
- [v1.0]
- Returns
Definition at line 429 of file ReportsController.php.
The documentation for this class was generated from the following file: