@extends('profile.layout') @section('title', __('Statistika')) @section('content')

{{ __('Statistika') }}

{{ $stats['pages_count'] }}
Səhifələr
{{ $stats['total_views'] }}
Baxışlar
{{ $stats['total_orders'] }}
Sifarişlər
{{ number_format($stats['total_revenue'],2) }} ₼
{{ __('Gəlir') }}
@if($stats['recent_orders']->count())

{{ __('Son sifarişlər') }}

@foreach($stats['recent_orders'] as $o)
{{ $o->customer_name }}{{ $o->customer_phone }}
{{ number_format($o->total_amount,2) }} ₼{{ $o->status }}
@endforeach
@endif @endsection