@extends('layout.app') @section('content')

Canales sociales {{ $socialchannels->count() }} Agregar

@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
@php $groupedChannels = $socialchannels->groupBy('social_network_name'); @endphp @foreach($groupedChannels as $networkName => $channels)

{{ $networkName }}

@foreach($channels as $channel) error) class="danger" @endif> @endforeach
Nombre Estado Última actualización
{{ $channel->name }} @if($channel->error) {{ $channel->error }} @endif {{ $channel->status == 1 ? 'Activo' : 'Inactivo' }} {{ $channel->updated_at }}
@endforeach
@endsection