{{ @$supplier->name }}
@if($supplier->kyc_status == 'pending')
KYC Pending
@elseif($supplier->kyc_status == 'applied')
KYC not verified
@elseif($supplier->kyc_status == 'verified')
KYC Verified
@elseif($supplier->kyc_status == 'rejected')
KYC Rejected
@elseif($supplier->kyc_status == 'expired')
KYC Expired
@else
KYC not verified
@endif
@php
$rating = App\Helpers\CommonHelper::getUserRating('supplier',@$supplier->id);
@endphp
@if($rating->count > 0)
@if($rating->average > 0 && $rating->average < 1)
@endif
@if($rating->average >= 1)
@endif
@if($rating->average > 1 && $rating->average < 2)
@endif
@if($rating->average >= 2)
@endif
@if($rating->average > 2 && $rating->average < 3)
@endif
@if($rating->average >= 3)
@endif
@if($rating->average > 3 && $rating->average < 4)
@endif
@if($rating->average >= 4)
@endif
@if($rating->average > 4 && $rating->average < 5)
@endif
@if($rating->average >= 5)
@endif
({{$rating->count}})
@endif
+256 {{ @$supplier->phone }} {{ @$supplier->email }}
Contact person: {{ @$supplier->contact_person }}
Improvement areas: @foreach($supplier->improvementAreas as $improvementArea) {{ $loop->iteration > 1 ? ',' :'' }} {{ $improvementArea->name }} @endforeach
{{$supplier->farmer_project_survey_count}}
Farmers
Managed
{{round($averageSurveyTat->avg_survey_tat,2)}} days
Average TAT
Surveys
UGX {{ App\Helpers\CommonHelper::amountConversion(@$supplierEarnings->total_earning) ?? 0}}
Earnings
{{$activeProjects}}
Active
Projects
{{$completedProjects}}
Completed
Projects
{{$pendingSurveys}}
Pending
Surveys
{{$completedSurveys}}
Completed
Surveys
Address
{{ @$supplier->address->address }}
Show on Map
--}}Team members
| NAME | CONTACT | EMAIL ADDRESS |
|---|---|---|
@if($team->status == 'active')
@else
@endif
A{{$team->name}} |
+256 {{$team->phone}} | {{$team->email}} |
No Team Members Available |