@extends('layouts.app')
@section('title', 'التقارير')
@section('breadcrumb')
التقارير@endsection
@section('content')
@php
$reports = [
['route' => 'reports.sales', 'icon' => 'fa-chart-line', 'color' => 'primary', 'title' => 'تقرير المبيعات', 'desc' => 'الفواتير حسب الفترة، المنتجات، والمندوبين'],
['route' => 'reports.collections', 'icon' => 'fa-money-bill-wave', 'color' => 'success', 'title' => 'التحصيلات والمديونيات', 'desc' => 'الدفعات المحصّلة والأرصدة المستحقة على العملاء'],
['route' => 'reports.profit', 'icon' => 'fa-scale-balanced', 'color' => 'warning', 'title' => 'تقرير الأرباح', 'desc' => 'الإيرادات مقابل التكاليف والمصروفات'],
['route' => 'reports.customers', 'icon' => 'fa-users', 'color' => 'info', 'title' => 'تقرير العملاء', 'desc' => 'أرصدة العملاء وحجم التعامل والتوزيع الجغرافي'],
['route' => 'reports.inventory', 'icon' => 'fa-boxes-stacked', 'color' => 'secondary', 'title' => 'تقرير المخزون', 'desc' => 'الكميات، قيمة المخزون، وحالات الأجهزة'],
['route' => 'reports.subscriptions', 'icon' => 'fa-satellite-dish', 'color' => 'success', 'title' => 'تقرير الاشتراكات', 'desc' => 'الاشتراكات السارية والمنتهية وسجل التجديدات'],
['route' => 'reports.installations', 'icon' => 'fa-screwdriver-wrench', 'color' => 'primary', 'title' => 'أداء الفنيين', 'desc' => 'أوامر التركيب المنفذة والمفتوحة لكل فني'],
['route' => 'reports.leads', 'icon' => 'fa-user-plus', 'color' => 'danger', 'title' => 'تقرير العملاء المحتملين', 'desc' => 'معدل التحويل وأداء المندوبين حسب المصدر'],
];
@endphp
@foreach ($reports as $report)
@endforeach
@endsection