@extends('layouts.app') @section('title', 'Buyers') @section('page-title', 'Buyers Management') @section('content')
@if($buyers->count() > 0) @foreach($buyers as $buyer) @endforeach
Buyer Details Contact Info Location Business Type Status Actions
{{ $buyer->business_name }}
{{ $buyer->buyer_code }}
{{ $buyer->contact_person }}
{{ $buyer->phone }}
@if($buyer->email)
{{ $buyer->email }}
@endif
{{ $buyer->city }}
{{ $buyer->state }}
{{ ucfirst($buyer->business_type) }}
{{ ucfirst($buyer->status) }} @if($buyer->assignedAgent) Agent: {{ $buyer->assignedAgent->name }} @endif
@csrf @method('DELETE')
{{ $buyers->appends(request()->query())->links('pagination::simple-tailwind') }}
@else

No buyers found

@if(request()->hasAny(['search', 'status', 'agent', 'city'])) No buyers match your current filters. Try adjusting your search criteria. @else Get started by adding your first buyer. @endif

Add First Buyer
@endif
@endsection