From 72f58b04053df3527ddfaeb36116aa0242634cf5 Mon Sep 17 00:00:00 2001 From: spencerrlongg Date: Wed, 11 Dec 2024 19:13:51 -0600 Subject: [PATCH] leaving this here for notes etc --- resources/views/partials/bootstrap-table.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index 0d64095235..f7c2628e30 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -441,10 +441,14 @@ } function genericCheckinCheckoutFormatter(destination) { + console.log(destination) return function (value,row) { + console.log(value) + console.log(row.user_can_checkout) // some extra logic for kits needs to go here // The user is allowed to check items out, AND the item is deployable + row.available_actions.checkout = true //this is for testing -- TODO: REMOVE!!!! if ((row.available_actions.checkout == true) && (row.user_can_checkout == true) && ((!row.asset_id) && (!row.assigned_to))) { return '{{ trans('general.checkout') }}';