@extends('Frontend.partials.layout') @section('styles') @endsection @section('content') {{-- Main Section --}} {{-- analysis content header --}} {{ trans('action.update_user') }} {{ brandName() }} Energiestatus {{-- /analysis content header --}} @php $user_type = \Auth::user()->user_type; @endphp {{-- analysis content body --}} @csrf @method('PUT') {{-- card header --}} {{-- @dd($user->photo); --}} {{-- @if (empty($user->photo)) @else @endif --}} {{$user->first_name." ".$user->last_name}} {{ trans('action.change_image') }} {{ trans('action.delete') }} {{-- /card header --}} {{-- card body --}} {{-- col-6 --}} {{ trans('action.user_basic_information') }} {{ trans('action.basic_info_for', ['siteName' => env('APP_NAME')]) }} {{-- user type select box --}} {{ trans('action.user_type_title') }}* select_user_view == "1" ? "selected" : ""}}>{{ __('action.user_type_1') }} select_user_view == "2" ? "selected" : ""}}>{{ __('action.user_type_2') }} select_user_view == "3" ? "selected" : ""}}>{{ __('action.user_type_3') }} select_user_view == "4" ? "selected" : ""}}>{{ __('action.user_type_4') }} select_user_view == "5" ? "selected" : ""}}>{{ __('action.user_type_5') }} {{-- --}} {{trans('action.gender')}}* gender == 1) {{"checked"}} @endif>{{trans('action.male')}} gender == 2) {{"checked"}} @endif> {{trans('action.female')}} gender == 3) {{"checked"}} @endif> {{trans('action.other')}} @if ($errors->has('gender')) {{ $errors->first('gender') }} @endif {{-- no select user type start --}} {{ trans('action.first_name_1') }}* {{ trans('action.last_name_1') }}* {{trans('action.birthday_1')}}* {{-- --}} {{trans('action.place_of_birth_1')}}* {{-- no select user type end --}} @if($user_type != 1) {{ trans('action.address_pdf') }} {{ trans('action.postcode') }} {{ trans('action.address') }} {{ trans('action.timezone') }} {{trans('action.Select')}} {{-- @foreach ($timezones as $zone) timezone_id == $zone->timezone ? 'selected' : ''}}>{{$zone->name}} @endforeach --}} {{ trans('action.display_name') }} useroption->name_sort) {{"selected"}} @endif>{{trans('action.first_name')}}/{{trans('action.last_name')}}({{trans('action.sort_default')}}) useroption->name_sort) {{"selected"}} @endif>{{trans('action.last_name')}}/{{trans('action.first_name')}} {{-- {{ trans('action.placeholder_address') }}* --}} @if (checkCron(getAuthID())) {{trans('action.mail_send_email')}} @if ($errors->has('cron_email')) {{ $errors->first('cron_email') }} @endif @endif {{trans('action.telephone_number')}} @php $groupIDS = getCollectionArrayForStaff(Auth::user()->staffInGorup); @endphp @if ($user_type == 2) {{ trans('action.groups') }} {{trans('action.select_group')}} @if($user_type != 4) @php $template = (\Auth::user()->managelimitation->limitation_temp_id > 0) ? Auth::user()->managelimitation->template : Auth::user()->managelimitation @endphp max_staff == 0 OR count(\Auth::user()->staffs) >= $template->max_staff) disabled @elseif($user->staff != null) selected @endif value="staff">{{trans('action.staff')}} @endif @foreach ($groups as $group) @continue(!in_array($item->id,$groupIDS) && $user_type == 4) {{$group['group_name']}} @endforeach @endif @elseif (checkCron(getAuthID())==1) {{trans('action.mail_send_email')}} @if ($errors->has('cron_email')) {{ $errors->first('cron_email') }} @endif @endif {{-- col-6 --}} {{ trans('action.user_login') }} {{ trans('action.setting_for_user_login', ['siteName' => env('APP_NAME')]) }} {{ trans('action.email') }} {{ trans('action.never_share') }} @if ($errors->has('email')) {{ $errors->first('email') }} @endif {{ trans('action.user_login_name') }}* @if ($errors->has('user_name')) {{ $errors->first('user_name') }} @endif {{ trans('action.Update_Password') }} @if ($errors->has('password')) {{ $errors->first('password') }} @endif {{ trans('action.placeholder_re_passwrod') }} {{trans('action.user_settings')}} {{trans('action.setting_for_view')}} {{trans('action.language')}} @foreach ($languages as $language) isSelected) selected @endif>{{$language->name}} @endforeach {{-- {{trans('action.language')}} userfilter->filter_type==1) selected @endif>A-Z userfilter->filter_type==2) selected @endif>Z-A userfilter->filter_type==3) selected @endif>1-100 userfilter->filter_type==4) selected @endif>100-1 userfilter->filter_type==5) selected @endif>Show All --}} @if($user_type != 1 && env('APP_NAME') != 'Reset4me') {{ trans('action.select_filter') }} userfilter->filter_type==1) selected @endif>A-Z userfilter->filter_type==2) selected @endif>Z-A userfilter->filter_type==3) selected @endif>1-100 userfilter->filter_type==4) selected @endif>100-1 userfilter->filter_type==5) selected @endif>Show All @endif @if($user_type != 1 && env('APP_NAME') != 'Reset4me') {{ trans('action.dashboard_options') }} useroption->dashboard_view == '1') {{ "checked" }}@endif > {{trans('action.show_per_default')}} {{trans('action.Sound')}} useroption->sound == '1') {{ "checked" }}@endif > {{trans('action.play_audio')}} {{trans('action.email_subscription')}} email_subscription == 1) {{ "checked" }}@endif > {{trans('action.email_subscription')}} {{-- New --}} {{trans('action.pattern_switch')}} useroption->pattern_switch == '1') {{ "checked" }}@endif > {{trans('action.switch_button')}} {{trans('action.pattern_analysis')}} useroption->ran_ana == '1') {{ "checked" }}@endif > {{trans('action.show_per_default_random')}} @if (checkTherapist(getAuthID())==2) {{trans('action.cover_pdf')}} useroption->view_pdf==1) Checked @endif > {{ trans('action.cover_pdf') }} {{-- --}} @endif @endif @if($user_type == 0) {{trans('action.terms_of_use')}}* useroption->terms==1) Checked disabled @endif class="custom-control-input" name="terms" /> {{trans('action.gdpr_checkbox')}} @endif {{-- btn section --}} {{trans('action.to_save')}} {{ trans('action.cancel') }} {{-- {{ trans('action.save') }} --}} {{-- /card body --}} {{-- /analysis content body --}} {{-- /Main Section --}} @endsection @section('scripts') @endsection
{{ brandName() }} Energiestatus
{{ trans('action.never_share') }}