@extends('layouts.admin') @section('content')
@include('includes.admin.partials.integration-menu')
{{ csrf_field() }} @include('includes.admin.form-both')

{{ __('Mercado Livre Client ID/App ID') }} *

{{ __('Mercado Livre Client Secret') }} *

@if ($meli->app_id && $meli->redirect_uri)

{{ __('Mercado Livre Authorization Code, Access & Refresh Token') }} * ({{ __('Get all Mercado Livre credentials by simply clicking the button below.') }})

{{ __('Get it here') }}

{{ $meli->authorization_code }}

{{ __('Updated at') }}: {{ \Carbon\Carbon::parse($meli->updated_at)->format('d-m-Y H:i:s') }}

@endif

{{ __('Mercado Livre Redirect URL') }} ({{ __('Current Mercado Livre Redirect URL') }})

{{ __('This URL is always the same. You need to configure your Redirect URL at Mercado Livre with this URL.') }}

{{ __('Current Access Token') }} ({{ __('Current Mercado Livre Access Token') }})

{{ $meli->access_token }}

{{ __('Updated at') }}: {{ \Carbon\Carbon::parse($meli->updated_at)->format('d-m-Y H:i:s') }}

{{ __('Current Refresh Token') }} ({{ __('Current Mercado Livre Refresh Token') }})

{{ $meli->refresh_token }}

{{ __('Updated at') }}: {{ \Carbon\Carbon::parse($meli->updated_at)->format('d-m-Y H:i:s') }}

@endsection