@extends('layouts.admin') @section('title', 'Social calendar') @section('content') @if($sandbox) Sandbox mode @endif Posts Compose @if(session('status'))
{{ session('status') }}
@endif @if($errors->any())
{{ $errors->first() }}
@endif
In window {{ number_format($stats['window']) }} {{ $from->toFormattedDateString() }} – {{ $to->toFormattedDateString() }}
Due now {{ number_format($stats['due']) }} Awaiting dispatcher
Pending approval {{ number_format($stats['pending']) }}
@forelse($days as $date => $posts)
{{ \Illuminate\Support\Carbon::parse($date)->format('l, M j') }} {{ $posts->count() }} post(s)
@foreach($posts as $post) @endforeach
{{ $post->scheduled_at?->format('g:ia') }} {{ $post->number }}
{{ \Illuminate\Support\Str::limit($post->body_text, 80) }}
{{ $post->status }} {{ implode(', ', $post->networks ?? []) }}
@if(in_array($post->status, ['scheduled', 'approved', 'pending_approval', 'draft'], true))
@csrf
@csrf
@endif
@empty
No posts in this window. Compose & schedule
@endforelse
@endsection