@extends('layouts.admin') @push('script-page') @endpush @section('page-title') {{ __('Contract Type') }} @endsection @section('title')
{{ __('Contract Type') }}
@endsection @section('breadcrumb') @endsection @section('action-btn') @can('manage constant contract type')
@endcan @endsection @section('filter') @endsection @section('content')
@foreach ($types as $type) @if (Gate::check('edit constant contract type') || Gate::check('delete constant contract type')) @endif @endforeach
{{ __('Name') }} {{ __('Action') }}
{{ $type->name }} @can('edit constant contract type') @endcan @can('delete constant contract type')
{!! Form::open([ 'method' => 'DELETE', 'route' => ['contractType.destroy', $type->id], 'id' => 'delete-form-' . $type->id, ]) !!} {!! Form::close() !!}
@endcan
@endsection