@php /** * Restaurant sign-up, step 3: the Business Profile block - Connect (a pop-up), or the connected chip * with the account's listings to pick from. Rendered by the page and again by the pop-up's answer / * "Disconnect" (VendorSignupController::venuePanel), so the block swaps in place without a reload. * * @var array $gbp The connection parked in the session: refresh, locations, picked ([] = none). */ $gbp = (array) ($gbp ?? []); $gbpConnected = ($gbp['refresh'] ?? '') !== ''; $gbpLocations = (array) ($gbp['locations'] ?? []); $gbpPicked = (array) ($gbp['picked'] ?? []); @endphp @if ($gbpConnected)
{{ t_raw('auth.vs_gbp_pick') }}
{{ t_raw('auth.vs_gbp_none') }}
@endif @else {!! google_mark(18, 'me-2') !!} {{ t_raw('auth.vs_gbp_btn') }} @endif