@extends('layouts.app') @section('title', __('woocommerce::lang.woocommerce')) @section('content')

@lang('woocommerce::lang.woocommerce')

@php $is_superadmin = auth()->user()->can('superadmin'); @endphp
@if(!empty($alerts['connection_failed']))
  • {{$alerts['connection_failed']}}
@endif
@if($is_superadmin || auth()->user()->can('woocommerce.syc_categories') )

@lang('woocommerce::lang.sync_product_categories'):

@if(!empty($alerts['not_synced_cat']) || !empty($alerts['updated_cat']))
    @if(!empty($alerts['not_synced_cat']))
  • {{$alerts['not_synced_cat']}}
  • @endif @if(!empty($alerts['updated_cat']))
  • {{$alerts['updated_cat']}}
  • @endif
@endif

@endif @if($is_superadmin || auth()->user()->can('woocommerce.map_tax_rates') )

@lang('woocommerce::lang.map_tax_rates'):

{!! Form::open(['action' => '\Modules\Woocommerce\Http\Controllers\WoocommerceController@mapTaxRates', 'method' => 'post']) !!}
@if(!empty($tax_rates)) @foreach($tax_rates as $tax_rate) @endforeach @endif
@lang('woocommerce::lang.pos_tax_rate') @lang('woocommerce::lang.equivalent_woocommerce_tax_rate')
{{$tax_rate->name}}: {!! Form::select('taxes[' . $tax_rate->id . ']', $woocommerce_tax_rates, $tax_rate->woocommerce_tax_rate_id, ['class' => 'form-control']) !!}
{!! Form::close() !!}
@endif
@if($is_superadmin || auth()->user()->can('woocommerce.sync_products') )

@lang('woocommerce::lang.sync_products'):

@if(!empty($alerts['not_synced_product']) || !empty($alerts['not_updated_product']))
    @if(!empty($alerts['not_synced_product']))
  • {{$alerts['not_synced_product']}}
  • @endif @if(!empty($alerts['not_updated_product']))
  • {{$alerts['not_updated_product']}}
  • @endif
@endif
 @show_tooltip(__('woocommerce::lang.sync_new_help'))
 @show_tooltip(__('woocommerce::lang.sync_all_help'))

@endif @if($is_superadmin || auth()->user()->can('woocommerce.sync_orders') )

@lang('woocommerce::lang.sync_orders'):

@endif
@stop @section('javascript') @endsection