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