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

{{ __('Welcome back,') }} {{ Auth::guard('admin')->user()->name }} !

{{ __('Product') }}

{{$currentLang->products()->count()}}

@php $porder = App\Models\Order::where('order_status', '0')->orderBy('id', 'DESC')->get(); @endphp
{{ __('Pending Product Order') }}

{{$porder->count()}}

{{ __('Blogs') }} {{$currentLang->blogs()->count()}}
{{ __('Job') }}

{{$currentLang->jobs()->count()}}

@php $applicants = App\Models\JobApplication::where('status', '0')->orderBy('id', 'DESC')->get(); @endphp
{{ __('New Job Applied') }}

{{$applicants->count()}}

{{ __('Services') }}

{{$currentLang->services()->count()}}

{{ __('Team Members') }}

{{$currentLang->teams()->count()}}

{{ __('Subscribers') }}

{{\App\Models\Newsletter::count()}}

{{ __('Quotes') }}

{{\App\Models\Quote::count()}}

{{ __('Projects') }}

{{$currentLang->portfolios()->count()}}

{{ __('Gallery') }}

{{$currentLang->galleries()->count()}}

{{ __('User') }}

{{\App\Models\User::count()}}

{{ __('Latest Quotes:') }}

@foreach ($quotes as $id=>$quote) @endforeach
# {{ __('Subject') }} {{ __('Mail') }} {{ __('Action') }}
{{ ++$id }} {{ $quote->subject }} {{ __('Send Mail') }} {{ __('Details') }}
@csrf

{{ __('Latest Portfolios :') }}

@foreach ($portfolios as $id=>$portfolio) @endforeach
# {{ __('Title') }} {{ __('Category') }}
{{ ++$id }} {{ $portfolio->title }} {{ $portfolio->service->title }}
@endsection