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') }}';