@php use App\Library\Tool; @endphp @extends('layouts/contentLayoutMaster') @section('title', __('locale.sub_accounts.update_sub_account')) @section('vendor-style') @endsection @section('content')

{{ __('locale.sub_accounts.update_sub_account') }}

@csrf
@error('email')
{{ $message }}
@enderror
@error('first_name')
{{ $message }}
@enderror
@error('last_name')
{{ $message }}
@enderror
@error('image')
{{ $message }}
@enderror @if ($subAccount->image) Profile @endif

{{__('locale.customer.profile_image_size')}}

{{ __('locale.labels.permissions') }}
@if ($errors->has('permissions.*'))

{{ $errors->first() }}

@endif
@foreach($permissions as $category)
{{ __('locale.menu.'.$category['title']) }}
@foreach($category['permissions'] as $permission) {{-- Only show permissions that the main customer can assign --}}
@endforeach
@endforeach
@endsection @section('vendor-script') @endsection @section('page-script') @endsection