@extends('backend.layout') @section('content')
{{ __('Update Profile') }}
@if ($errors->any())
    @foreach ($languages as $language) @if ($errors->has($language->code . '_first_name'))
  • {{ $errors->first($language->code . '_first_name') }}
  • @endif @if ($errors->has($language->code . '_last_name'))
  • {{ $errors->first($language->code . '_last_name') }}
  • @endif @if ($errors->has($language->code . '_country'))
  • {{ $errors->first($language->code . '_country') }}
  • @endif @if ($errors->has($language->code . '_city'))
  • {{ $errors->first($language->code . '_city') }}
  • @endif @if ($errors->has($language->code . '_state'))
  • {{ $errors->first($language->code . '_state') }}
  • @endif @if ($errors->has($language->code . '_zip_code'))
  • {{ $errors->first($language->code . '_zip_code') }}
  • @endif @if ($errors->has($language->code . '_email'))
  • {{ $errors->first($language->code . '_email') }}
  • @endif @if ($errors->has($language->code . '_details'))
  • {{ $errors->first($language->code . '_details') }}
  • @endif @endforeach
@endif
@csrf

@if (!empty($admin->image)) image @else ... @endif
{{ __('Choose Image') }}
@if ($errors->has('image'))

{{ $errors->first('image') }}

@endif

{{ __('Upload squre size image for best quality.') }}

@if ($errors->has('username'))

{{ $errors->first('username') }}

@endif
@if ($errors->has('email'))

{{ $errors->first('email') }}

@endif
@if ($errors->has('phone'))

{{ $errors->first('phone') }}

@endif
show_email_addresss == 1 ? 'checked' : '' }} name="show_email_addresss" class="custom-control-input" id="show_email_addresss">
show_phone_number == 1 ? 'checked' : '' }} name="show_phone_number" class="custom-control-input" id="show_phone_number">
show_contact_form == 1 ? 'checked' : '' }} name="show_contact_form" class="custom-control-input" id="show_contact_form">
@foreach ($languages as $language)
@php $vendor_info = App\Models\AdminInfo::where('admin_id', $admin->id) ->where('language_id', $language->id) ->first(); @endphp

@endforeach
@endsection