@extends('layouts.main', ['title' => 'Data Kegiatan']) @push('styles') @endpush @push('scripts') @endpush @section('content') Kegiatan Tambah Data Kode Kegiatan Nama Kegiatan Jenis Kegiatan Dibuat Pada Aksi @foreach ($datas as $data) {{ $data->kode_kegiatan }} {{ $data->nama_kegiatan }} {{ ucfirst($data->jenis_kegiatan) }} {{ $data->created_at ? $data->created_at->diffForHumans() : "-" }} @csrf @method('DELETE') @endforeach @csrf @method('DELETE') Hapus @endsection