@extends('layouts.admin') @section('title', 'ပင်မစာမျက်နှာ') @section('content') @push('scripts') @endpush

ပင်မစာမျက်နှာ

ယနေ့အော်ဒါများ {{ number_format($freshOrdersCountForToday) }} ခု
ယနေ့ကုန်သည်အရောင်းများ {{ number_format($vendorSalesCountForToday) }} ခု
ဧည့်သည်များ {{ number_format($guestsCount) }} ဦး
အဖွဲ့ဝင်များ {{ number_format($membersCount) }} ဦး
ကုန်သည်များ {{ number_format($vendorsCount) }} ဦး
ဂိုဒေါင်များ {{ number_format($warehousesCount) }} လုံး
အစိတ်အပိုင်းများ {{ number_format($partsCount) }} ခု
ထုတ်ကုန်များ {{ number_format($productsCount) }} ခု
စီမံခန့်ခွဲသူများ {{ number_format($adminsCount) }} ဦး
ဆောင်းပါးများ {{ number_format($articlesCount) }} ပုဒ်

အွန်လိုင်းအရောင်း

ဒီနှစ် ပြီးခဲ့သည့်နှစ်

အော်ဒါအများဆုံးအသုံးပြုသူ(၅)ဦး

@if($topUsers->count() > 0) @foreach ($topUsers as $key => $value) @endforeach @endif
အမည် ဖုန်း အသုံးပြုသူအမျိုးအစား အော်ဒါအရေအတွက်
{{ $value->name }} {{ $value->phone }} {{ $value->getReviewStatus()? $value->getActiveType() : $value->getClaimedType() }} {{ number_format($value->orders_count) }}

အော်ဒါအများဆုံးကုန်သည်(၅)ဦး

@if($topInventories->count() > 0) @foreach ($topInventories as $key => $value) @endforeach @endif
အမည် ဖုန်း အော်ဒါအရေအတွက်
{{ $value->user->name }} {{ $value->user->phone }} {{ number_format($value->logs_count) }}

အော်ဒါအများဆုံးဂိုဒေါင်(၅)လုံး

@if($topWarehouses->count() > 0) @foreach ($topWarehouses as $key => $value) @endforeach @endif
အမည် တည်နေရာ အော်ဒါအရေအတွက်
{{ $value->name }} {{ $value->region->name }} - {{ $value->township->name }} {{ number_format($value->orders_count) }}
@endsection