@extends('layouts.admin') @section('styles') @endsection @section('app')
@if (in_array(auth()->user()->role_id, [1, 3])) @endif
@if (in_array(auth()->user()->role_id, [1, 3])) @endif @foreach ($customers as $customer) @if (in_array(auth()->user()->role_id, [1, 3])) @endif @endforeach
No Penginput Nama Kontak TanggalAksi
{{ $loop->iteration }} {{ $customer->user->biography->full_name ?? 'deleted-' }} {{ $customer->name }} {{ $customer->contact_number ?? '-' }} {{ formatDateIndo($customer->created_at) }}
  • @if (auth()->user()->role_id === 1)
  • @csrf @method('delete')
  • @endif
@endsection @section('afterScripts') @endsection