@extends('layouts.app') @section('title') @lang('Vendor_List') @endsection @section('css') @endsection @section('content') @component('components.breadcrumb') @slot('li_1') Vendors @endslot @slot('title') Vendor List @endslot @endcomponent @if (session('success')) @endif @if (session('error')) @endif

Vendor List

This page displays a list of vendors (customers) who have submitted loan applications through the system. Each entry includes business and contact information to help you quickly identify and manage borrower records.

@if(hasPermission(2100, 'can_add')) @endif
{{-- --}} {{-- --}} @foreach ($vendors as $index => $vendor) {{-- --}} {{-- --}} {{-- --}} @endforeach
No NameBusiness Type Business Registration Number PhoneEmail Registered Date StatusAction
{{ $index + 1 }} {{ $vendor->name }} {{ $vendor->latestLead->applicant->applicant_name ?? 'N/A' }} {{ $vendor->group->name ?? 'N/A' }} {{ $vendor->latestLead->applicant->applicant_phone ?? $vendor->latestLead->applicant->contact_phone ?? $vendor->phone }}{{ $vendor->latestLead->applicant->applicant_email ?? $vendor->latestLead->applicant->contact_email ?? $vendor->email }}{{ $vendor->email }} {{ \Carbon\Carbon::parse($vendor->created_at)->format('d M Y') }} {{ $vendor->status == '1' ? 'Active' : 'Inactive' }} Edit
@endsection @section('script') @endsection