@extends('admin.default') @section('title', 'Admin | Dashboard') @section('content') @php $permissions= getPermissions(); @endphp
Private User Accounts

{{number_format($data['count']['customer'])}}

Active: {{number_format($data['count']['activeCustomer'])}}

Other: {{number_format($data['count']['otherCustomer'])}}

Dealer Accounts

{{number_format($data['count']['dealer'])}}

Active: {{number_format($data['count']['activeDealer'])}}

Other: {{number_format($data['count']['otherDealer'])}}

Vehicles

{{number_format($data['count']['activeVehicles'])}}

Total Enquires: {{number_format($data['count']['vehicleEnquiry'])}}

Sold: {{number_format($data['count']['soldVehicles'])}}

Vehicle Enquires
@if( isset($permissions) && isset($permissions['dashboard_view_button']) && $permissions['dashboard_view_button']==1 || isset($permissions) && isset($permissions['dashboard_edit_button']) && $permissions['dashboard_edit_button']==1 ) @endif @foreach($data['enquiry'] as $value) @endforeach
Name Contact No. DateAction
{{$value->name}} {{formatPhoneNumber($value->contact_number)}} {{date("d M, Y", strtotime($value->created_at))}} @if($value->viewed == 'yes') @if(isset($permissions) && isset($permissions['dashboard_view_button']) && $permissions['dashboard_view_button']==1) View @endif @else @if(isset($permissions) && isset($permissions['dashboard_edit_button']) && $permissions['dashboard_edit_button']==1) Read @endif @endif
@stop