<div class="btn-group" role="group">
    <a href="{{ route('payroll.employee-loans.edit', $row) }}" class="btn btn-sm btn-warning" title="Edit">
         <i class="far fa-edit"></i>
    </a>

    {{-- @if($row->status === 'pending')
        <button class="btn btn-sm btn-success approve-btn"
                data-url="{{ route('payroll.employee-loans.approve', $row) }}"
                title="Approve">
            <i class="far fa-check-circle"></i>
        </button>
        <button class="btn btn-sm btn-danger reject-btn"
                data-url="{{ route('payroll.employee-loans.reject', $row) }}"
                title="Reject">
            <i class="far fa-times-circle"></i>
        </button>
    @endif

    @if($row->status === 'approved')
        <button class="btn btn-sm btn-info activate-btn"
                data-url="{{ route('payroll.employee-loans.activate', $row) }}"
                title="Activate">
            <i class="far fa-play-circle"></i>
        </button>
    @endif --}}

    <button class="btn btn-sm btn-danger delete-btn"
                data-url="{{ route('payroll.employee-loans.destroy', $row) }}"
            title="Delete">
        <i class="fas fa-trash"></i>
    </button>
</div>
