@extends('layouts.admin') @section('page-title') {{ __('Contract Type') }} @endsection @section('links') @if (\Auth::guard('client')->check()) @else @endif @endsection @section('action-button') @auth('web') @if ($currentWorkspace->creater->id == Auth::user()->id) @endif @endauth @endsection @section('content')
@auth('web') @endauth @foreach ($contractTypes as $contractType) @auth('web') @endauth @endforeach
{{ __('Contract Type') }}{{ __('Action') }}
{{ $contractType->name }} {!! Form::open([ 'method' => 'DELETE', 'route' => ['contract_type.destroy', [!empty($currentWorkspace) ? $currentWorkspace->slug : 0, $contractType->id]], 'id' => 'delete-form-' . $contractType->id, ]) !!} {!! Form::close() !!}
@endsection