@extends('layouts.app') @section('content')

{{ __('Uber Eats Integration') }}

@if($connected) {{ $expired ? __('Expired') : __('Connected') }} @else {{ __('Not Connected') }} @endif

{{ __('Sandbox OAuth 2.0 (Authorization Code) connection status.') }}

{{ __('Registration Status') }}
{{ $integration->status ?? '-' }}
{{ __('Token') }}
{{ $connected ? '••••' . substr((string) $integration->access_token, -6) : __('None') }}
{{ __('Last Validity') }}
{{ $integration->token_expires_at ? $integration->token_expires_at->format('d.m.Y H:i') : '-' }}
{{ __('Refresh Token') }}
{{ $integration->refresh_token ? __('Present') : __('None') }}
{{ __('Scopes') }}
{{ implode(', ', $scopes) ?: '-' }}
{{ __('Redirect URI') }}
{{ $redirectUri }}
@endsection