@extends('admin.layout.base') @section('title') {{'Achievements'}} @endsection @push('inlineStyle') @endpush @section('content')

List Of All Achievements

Note: For achievements with 'active' status they have been published on mtutainvestment.co.tz Cancel @can('achievement-create') New @endcan

@include('admin.layout.includes.successWalert')
Achievements
@if(count($achs) > 0) @foreach($achs as $ach) @endforeach @else @endif
Title Category Status Actions
{{substr(ucfirst($ach->title),0,30)}} {{$ach->category->name}} @if($ach->status == 1) Active @else Inactive @endif
@can('achievement-list') View @endcan @can('achievement-edit') Edit @endcan
@can('achievement-delete')
{!! Form::open(['method' => 'DELETE', 'route' => ['achievement.destroy', $ach->id], 'onsubmit' => 'return confirmDelete()']) !!} @csrf {!! Form::close() !!}
@endcan
No record uploaded
{{ $achs->render("pagination::simple-bootstrap-4") }}
@endsection @push('inlineJs') @endpush