changed bulk actions show based on permissions
This commit is contained in:
		@@ -46,11 +46,7 @@
 | 
			
		||||
                        @foreach($taxes as $item)
 | 
			
		||||
                            <tr class="row align-items-center border-top-1">
 | 
			
		||||
                                <td class="col-sm-2 col-md-2 col-lg-1 d-none d-sm-block">
 | 
			
		||||
                                    @if (user()->can('update-settings-taxes'))
 | 
			
		||||
                                        {{ 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-3 col-md-2 col-lg-4"><a class="col-aka" href="{{ route('taxes.edit', $item->id) }}">{{ $item->name }}</a></td>
 | 
			
		||||
                                <td class="col-md-2 col-lg-2 d-none d-md-block">{{ $item->rate }}</td>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user