@extends('layout.mainlayout') @section('content')
@if(Auth::user()->role === 'admin')
img
{{ $totalCertificates }}
Total Certificates
img
{{ $validCertificates }}
Valid Certificates
img
{{ $revokedCertificates }}
Revoked Certificates
img
{{ $totalStudents }}
Total Students
{{--

{{$totalCustomer}}

Customers
--}} {{--

0

Purchase Invoice
icon
--}} {{--

0

Sales Invoice
--}}
@endif @if(Auth::user()->role === 'user')
img
{{--
Tsh {{$totalPurchases}}
--}}
Tsh {{ number_format($totalPurchases,2) }}
Pending order
img
{{--
Tsh {{$totalPurchases}}
--}}
Tsh {{ number_format($totalPurchases,2) }}
Approved order
@endif
@endsection