|
|
@ -2,139 +2,98 @@
|
|
|
|
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
@section('content')
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row equal-height">
|
|
|
|
<div class="col-md-6 p-0 pe-md-2 mb-3">
|
|
|
|
<div class="col-lg-6 p-0 pe-lg-2 mb-3">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card skewed-container">
|
|
|
|
|
|
|
|
<i class="ri-user-follow-line skewed-icon"></i>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-3 text-center">
|
|
|
|
<div class="col-3 text-center">
|
|
|
|
<img src="{{asset('panel/images/xshop-logo.svg')}}" class="avatar-x64" alt="">
|
|
|
|
<img src="{{asset('panel/images/xshop-logo.svg')}}" class="avatar-x64" alt="">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-9">
|
|
|
|
<div class="col-9 pt-1">
|
|
|
|
{{__("Welcome bak")}}
|
|
|
|
{{__("Welcome bak")}}
|
|
|
|
<h4>
|
|
|
|
<h4 class="mt-2">
|
|
|
|
{{auth()->user()->name}}
|
|
|
|
{{auth()->user()->name}}
|
|
|
|
</h4>
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="p-4">
|
|
|
|
|
|
|
|
<div class="row text-center">
|
|
|
|
|
|
|
|
<div class="col-6 mt-3">
|
|
|
|
|
|
|
|
<h5>
|
|
|
|
|
|
|
|
{{__("Posts")}}
|
|
|
|
|
|
|
|
</h5>
|
|
|
|
|
|
|
|
{{number_format(auth()->user()->posts()->count())}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-6 mt-3">
|
|
|
|
|
|
|
|
<h5>
|
|
|
|
|
|
|
|
{{__("Products")}}
|
|
|
|
|
|
|
|
</h5>
|
|
|
|
|
|
|
|
{{number_format(auth()->user()->products()->count())}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-6 mt-3">
|
|
|
|
|
|
|
|
<h5>
|
|
|
|
|
|
|
|
{{__("Comments")}}
|
|
|
|
|
|
|
|
</h5>
|
|
|
|
|
|
|
|
{{number_format(auth()->user()->comments()->count())}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-6 mt-3">
|
|
|
|
|
|
|
|
<h5>
|
|
|
|
|
|
|
|
{{__("Tickets")}}
|
|
|
|
|
|
|
|
</h5>
|
|
|
|
|
|
|
|
{{number_format(auth()->user()->tickets()->count())}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6 p-0 ps-md-2 mb-3">
|
|
|
|
<div class="col-lg-3 p-0 px-lg-2 mb-3">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card order-card h-100">
|
|
|
|
<div class="card-header">
|
|
|
|
<div class="card-header">
|
|
|
|
lorem
|
|
|
|
{{__("Need process orders")}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-body">
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
<a href="#">
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
<i class="ri-shopping-bag-4-line"></i>
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
<h2>
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
{{number_format(\App\Models\Ticket::where('status','PAID')->count())}}
|
|
|
|
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-12 mb-3 p-0" id="visitor-container">
|
|
|
|
<div class="col-lg-3 p-0 ps-lg-2 mb-3">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card ticket-card h-100">
|
|
|
|
<div class="card-header">
|
|
|
|
<div class="card-header">
|
|
|
|
{{__("last month visits")}}
|
|
|
|
{{__("Pending tickets")}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-body">
|
|
|
|
<canvas id="visitor-chart" height="300"></canvas>
|
|
|
|
<a href="{{route('admin.ticket.index')}}">
|
|
|
|
|
|
|
|
<i class="ri-customer-service-2-line"></i>
|
|
|
|
|
|
|
|
<h2>
|
|
|
|
|
|
|
|
{{number_format(\App\Models\Invoice::where('status','PENDING')->count())}}
|
|
|
|
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
|
|
|
|
<div class="col-md-4 mb-4">
|
|
|
|
<div class="col-lg-12 mb-3 p-0" id="visitor-container">
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
lorem
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-4 mb-4">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
lorem
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-4 mb-4">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
<div class="card">
|
|
|
|
<div class="card-header">
|
|
|
|
<div class="card-header">
|
|
|
|
lorem
|
|
|
|
{{__("last month visits")}}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-3 mb-4">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
lorem
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-3 mb-4">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
lorem
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-3 mb-4">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
lorem
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-md-3 mb-4">
|
|
|
|
|
|
|
|
<div class="card">
|
|
|
|
|
|
|
|
<div class="card-header">
|
|
|
|
|
|
|
|
lorem
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="card-body">
|
|
|
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit.
|
|
|
|
<canvas id="visitor-chart" height="300"></canvas>
|
|
|
|
Aliquam aspernatur, commodi consequatur deleniti dolor,
|
|
|
|
|
|
|
|
dolore ducimus ipsa laudantium magni natus nemo neque odit
|
|
|
|
|
|
|
|
officia perferendis provident suscipit ullam voluptas voluptate?
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@endsection
|
|
|
|
@endsection
|
|
|
|