@extends('admin.layouts.app') @section('title', 'Territory') @section('content')

{{ __('Territory') }}

@can('territory-create')

Create Territory

@csrf @method('POST')
@include('admin.partials.form-errors', array('field' => 'name'))
@endcan

territorys

@foreach($territorys as $c) @endforeach
Name Actions
{{$c->name}} @can('territory-edit') Edit @endcan @can('territory-delete') {!! Form::open(['method' => 'DELETE','route' => ['territory.destroy', $c->id],'style'=>'display:inline', 'onsubmit' => 'return confirm("Are you sure you want to delete this Record?")']) !!} {!! Form::submit('Delete', ['class' => 'btn btn-danger btn-sm']) !!} {!! Form::close() !!} @endcan
@endsection