@extends('admin.layouts.layout') @section('content')
@if(empty($editQuestionCategoryData[0]->id))
@else @endif @csrf

{{ empty($editQuestionCategoryData[0]->id) ? 'Add' : 'Edit' }} Question Category

@if ($errors->has('postsecondaryid')) {{ $errors->first('postsecondaryid') }}@endif
@if ($errors->has('name')){{ $errors->first('name') }}@endif
@if(!empty($editQuestionCategoryData[0]->has_sub_category))
@else @endif

List Question Category

@if(!empty($getQuestionCategoryData)) @foreach($getQuestionCategoryData as $key=> $questionCate) @endforeach @endif
Name Table Is Category Screen Type Created_at Action
{{ !empty($questionCate->name) ? $questionCate->name : '' }} {{ !empty($questionCate->table_name) ? $questionCate->table_name : '' }} {{ !empty($questionCate->name) ? $questionCate->name : '' }} {{ !empty($questionCate->screen_id ) ? $questionCate->screen_id : '' }} {{ !empty($questionCate->type) ? $questionCate->type : '' }} {{ !empty($questionCate->created_at) ? date('d-M-Y', strtotime($questionCate->created_at)) : '' }} Edit Delete
@endsection @section('pagescriptcode') @endsection