@if(empty($badge))
@foreach(\App\Models\Badge::$badgeTypes as $type)
{{ trans('admin/main.title') }} |
{{ trans('public.image') }} |
{{ trans('admin/main.condition') }} |
{{ trans('update.score') }} |
{{ trans('public.description') }} |
{{ trans('admin/main.created_at') }} |
{{ trans('admin/main.actions') }} |
@if(!empty($badges[$type]))
@foreach($badges[$type] as $badge)
{{ $badge->title }} |
|
{{ $badge->condition->from }} to {{ $badge->condition->to }} |
{{ $badge->score }} |
{{ $badge->description }}
|
{{ dateTimeFormat($badge->created_at,'j M Y') }} |
@can('admin_users_badges_edit')
@endcan
@can('admin_users_badges_delete')
@include('admin.includes.delete_button',['url' => getAdminPanelUrl().'/users/badges/'.$badge->id.'/delete' , 'btnClass' => 'btn-sm'])
@endcan
|
@endforeach
@endif
@endforeach