@extends('admin.layout.dashboard-template') @section('content')
@if(\Session::get('success')) @endif {{ \Session::forget('success') }} @if(\Session::get('error')) @endif

Edit Agents

@csrf
@if($data->image!=NULL)
@else
@endif
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('mobile_number')) {{ $errors->first('mobile_number') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('designation')) {{ $errors->first('designation') }} @endif
@if ($errors->has('gpay_name')) {{ $errors->first('gpay_name') }} @endif
@if ($errors->has('gpay_number')) {{ $errors->first('gpay_number') }} @endif
@endsection