@extends('business_owner.layouts.master') @section('title', __('backend.edit_business_profile')) @push('after-styles') @endpush @section('content')

{{ __('backend.edit_business_profile') }}

{{ __('backend.dashboard') }} / {{ __('backend.business_profile') }} / {{ __('backend.edit_business_profile') }}
{{-- @if (session('success'))
{{ session('success') }}
@endif --}} {{-- @if (session('error'))
{{ session('error') }}
@endif --}} {{-- @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif --}}
@csrf

{{ __('backend.personal_details') }}

@if ($errors->has('full_name')) {{ $errors->first('full_name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
{{ old('country_code', $businessOwner->country_code ?? '+61') }}
@if ($errors->has('mobile_number')) {{ $errors->first('mobile_number') }} @endif

{{ __('backend.business_details') }}

@if ($errors->has('business_name')) {{ $errors->first('business_name') }} @endif
@if ($errors->has('category_id')) {{ $errors->first('category_id') }} @endif
@if ($errors->has('interest_ids')) {{ $errors->first('interest_ids') }} @endif
@if ($errors->has('description')) {{ $errors->first('description') }} @endif

{{ __('backend.google_location_full_address') }}

@if ($errors->has('address')) {{ $errors->first('address') }} @endif

{{ __('backend.business_contact_information') }}

{{ old('country_code', $businessOwner->country ?? '+61') }}
@if ($errors->has('business_phone')) {{ $errors->first('business_phone') }} @endif
@if ($errors->has('business_email')) {{ $errors->first('business_email') }} @endif
@if ($errors->has('website_url')) {{ $errors->first('website_url') }} @endif

{{ __('backend.business_media') }}

Allowed: jpg, jpeg, png, webp. Max 2MB.
@if ($errors->has('business_logo')) {{ $errors->first('business_logo') }} @endif
@php $logo = !empty($businessOwner->business_logo) ? Storage::disk('s3')->url($businessOwner->business_logo) : asset('assets/dashboard/images/profile.jpg'); @endphp Business Logo
@if ($errors->has('business_images')) {{ $errors->first('business_images') }} @endif
You can keep old images, remove selected ones, and upload new images.
@forelse($businessImages as $img)
×
@empty - @endforelse
Back
@endsection @push('after-scripts') @endpush