A free open source IT asset/license management system
Fixed license routes in getDataTable
snipeeb9207d0fed5
diff --git a/app/Http/Controllers/LicensesController.php b/app/Http/Controllers/LicensesController.phpindex 6492ba4662..9231d55bc1 100755--- a/app/Http/Controllers/LicensesController.php+++ b/app/Http/Controllers/LicensesController.php@@ -992,12 +992,12 @@ class LicensesController extends Controller. '" class="btn btn-info btn-sm" style="margin-right:5px;" title="Clone license"><i class="fa fa-files-o"></i></a>';}if (Gate::allows('licenses.edit')) {- $actions .= '<a href="' . route('update/license', $license->id)+ $actions .= '<a href="' . route('hardware.edit', $license->id). '" class="btn btn-warning btn-sm" style="margin-right:5px;"><i class="fa fa-pencil icon-white"></i></a>';}if (Gate::allows('licenses.delete')) {$actions .= '<a data-html="false" class="btn delete-asset btn-danger btn-sm" data-toggle="modal" href="'- . route('delete/license', $license->id)+ . route('hardware.destroy', $license->id). '" data-content="' . trans('admin/licenses/message.delete.confirm') . '" data-title="' . trans('general.delete') . ' ' . htmlspecialchars($license->name) . '?" onClick="return false;"><i class="fa fa-trash icon-white"></i></a>';}$actions .='</span>';