@use('App\Services\Date') @extends('companyuser::layouts.master') @section('title', __('companyuser::integration.lazywait')) @section('breadcrumb') @endsection @section('extra-styles') @endsection @section('content') @if (checkAddonAvailability(request()->get('tenant_current_subscription')->id, \Modules\Tenant\Enums\SystemAddonEnum::LAZYWAIT_INTEGRATION))
@if(env('SYNC_INTEGRATED_ORDERS_ON') && env('SYNC_INTEGRATED_LAZYWAIT_ORDERS_ON')) @include('superadmin::errors.lists')
@if(!$integrated) @if($error) @endif

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

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

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

{{__('companyuser::integration.msg sync')}}
@if($allowSyncedCustomers)

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

@endif @if($allowSyncedSuppliers)

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

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

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

@endcan @endif
@else
@lang('companyuser::integration.integration is not available currently')
@endif
@else
@include('companyuser::components.addon-not-available', ['addon' => __('companyuser::addons.lazywait_integration')])
@endif @endsection @section('extra_scripts') @endsection