@extends('template.master') @section('body') @section('title', 'Whats New') @section('description', 'Semua Produk Onebox Contact Center Omnichanel')

What's New

Semua Update Terkini

@php // Konversi array menjadi koleksi Laravel $whatsnewCollection = collect($whatsnew); // Mengelompokkan data berdasarkan bulan dan tahun dari tgl_publish $groupedByMonth = $whatsnewCollection->groupBy(function($item) { return \Carbon\Carbon::parse($item->tgl_publish)->format('F Y'); // Menggunakan notasi objek }); @endphp @if (!empty($whatsnew)) @foreach ($groupedByMonth as $month => $items)
{{ $month }}
@foreach ($items as $item)

Improvement

{{ \Carbon\Carbon::parse($item->tgl_publish)->format('d M Y') }}

1.48.1{{ $item->title }}
@endforeach @endforeach @endif
@endsection