diff --git a/resources/views/accessories/view.blade.php b/resources/views/accessories/view.blade.php index 66e8466742..f8ec45c31f 100644 --- a/resources/views/accessories/view.blade.php +++ b/resources/views/accessories/view.blade.php @@ -101,12 +101,6 @@ numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }} @endcan - - -

{{ trans('admin/accessories/general.about_accessories_title') }}

-

{{ trans('admin/accessories/general.about_accessories_text') }}

- - @stop diff --git a/resources/views/consumables/view.blade.php b/resources/views/consumables/view.blade.php index 62d82b2ff9..a6271a2f87 100644 --- a/resources/views/consumables/view.blade.php +++ b/resources/views/consumables/view.blade.php @@ -67,7 +67,6 @@
- @if ($consumable->image!='')
{{ $consumable->name }} @@ -116,10 +115,12 @@ {{ $consumable->order_number }}
@endif -
-

{{ trans('admin/consumables/general.about_consumables_title') }}

-

{{ trans('admin/consumables/general.about_consumables_text') }}

-
+ + @can('checkout', \App\Models\Accessory::class) +
+ numRemaining() > 0 ) ? '' : ' disabled') }}>{{ trans('general.checkout') }} +
+ @endcan