@extends('template.master') @section('title', 'Add/Edit App User') @push('styles') @endpush @section('content')

Add/Edit App User

Back
@csrf @if(isset($appUser) && !empty($appUser->app_user_id)) @endif @if(isset($appUser) && ($appUser->group_subscription_id != 0 || $appUser->group_subscription_id != null))
Yes
{{$groupName}}
@endif
@if($errors->has('company'))
{{ $errors->first('company') }}
@endif
@if($errors->has('first_name'))
{{ $errors->first('first_name') }}
@endif
@if($errors->has('last_name'))
{{ $errors->first('last_name') }}
@endif
@if($errors->has('email'))
{{ $errors->first('email') }}
@endif
@if($errors->has('title'))
{{ $errors->first('title') }}
@endif
@if($errors->has('password'))
{{ $errors->first('password') }}
@endif
@if($errors->has('confim_password'))
{{ $errors->first('confim_password') }}
@endif
@if($errors->has('country_code'))
{{ $errors->first('country_code') }}
@endif
@if($errors->has('phone_no'))
{{ $errors->first('phone_no') }}
@endif
@if($errors->has('assistant_name'))
{{ $errors->first('assistant_name') }}
@endif
@if($errors->has('assistant_email'))
{{ $errors->first('assistant_email') }}
@endif
@if($errors->has('assistant_country_code'))
{{ $errors->first('assistant_country_code') }}
@endif
@if($errors->has('assistant_phone_no'))
{{ $errors->first('assistant_phone_no') }}
@endif
@if($errors->has('business_interests'))
{{ $errors->first('business_interests') }}
@endif @if($errors->has('business_interests'))
{{ $errors->first('business_interests') }}
@endif
@if($errors->has('mailing_address'))
{{ $errors->first('mailing_address') }}
@endif
@if($errors->has('spouse_name'))
{{ $errors->first('spouse_name') }}
@endif
@if($errors->has('spouse_birthday'))
{{ $errors->first('spouse_birthday') }}
@endif
@if($errors->has('subscription_id'))
{{ $errors->first('subscription_id') }}
@endif
@if($errors->has('subscription_start_date'))
{{ $errors->first('subscription_start_date') }}
@endif
subscription_type)) && @$appUser->subscription_type==1)? "checked" : "" }}>
subscription_type)) && @$appUser->subscription_type ==2? "checked" : "" }}>
@if($errors->has('subscription_type')) {{ $errors->first('subscription_type') }} @endif
app_user_status)) && @$appUser->app_user_status == 1) ? "checked" : "" }} >
app_user_status)) && @$appUser->app_user_status == 0) ? "checked" : "" }}>
@if($errors->has('app_user_status')) {{ $errors->first('app_user_status') }} @endif
@if(isset($appUser->profile_img) && $appUser->profile_img != '' ) @endif
@if($errors->has('birthday'))
{{ $errors->first('birthday') }}
@endif
@if(!empty($childern))
@foreach($childern as $key => $val)
@if($errors->has('child_name'))
{{ $errors->first('child_name') }}
@endif
@if($errors->has('child_birthday'))
{{ $errors->first('child_birthday') }}
@endif
Add Delete
@endforeach
@else
@if($errors->has('child_name'))
{{ $errors->first('child_name') }}
@endif
@if($errors->has('child_birthday'))
{{ $errors->first('child_birthday') }}
@endif
Add Delete
@endif Cancel
@endsection @push('child-scripts') @endpush