@extends('layout.main') @section('content')

Client

@if (Auth::user()->can('clients-create')) Add Client @endif

Clients List

{{-- --}} @if (Auth::user()->can('clients-edit') || Auth::user()->can('clients-delete')) @endif @forelse ($client as $person) @if (Auth::user()->can('clients-edit') || Auth::user()->can('clients-delete') || Auth::user()->can('clients-show'))
Client Account Number Full Name Gender Phone Number LocationDate Of Birth Actions

{{ $person->acount_number }}

{{ $person->fullname }}

{{--

10x Developer

--}}

{{ $person->gender }}

{{ $person->phone }}

{{ $person->location }}

@if (Auth::user()->can('clients-edit')) @endif @if (Auth::user()->can('clients-show')) @endif @if (Auth::user()->can('clients-delete')) @if ($person->client_loans_count <= 0)
@csrf @method('DELETE')