@extends('admin.layouts') @section('title', 'Dashboard') @section('header') @endsection @section('content')

Dashboard

@if (Auth::user()->role === 'branch_admin' || Auth::user()->role !== 'admin')
{{ $user->building_name ?? 'Address not available' }}
User Logo

{{ $user->name }}

Branch Details

Branch Name
:
{{ $user->name }}
Email
:
{{ $user->email }}
Phone
:
{{ $user->phone_number ?? 'N/A' }}
analytics
Total Sales

{{ $saleCount }}

View
box
Total Products

{{ $productCount }}

View
3p
Total Employees

{{$employeeCount}}

View
partner_exchange
Total Parties

{{ $supCount }}

View
groups
Total Customers

{{ $customerCount }}

View
box
Total Report

{{ $repCount }}

View
@else
3p
Users

{{ $userCount }}

View
add_shopping_cart
Product

{{ $products }}

View
account_tree
Branch

{{ $branch }}

View
card_membership
Total Membership

{{ $totalMembership }}

View
diversity_1
Employees

{{$employee}}

View
box
Recent Orders

{{ $recentOrderCount }}

View
order_approve
Accepted Orders

{{ $acceptedOrderCount }}

View
upcoming
Plans

{{ $plan }}

View
@endif
@endsection @section('footer') @endsection