@extends('companyuser::layouts.master') @section('title', __('companyuser::integration.prexle')) @section('breadcrumb') @endsection @section('extra-styles') @endsection @section('content')
@if(env('SYNC_INTEGRATED_ORDERS_ON') && env('SYNC_INTEGRATED_PREXLE_ORDERS_ON')) @include('superadmin::errors.lists')
@if(!$integrated) @if($error) @endif

{{__('companyuser::integration.Authorize your Prexle account with VôM')}}

    @foreach($prexleScopes as $scope)
  • {{__('companyuser::integration.' . $scope)}}
  • @endforeach
@csrf @include('companyuser::integration.prexle.auth-modal')
@else @if($failedOrdersExists)
{{__('companyuser::integration.failed orders exists')}} {{__('companyuser::integration.link')}}
@endif
@csrf

{{__('companyuser::integration.Sync your orders from your Prexle account')}}

@if($allowSyncedCustomers)

{{__('companyuser::integration.Sync customers from your account', ['integration_type' => ucwords(\App\Enums\IntegrationConfigTypesEnum::PREXLE)])}}

@endif @if($allowSyncedSuppliers)

{{__('companyuser::integration.Sync suppliers from your account', ['integration_type' => ucwords(\App\Enums\IntegrationConfigTypesEnum::PREXLE)])}}

@endif
@can('accounting.manual-journal-entries.delete')

{{__('companyuser::integration.delete your orders from your Prexle account')}}

@endcan @endif
@else
@lang('companyuser::integration.integration is not available currently')
@endif
@endsection @section('extra_scripts') @endsection