changed bulk actions show based on permissions
This commit is contained in:
		@@ -45,11 +45,7 @@
 | 
			
		||||
                    @foreach($accounts as $item)
 | 
			
		||||
                        <tr class="row align-items-center border-top-1">
 | 
			
		||||
                            <td class="col-sm-2 col-md-1 col-lg-1 col-xl-1 d-none d-sm-block">
 | 
			
		||||
                                @if (user()->can('update-banking-accounts'))
 | 
			
		||||
                                    {{ Form::bulkActionGroup($item->id, $item->name) }}
 | 
			
		||||
                                @else
 | 
			
		||||
                                    {{ Form::bulkActionGroup($item->id, $item->name, ['disabled' => 'disabled']) }}
 | 
			
		||||
                                @endif
 | 
			
		||||
                                {{ Form::bulkActionGroup($item->id, $item->name) }}
 | 
			
		||||
                            </td>
 | 
			
		||||
                            <td class="col-xs-4 col-sm-4 col-md-3 col-lg-3 col-xl-2"><a class="col-aka" href="{{ route('accounts.edit', $item->id) }}">{{ $item->name }}</a></td>
 | 
			
		||||
                            <td class="col-md-2 col-lg-2 col-xl-3 d-none d-md-block text-left">{{ $item->number }}</td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user