@extends('front.layouts.app') @section('content') @if(\Illuminate\Support\Facades\Auth::user()->accessIsAllowed())
Profile
You can edit information about yourself.
Edit

{{ csrf_field() }} {{ method_field("PUT") }}
@if ($errors->any()) @if( $errors->has('name'))
The name field is required.
@endif @endif
@if(empty($vendor->avatar))
@else
@endif
Upload your avatar
Upload your photo
{{--
{{ $vendor->email }}
--}}
@if ($errors->any()) @if( $errors->has('password'))
@foreach ($errors->all() as $error) {{ $error }} @endforeach
@endif @endif
@if ($errors->any()) @if( $errors->has('pone'))
The pone field is required.
@endif @endif
@if ($errors->any()) @if( $errors->has('website'))
The website field is required.
@endif @endif
@if ($errors->any()) @if( $errors->has('address'))
The address field is required.
@endif @endif
@if ($errors->any()) @if( $errors->has('about'))
The about field is required.
@endif @endif

{{ csrf_field() }} {{ method_field("PUT") }}
{{ $vendor->email ?? null }}
Emergency Contact
@if ($errors->any()) @if( $errors->has('emergency_contact_person'))
{{ $errors->get('emergency_contact_person')[0] }}
@endif @endif
@if ($errors->any()) @if( $errors->has('emergency_contact_phone'))
{{ $errors->get('emergency_contact_phone')[0] }}
@endif @endif
Employees
@if ($errors->any()) @if( $errors->has('employees'))
{{ $errors->get('employees')[0] }}
@endif @endif
@if ($errors->any()) @if( $errors->has('employees_phone_number'))
{{ $errors->get('employees_phone_number')[0] }}
@endif @endif
Applicant of Business
@if ($errors->any()) @if( $errors->has('applicant_of_business'))
{{ $errors->get('applicant_of_business')[0] }}
@endif @endif
@if ($errors->any()) @if( $errors->has('business_email'))
{{ $errors->get('business_email')[0] }}
@endif @endif
@else
@include('front.account.waiting_for_approval')
@endif @endsection @push('footer.scripts') @if(request()->has("contacts")) @endif @endpush