@extends('admin.layouts.app') @section('title', 'Mapping Dealer to ASM') @section('content')

{{ __('Mapping Dealer to ASM') }}

@can('mapping-dealer-create')

Mapping Dealer to ASM

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

Mapping Countries

@if(isset($users)!=null) @foreach($users as $c) @endforeach @else No record Found @endif
Dealer ASM Actions
{{$c->name}} {{$c->asm_name}} @can('mapping-dealer-delete') {!! Form::open(['method' => 'GET','route' => ['mapping-dealer.edit', $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