@extends('layout') @section('pageCss') @endsection @section('pageScripts') @endsection @section('actions')
| # | Title | Details | Created | Start Date | End Date | Target | Attachments |
|---|---|---|---|---|---|---|---|
| {{ $index++ }} | {{ $item->title }} | {{ $item->details }} | {{ \Carbon\Carbon::parse($item->created_at)->diffForHumans() }} | {{ \Carbon\Carbon::parse($item->date_from)->toDateString() }} | {{ \Carbon\Carbon::parse($item->date_to)->toDateString() }} | {{ $item->target=='all' ? 'All' : \Illuminate\Support\Str::plural(ucfirst($item->target)) }} | @if($item->attachment != '') Download @else No Attachment @endif |