@extends('admin.layout.main') @section('content')

@if(isset($data)) Edit @else Add @endif Customer User Management

@csrf @if(isset($data)) @endif
@if ($errors->has('group_id'))
{{ $errors->first('group_id') }}
@endif
@if ($errors->has('name'))
{{ $errors->first('name') }}
@endif
@if ($errors->has('address'))
{{ $errors->first('address') }}
@endif
@if ($errors->has('address_2'))
{{ $errors->first('address_2') }}
@endif
@if ($errors->has('address_3'))
{{ $errors->first('address_3') }}
@endif
@if ($errors->has('country_id'))
{{ $errors->first('country_id') }}
@endif
@if ($errors->has('state_id'))
{{ $errors->first('state_id') }}
@endif
@if ($errors->has('phonecode'))
{{ $errors->first('phonecode') }}
@endif
@if ($errors->has('phonecode')) @elseif ($errors->has('phone_number'))
{{ $errors->first('phone_number') }}
@endif
@if ($errors->has('email_address'))
{{ $errors->first('email_address') }}
@endif
@if ($errors->has('year_end'))
{{ $errors->first('year_end') }}
@endif
@if ($errors->has('contact_detail'))
{{ $errors->first('contact_detail') }}
@endif
@if(is_array(Request::old('contact_name'))) @foreach (Request::old('contact_name') as $key => $contact_name_val)
Name Email Birth Date Mobile Number