@extends('admin.layout') @section('content')
Archives
Add Archive
@if (count($archives) == 0)

NO ARCHIVE FOUND

@else
@foreach ($archives as $key => $archive) @php $myArr = explode('-', $archive->date); $monthNum = $myArr[0]; $dateObj = DateTime::createFromFormat('!m', $monthNum); $monthName = $dateObj->format('F'); @endphp @endforeach
# Date Actions
{{$loop->iteration}}{{$monthName}} {{$myArr[1]}} Edit
@csrf
@endif
@endsection @section('scripts') @endsection