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

Admin Dashboard

ภาพรวมระบบและการจัดการ

ผู้ใช้ทั้งหมด
{{ number_format($stats['total_users']) }}
ผลิตภัณฑ์ทั้งหมด
{{ number_format($stats['total_products']) }}
การประเมินทั้งหมด
{{ number_format($stats['total_assessments']) }}
ผู้ดูแลระบบ
{{ number_format($stats['admin_users']) }}
ค้นหาและกรองข้อมูล
รายการผลิตภัณฑ์ทั้งหมด
{{ $products->total() }} รายการ
@if($products->count() > 0)
@foreach($products as $index => $product) @endforeach
ลำดับ ชื่อผลิตภัณฑ์ รุ่น ประเภท วิธีรับข้อมูล บริษัท วันที่สร้าง ชื่อลูกค้า รายงานผล/จัดการ
{{ $index + 1 + (($products->currentPage() - 1) * $products->perPage()) }} {{ $product->name }} @if($product->description)
{{ Str::limit($product->description, 50) }} @endif
@if($product->model) {{ $product->model }} @else - @endif {{ $product->product_type_label }} {{ $product->log_receive_method_label }} @if($product->user && $product->user->agency)
{{ $product->user->agency->Agency_Name }}
@else - @endif
{{ $product->DtmIns->format('d/m/Y') }} @if($product->user)
{{ $product->user->Customer_Name }}
@else - @endif
@if($product->user) @else - @endif
{{ $products->appends(request()->query())->links() }}
@else

ไม่พบข้อมูลผลิตภัณฑ์

ลองปรับเปลี่ยนเงื่อนไขการค้นหา

@endif
@endsection