@include('backend.alerts')
@if (isset($error))

Your connection to Xero failed

{{ $error }}

Reconnect to Xero @elseif(!empty($xero_oauth_user))

You are connected to Xero

Disconnect Xero Reconnect to Xero @if (!empty($xeroConfigHtml))
{!! $xeroConfigHtml !!}
Tenant Id Scope Expires XERO API Blocked XERO API Blocked Until XERO API Blocked Reason XERO API Calls Enabled
@endif @else

You are not connected to Xero

Connect to Xero @endif
@if (!empty($xero_oauth_user))
@php $cmd = 'xero:pay_items'; @endphp
@php $cmd = 'xero:calendars'; @endphp
@php $cmd = 'xero:pay_periods'; @endphp
@php $cmd = 'xero:refresh_users'; @endphp
@php $cmd = 'xero:refresh_leaves'; @endphp
@endif