import React, { useEffect, useState } from 'react'; import { __, sprintf } from '@wordpress/i18n'; import apiFetch from '@wordpress/api-fetch'; import { Toaster } from '@brainstormforce/starter-templates-components'; import Button from '../../../../components/button/button'; import { useStateValue } from '../../../../store/store'; import PreviousStepLink from '../../../../components/util/previous-step-link/index'; import ICONS from '../../../../../icons'; import { checkRequiredPlugins, getDemo, } from '../../../import-site/import-utils'; const { restNonce } = starterTemplates; const LicenseValidationControls = () => { const storedState = useStateValue(); const [ { templateId, templateResponse, currentCustomizeIndex, importError, currentIndex, validateLicenseStatus, }, dispatch, ] = storedState; const [ error, setError ] = useState( '' ); const [ processing, setProcessing ] = useState( false ); const [ licenseKey, setLicenseKey ] = useState( '' ); const premiumTemplate = false; // Start the pre import process. useEffect( () => { if ( importError ) { dispatch( { type: 'set', currentIndex: currentIndex + 2, // Skip 2 steps. } ); } }, [ importError ] ); const validateKey = () => { if ( licenseKey === '' ) { setError( __( 'Please Enter License Key', 'astra-sites' ) ); return; } setProcessing( true ); apiFetch.use( apiFetch.createNonceMiddleware( restNonce ) ); apiFetch( { path: '/bsf-core/v1/license/activate', method: 'POST', data: { 'license-key': licenseKey, 'product-id': 'astra-pro-sites', }, } ).then( async ( response ) => { if ( response.success ) { await getDemo( templateId, storedState ); await checkRequiredPlugins( storedState ); dispatch( { type: 'set', licenseStatus: true, currentIndex: currentIndex + 1, } ); } else { setError( response.message ); } setProcessing( false ); } ); }; if ( premiumTemplate && '' !== astraSitesVars.license_page_builder && templateResponse[ 'astra-site-page-builder' ] !== astraSitesVars.license_page_builder && 'brizy' !== templateResponse[ 'astra-site-page-builder' ] && 'gutenberg' !== templateResponse[ 'astra-site-page-builder' ] ) { return
{ __( 'Not Valid License', 'astra-sites' ) }
; } const processingClass = processing ? 'processing' : ''; const supportLink = sprintf( //translators: %1$s Support page URL. __( ` Questions? Get in touch with our %1$ssupport team%2$s.`, 'astra-sites' ), ``, '' ); const lastStep = () => { dispatch( { type: 'set', currentCustomizeIndex: currentCustomizeIndex - 1, } ); }; const downloadLink = sprintf( //translators: %1$s Store page URL. __( `If you have purchased our Essential or Growth Bundle, please install the premium version of the plugin that you can %1$sdownload%2$s from our store.`, 'astra-sites' ), '', '' ); return ( <>{ __( 'If you have purchased our Essential or Growth Bundle, just enter your license key below to import this template.', 'astra-sites' ) }
) } { ! validateLicenseStatus && ( <>{ __( 'Currently the free version is installed.', 'astra-sites' ) }
> ) } { validateLicenseStatus && (<\/span><\/p>\n SAP ECC.EHP7 GRC 10.1 Remote Server Access subscriptions offered in this page are shared among multiple users. This is how we bring the cost of subscriptions down. It is mostly unnoticeable that other users are working on same server. In order to avail a complete server with customizing options, please consider to opt for one of the subscriptions for dedicated SAP systems (more expensive).<\/span><\/p>\n <\/p>\n SAP ECC.EHP7 GRC 10.1 Remote Server Access includes:<\/span><\/strong><\/p>\n <\/p>\n Our Services :<\/span><\/strong><\/p>\n We render complete integration of Simple Finance 2.0, SAP Fiori \/ NW Gateway \/ MDG, SAP Screen Personas 3.0, ERP on S4 Hana, BW 7.4 on S4 Hana, BPC 10.1 on S4 Hana, SAP Lumira, SAP Data Services 4.2,SAP Information4 Steward 4.2,SAP Predicative Analytics, SAP BO Explorer, SAP Bo Analysis Office, SAP BO Design Studio, SAP Crystal Reports 2016 SAP ECC EHP7 SLT, so that it equips you to practice all the scenarios together.<\/span><\/p>\n We are Corporate Consultants providing Online SAP S4 HANA Business Suite Remote Server Access to the End users and SAP Consultants.. We are the first providers to introduce server to work in Excise Material Purchase and Sales.<\/span> <\/p>\n Why Way2ERP?<\/span><\/strong><\/p>\n Please do not hesitate to contact us to get more information about SAP ECC.EHP7 GRC 10.1 Remote Server Access. Send us an email request to avail 24hrs of free Demo access for SAP ECC.EHP7 GRC 10.1. All payments can be made securely via PayPal. Our team will respond to your requests within 24hrs to gladly help you choose the right products or services that meet your requirements.<\/span><\/em><\/p>\n\n
\nWe provide SAP S4 HANA Business Suite Remote Access, SAP Installation, SAP Plug and Play Hard Drive in USA, UK, CANADA, AUSTRALIA, NEW ZEALAND, SINGAPORE\u2026 More<\/span><\/p>\n\n