@extends('layouts.admin') @section('content')
{{ App\Models\User::where( 'created_at', '>', Carbon\Carbon::now()->subDays(30))->get()->count() }}
{{ __('Last 30 Days') }}
{{ App\Models\User::count() }}
{{ __('All Time') }}
{{ App\Models\Order::where('status','=','completed')->where( 'created_at', '>', Carbon\Carbon::now()->subDays(30))->get()->count() }}
{{ __('Last 30 days') }}
{{ App\Models\Order::where('status','=','completed')->get()->count() }}
{{ __('All Time') }}
{{ __('Order Number') }} | {{ __('Order Date') }} | |
---|---|---|
{{ $data->order_number }} | {{ date('Y-m-d',strtotime($data->created_at)) }} |
{{ __('Customer Email') }} | {{ __('Joined') }} | |
---|---|---|
{{ $data->email }} | {{ $data->created_at }} |
{{ __('Featured Image') }} | {{ __('Name') }} | {{ __('Category') }} | {{ __('Type') }} | {{ __('Price') }} | |
---|---|---|---|---|---|
{{ mb_strlen(strip_tags($data->name),'utf-8') > 50 ? mb_substr(strip_tags($data->name),0,50,'utf-8').'...' : strip_tags($data->name) }} | {{ $data->category->name }}
@if(isset($data->subcategory))
{{ $data->subcategory->name }} @endif @if(isset($data->childcategory)) {{ $data->childcategory->name }} @endif |
{{ $data->type }} | {{ $data->showPrice() }} |
{{ __('Featured Image') }} | {{ __('Name') }} | {{ __('Category') }} | {{ __('Type') }} | {{ __('Price') }} | |
---|---|---|---|---|---|
{{ mb_strlen(strip_tags($data->name),'utf-8') > 50 ? mb_substr(strip_tags($data->name),0,50,'utf-8').'...' : strip_tags($data->name) }} | {{ $data->category->name }}
@if(isset($data->subcategory))
{{ $data->subcategory->name }} @endif @if(isset($data->childcategory)) {{ $data->childcategory->name }} @endif |
{{ $data->type }} | {{ $data->showPrice() }} |