@extends('layouts.main') @push('nav_title') {{-- User--}} Enzy @endpush @section('page_title') @endsection @section('side_bar') @include('layouts/side_bar') @endsection @section('profile') @include('layouts/profile') @endsection @section('main_div')

Dashboard

{{$user->name}}

{{$user->email}}{{$user->phone}}

Remaining Credits: ${{ $user->budget }}

@foreach($categories as $category)
{{ ucwords($category->category) }}
{{-- 10+ +55%--}}
@endforeach
Recent Orders
@foreach($order_list as $order) @if ($loop->index < 4) @endif @endforeach
Order ID Customer Amount Status
#{{$order['cart_total_id']}} {{$order['user_name']}} ${{$order['total']}} Completed
Recent Articles
@foreach($products->take(4) as $product)
@if($product->quantity > 0) @else @endif
{{$product->name}}
{{$product->price}}
@endforeach
@include('layouts.cart')
@endsection