@extends('layouts.app') @section('title', 'Gestión de Tiendas Sincronizadas — ' . \App\Models\Setting::get('app_name', 'TI Manager')) @section('content')
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@if(count($stores) > 0) @foreach($stores as $store) @endforeach
Sitio Web (Origen) Plataforma Productos Importados Última Sincronización Acciones
{{ $store['domain'] }}
Visitar Tienda
@foreach($store['types'] as $type) @if($type === 'woocommerce') WooCommerce @elseif($type === 'shopify') Shopify @else {{ ucfirst($type) }} @endif @endforeach {{ $store['count'] }} @if($store['last_sync'])
{{ \Carbon\Carbon::parse($store['last_sync'])->diffForHumans() }}
{{ \Carbon\Carbon::parse($store['last_sync'])->format('d M Y, h:i A') }}
@else Nunca @endif
@csrf
@csrf @method('DELETE')
@else

No hay tiendas sincronizadas

Actualmente no tienes productos importados desde ninguna página web. Los productos creados manualmente no aparecerán aquí.

@endif
{{-- Include the same import modal from products index --}} @include('products.partials.import_store_modal') @endsection