@extends('system.public.public_layout')
@section('body-class', 'equipos-page equipo-detalle-page')
@push('styles')
@endpush
@section('content')
@php
$wa = $whatsapp;
$waUrl = fn ($t) => 'https://wa.me/' . $wa . '?text=' . rawurlencode($t);
$available = ($product['status'] ?? '') === 'disponible';
$slug = strtolower(str_replace('/', '-', $product['sku'] ?? ''));
$relSlug = fn ($p) => strtolower(str_replace('/', '-', $p['sku'] ?? ''));
$check = '';
@endphp
{{-- GALERÍA --}}
@if(count($gallery) > 1)
@foreach($gallery as $i => $g)
@endforeach
@endif
{{-- INFO --}}
@if($cat)
{{ $cat['name'] }}@endif
{{ $product['name'] }}
{{ $available ? 'Disponible' : 'Bajo pedido' }}
{{ $product['short'] ?? '' }}
@if(! is_null($product['price']))
S/{{ number_format($product['price'], 0) }}IGV incluido · Precio referencial
@else
Consultar precio
@endif
Cotizar por WhatsApp
{!! $check !!} Garantía 12 meses
{!! $check !!} Envío a todo el Perú
{!! $check !!} Soporte e instalación
{!! $check !!} Integrado con Sysfarma
@if(! empty($product['specs']))
Características
@foreach($product['specs'] as $spec)
- {!! $check !!} {{ $spec }}
@endforeach
@endif
{{-- FICHA TÉCNICA --}}
@if(! empty($ficha))
Ficha técnica
Especificaciones del fabricante. * Imagen y datos referenciales; pueden variar según lote.
@foreach($ficha as $line)
@php $parts = explode(':', $line, 2); @endphp
@if(count($parts) === 2 && trim($parts[1]) !== '')
- {{ trim($parts[0]) }}
- {{ trim($parts[1]) }}
@else
- {{ trim(rtrim($line, ':')) }}
@endif
@endforeach
@endif
{{-- RELACIONADOS --}}
@if(! empty($related))
@endif
Volver a la tienda de equipos
{{-- Barra Cotizar fija (móvil) --}}
@if(! is_null($product['price']))
S/{{ number_format($product['price'], 0) }}IGV incluido
@else
Consultar precio
@endif
Cotizar
@push('scripts')
@endpush
@endsection