@extends('admin.layouts.app') @section('title', 'Issue Type/s') @section('content')

{{ __('Issue Type/s') }}

@can('department-create')

Create Issue Type

@csrf @method('POST')
@include('admin.partials.form-errors', array('field' => 'name'))
@endcan

Issue Type/s

@foreach($issueTypes as $c) @endforeach
Name Actions
{{$c->name}} @can('department-edit') Edit @endcan @can('department-delete') {!! Form::open(['method' => 'DELETE','route' => ['issueType.destroy', $c->id],'style'=>'display:inline', 'onsubmit' => 'return confirm("Are you sure you want to delete this Record?")']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!} @endcan
@endsection