@extends('admin::layout.main') @section('title', trans('admin-sidebar.Dashboard')) @section('content-wrapper')

Dashboard

@foreach($modelStats as $label => $modelStat)
{{ $label }}

{{ $modelStat['total'] }} @if($modelStat['newLastMonth'] !== 0) +{{ $modelStat['newLastMonth'] }} @endif

@if($modelStat['newLastMonth'] !== 0) {{ $modelStat['percentageChange'] > 0 ? '+' : '' }}{{ $modelStat['percentageChange'] }}% @else 0 @endif Since last month

@endforeach
@endsection