@extends('layouts.admin') @section('page-title') {{__('Manage Custom Field')}} @endsection @section('breadcrumb') @endsection @section('action-btn')
@can('create constant custom field') @endcan
@endsection @section('content')
@include('layouts.account_setup')
@foreach ($custom_fields as $field) @if(Gate::check('edit constant custom field') || Gate::check('delete constant custom field')) @endif @endforeach
{{__('Custom Field')}} {{__('Type')}} {{__('Module')}} {{__('Action')}}
{{ $field->name}} {{ $field->type}} {{ $field->module}} @can('edit constant custom field') @endcan @can('delete constant custom field')
{!! Form::open(['method' => 'DELETE', 'route' => ['custom-field.destroy', $field->id],'id'=>'delete-form-'.$field->id]) !!} {!! Form::close() !!}
@endcan
@endsection