@extends('layouts.dashboard') @section('content') @php /** * Shared personal account edit page for EVERY signed-in role — super_admin, * vendor, the vendor staff sub-roles (manager / kitchen / host / waiter) and the * driver. Rendered inside the dashboard layout, so no header/sidebar here - just * the body. Expects: $user (the signed-in user row), $backUrl (post target for * this area). Optional: $driver (rider row) renders the extra vehicle section. * * Split into sections the same way the Settings pages are: the .qm-settings grid * (sticky nav column + panel column) with .qm-settings-panel sections driven by * qm-tabs.js, so personal details and notification preferences are two * destinations rather than one long scroll. The wrapper is what makes the layout - * the nav classes alone render as full-width stacked bars. The two panels hold * independent forms posting to different endpoints, so switching section never * discards anything the other form is holding. */ $backUrl = $backUrl ?? '/'; $user = $user ?? []; $driver = $driver ?? []; @endphp
{!! t('account.edit_intro') !!}