This commit is contained in:
spencerrlongg 2024-12-17 16:38:29 -06:00
parent eb054897d6
commit 7eb936883a
2 changed files with 1 additions and 3 deletions

View file

@ -4,7 +4,6 @@ namespace App\Http\Transformers;
use App\Helpers\Helper;
use App\Models\Asset;
use App\Models\AssetModel;
use App\Models\PredefinedKit;
use App\Models\SnipeModel;
use Illuminate\Support\Facades\Gate;

View file

@ -442,7 +442,6 @@
function genericCheckinCheckoutFormatter(destination) {
return function (value, row) {
// some extra logic for kits needs to go here
// The user is allowed to check items out, AND the item is deployable
if ((row.available_actions.checkout == true) && (row.user_can_checkout == true) && ((!row.asset_id) && (!row.assigned_to))) {