@extends('company::components.layouts.master') @section('title', 'إدارة الموردين والناقلين') @section('content')

إدارة الموردين والناقلين

إدارة جميع الموردين وشركات النقل التابعة لشركتك

@if(session('success'))

{{ session('success') }}

@endif @if(session('error'))

{{ session('error') }}

@endif

إجمالي الموردين

{{ number_format($stats['total']) }}

الموردين النشطين

{{ number_format($stats['active']) }}

أداء ممتاز

{{ number_format($stats['excellent']) }}

متوسط التقييم

{{ number_format($stats['average_rating'], 1) }}

@forelse($suppliers as $supplier) @empty @endforelse
المورد معلومات التواصل المناطق المخدومة الأداء الحالة الإجراءات
{{ $supplier->name }}
@if($supplier->contact_person)
{{ $supplier->contact_person }}
@endif @if($supplier->license_number)
ترخيص: {{ $supplier->license_number }}
@endif
@if($supplier->phone)
{{ $supplier->phone }}
@endif @if($supplier->email)
{{ $supplier->email }}
@endif
{{ $supplier->service_areas_text }}
@for($i = 1; $i <= 5; $i++) @endfor
{{ number_format($supplier->performance_rating, 1) }}
{{ $supplier->performance_level }}
{{ $supplier->total_deliveries }} تسليمة ({{ number_format($supplier->on_time_delivery_percentage, 1) }}% في الوقت)
@if($supplier->is_active) نشط @else غير نشط @endif
@csrf @method('DELETE')

لا توجد موردين

ابدأ بإضافة أول مورد أو شركة نقل

إضافة مورد جديد
@if($suppliers->hasPages())
{{ $suppliers->appends(request()->query())->links() }}
@endif
@push('scripts') @endpush @endsection