@include('new_layouts.header') @include('accounting.side-menu')

{{__('Manage Custom Field')}}

@can('create constant custom field') @endcan
@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
@include('new_layouts.footer')