@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 ($debts as $debt) @if (in_array(auth()->user()->role_id, [1, 3, 4])) @endif @endforeach
No Pegawai Jumlah Tanggal StatusAksi
{{ $loop->iteration }} {{ $debt->user->biography->full_name ?? '-deleted-' }} {{ formatToRupiah($debt->amount) ?? '-' }} {{ formatDateIndo($debt->created_at) }} {!! $debt->is_paid === '1' ? 'Lunas' : 'Belum' !!}
  • @if (auth()->user()->role_id === 1)
  • @csrf @method('delete')
  • @endif
@endsection @section('afterScripts') @endsection