@if(UserRole::has('edit_position') || UserRole::has('delete_position')) @endif @foreach($positions as $position) @if(UserRole::has('edit_position') || UserRole::has('delete_position')) @endif @endforeach
# {{ Trans('positions.menu')}} {{ Trans('positions.for')}}{{ Trans('dashboard.crud.actions')}}
{{ $position->id }} {{ $position->name }} @if(App::getLocale() == "kh") {{ getPositionKh($position->for)}} @else {{ $position->for }} @endif @if(UserRole::has('edit_position')) id) }}" class="btn btn-xs btn-info">{{Trans("dashboard.crud.edit")}} @endif @if(UserRole::has('delete_position')) {{Trans("dashboard.crud.remove")}} @include('layouts.includes.modals.danger', ['model' => $position,'toRoute'=>'positions','attribute'=>'name']) @endif