@extends('layout.master') @push('plugin-styles') @endpush @section('content')
Initiatives table
New
@if(count($initiatives) > 0) @foreach($initiatives as $initiative) @if(get_category_by_id($initiative->sub_category_id)) @else @endif @endforeach @endif
# Title impact Cost Of
Implementation
Category Sub Category
{{$initiative->id}} {{$initiative->title}} @if($initiative->impact == 'low') Low @endif @if($initiative->impact == 'moderate') Moderate @endif @if($initiative->impact == 'large') Large @endif @if($initiative->cost_of_implementation == 'low') Low @endif @if($initiative->cost_of_implementation == 'medium') Medium @endif @if($initiative->cost_of_implementation == 'high') High @endif @if(get_category_by_id($initiative->category_id)) {{get_category_by_id($initiative->category_id)->title}} @else N/A @endif {{get_category_by_id($initiative->sub_category_id)->title}}N/A
@method('delete') @csrf Edit
@endsection