@php
// Check if client exists in Mikrotik based on database field
$clientInMikrotik = !empty($client->username_ip) && !$client->is_deleted_from_mikrotik;
@endphp
{{-- Always show delete icon if client is in Mikrotik --}}
@if($clientInMikrotik)
@endif
{{-- Always show restore icon if client is not in Mikrotik --}}
@if(!$clientInMikrotik)
@endif
@empty
No inactive clients found
There are no inactive clients matching your criteria.
@endforelse
@if($inactiveClients->hasPages())
Showing {{ $inactiveClients->firstItem() }} to {{ $inactiveClients->lastItem() }}
of {{ $inactiveClients->total() }} results