@extends('layouts.admin') @section('main-content')

{{ __('Vezérlőpult') }}

@include('dashboard.card', [ 'title' => 'Összeszedésre váró termékek', 'content' => App\Models\Product::where("state","Webrendelve")->count() . ' db', 'url' => route("admin.products.table").'?where[]=state=%27webrendelve%27', 'icon' => 'fas fa-search', 'style' => 'danger', ]) @include('dashboard.card', [ 'title' => 'Számlara várók', 'content' => App\Models\Order::where("status","Rendelés összeszedve")->count() . ' db', 'url' => route("admin.orders.table").'?where[]=status=%27Rendelés összeszedve%27', 'icon' => 'fas fa-box-open', 'style' => 'success', ]) @include('dashboard.card', [ 'title' => 'Címiratra várók', 'content' => App\Models\Order::where("status","Számla kinyomtatva")->orWhere("status","feladásra vár")->count() . ' db', 'url' => route("admin.orders.table").'?where[]=status=%27Számla kinyomtatva%27 OR status=%27feladásra vár%27', 'icon' => 'fas fa-money-bill', 'style' => 'warning', ]) @php $transport = App\Models\Transport::open()->first(); @endphp @include('dashboard.card', [ 'title' => 'MPL-re várók', 'content' => $transport?->shipments()->count() ?? 0 . ' db', 'url' => $transport ? route("admin.transports.show", $transport->id) : '#', 'icon' => 'fas fa-building', 'style' => 'primary', ])
@include('dashboard.card', [ 'title' => 'Árazásra váró alkatrészek', 'content' => App\Models\Product::where('part_id','<>',1)->whereNull('price')->count() . ' db', 'url' => route("admin.products.table").'?where[]=part_id=1 AND price is NULL', 'icon' => 'fas fa-dollar-sign', 'style' => 'danger', ])
@if (session('success')) @endif @if (session('status')) @endif @hasanyrole('Admin|Kimutatások')
Kimutatás (log)
@include('webshop.chart.chart01')
Kimutatás (rendelés)
@include('webshop.chart.chart02')
@endhasanyrole
{{--
Projects

Server Migration 20%

Sales Tracking 40%

Customer Database 60%

Payout Details 80%

Account Setup Complete!

--}} {{--
Primary
#4e73df
Success
#1cc88a
Info
#36b9cc
Warning
#f6c23e
Danger
#e74a3b
Secondary
#858796
--}}
{{--
Illustrations

Add some quality, svg illustrations to your project courtesy of unDraw, a constantly updated collection of beautiful svg images that you can use completely free and without attribution!

Browse Illustrations on unDraw →
--}} {{--
Development Approach

SB Admin 2 makes extensive use of Bootstrap 4 utility classes in order to reduce CSS bloat and poor page performance. Custom CSS classes are used to create custom components and custom utility classes.

Before working with this theme, you should become familiar with the Bootstrap framework, especially the utility classes.

--}}
@endsection