@extends('admin.layouts.main') @section('main-admin-container')
@if (!empty($productCount) && $productCount > 0)
{{--
Total Products
--}}
{{ $productCount }}
Total Products
@endif @if (!empty($enquiryCount) && $enquiryCount > 0)
{{--
Total Enquiry
--}}
{{ $enquiryCount }}
Total Enquiry
@endif @if (!empty($joinuscount) && $joinuscount > 0)
{{--
Total Applicants
--}}
{{ $joinuscount }}
Total Applicants
@endif @if (!empty($contactCount) && $contactCount > 0)
{{--
Total Contact
--}}
{{ $contactCount }}
{{--
12%
--}}
Total Contact
@endif
Recent Enquiry Products
{{--
View All
--}}
@if (!empty($enquiry) && $enquiry->count() > 0) @foreach ($enquiry as $enq) @endforeach @else @endif
Product
Name
{{ $enq->enquiryProduct->product_name ?? '' }}
{{ $enq->user_name }}
No Data Found !
Recent Contacts
{{--
View All
--}}
@if (!empty($contacts) && $contacts->count() > 0) @foreach ($contacts as $contact) @endforeach @else @endif
Name
Mobile
Message
{{ $contact->first_name }}
{{ $contact->mobile }}
{{ Str::words($contact->message, 15, '...') }}
No Data Found !
@endsection