@foreach (['list','index', 'create', 'edit', 'show', 'delete','alltask','stripeShow','allprojects'] as $action)
@php
$permissionKey = array_search($module . ' ' . $action, (array) $permissions);
@endphp
@if ($permissionKey !== false)
@endif
@endforeach