@extends('layouts.app')
@section('title')
{{ config('app.name', 'Laravel') }} | {{ __('common.dashboard') }}
@endsection
@section('heading')
{{ __('common.dashboard') }}
@endsection
@section('heading-icon')
home
@endsection
@section('page-breadcrumbs')
{{ Breadcrumbs::render($options['route_name'] ?? '') }}
@endsection
@section('content')
@include('includes.alerts')
{{--
@foreach ($widgets as $key => $widget)
@endforeach
--}}
@foreach ( $widgets as $widget )
@endforeach
{{-- {{dd($recent_orders)}} --}}
@if (auth()->id() == 1)
| {{ __('common.order_id') }} |
{{ __('common.product_name') }} |
{{ __('common.created_on') }} |
{{ __('common.status') }} |
@foreach ($recent_orders as $orders)
@foreach ($orders->ProductDetail as $product_name)
| {{ $orders->id }} |
{{ $product_name->product_name }} |
{{ date('d-m-Y', strtotime($orders->created_at)) }}
|
|
@endforeach
@endforeach
{{-- {{dd($top_products)}} --}}
{{-- | Order ID | --}}
{{ __('common.product_name') }} |
{{ __('common.created_on') }} |
{{-- Status | --}}
@foreach ($top_products as $products)
{{-- | {{$orders->order[0]->order_number}} | --}}
{{ $products->product_name }} |
{{ date('d-m-Y', strtotime($products->created_at)) }} |
{{-- | --}}
@endforeach
{{-- {{dd($top_sellers)}} --}}
{{-- | Order ID | --}}
{{ __('common.seller_name') }} |
{{ __('common.created_on') }} |
{{-- Status | --}}
@foreach ($top_sellers as $sellers)
{{-- | {{$orders->order[0]->order_number}} | --}}
{{ $sellers->owner_name }} |
{{ date('d-m-Y', strtotime($sellers->created_at)) }} |
{{-- | --}}
@endforeach
{{-- | Order ID | --}}
{{ __('common.seller_name') }} |
{{ __('common.created_on') }} |
{{-- Status | --}}
@foreach ($new_sellers as $new_sellers)
{{-- | {{$orders->order[0]->order_number}} | --}}
{{ $new_sellers->owner_name }} |
{{ date('d-m-Y', strtotime($new_sellers->created_at)) }} |
{{-- | --}}
@endforeach
@endif
@endsection
@push( 'head.end' )
@endpush