A free open source IT asset/license management system
Added checkin button
snipeb8cc9ac788ee
diff --git a/resources/views/blade/button/checkin.blade.php b/resources/views/blade/button/checkin.blade.phpnew file mode 100644index 0000000000..887263874b--- /dev/null+++ b/resources/views/blade/button/checkin.blade.php@@ -0,0 +1,17 @@+@props([+ 'item' => null,+ 'permission' => null,+ 'route',+ 'wide' => false,+])++@can('checkin', $item)+ @if ($item->showCheckinButton($item))+ <a href="{{ $route }}" class="btn btn-sm bg-purple hidden-print" data-tooltip="true" data-placement="top" data-title="{{ trans('general.checkin') }}">+ <x-icon type="checkin" class="fa-fw" />+ @if ($wide=='true')+ {{ trans('general.checkin') }}+ @endif+ </a>+ @endif+@endcan