@props([
'item' => null,
'permission' => null,
'route',
'wide' => false,
])
@can('checkout', $item)
@if ($item->showCheckoutButton($item) == 'show-active')
@if ($wide=='true')
{{ trans('general.checkout') }}
@endif
@elseif ($item->showCheckoutButton($item) == 'show-disabled')
@endif
@endcan