@extends('layouts.app') @section('title', 'مندوبي المبيعات') @section('content')

مندوبي المبيعات

إدارة مناديب المبيعات وعمولاتهم ومستهدفاتهم

@if(session('success'))

{{ session('success') }}

@endif
@forelse($representatives as $representative) @empty @endforelse
# الاسم نسبة العمولة المستهدف (فترة) الحالة الإجراءات
{{ $loop->iteration }}
{{ $representative->name }}
{{ $representative->commission_rate }} % ({{ $representative->commission_type == 'percentage' ? 'نسبة مئوية' : 'مبلغ ثابت' }}) {{ number_format($representative->target_amount, 2) }} / {{ $representative->target_period == 'monthly' ? 'شهرياً' : ($representative->target_period == 'quarterly' ? 'ربع سنوي' : 'سنوياً') }} @if($representative->status == 'active') نشط @else غير نشط @endif
عرض تعديل
@csrf @method('DELETE')
لا يوجد مناديب مبيعات حالياً
@if($representatives->hasPages())
{{ $representatives->links() }}
@endif
@endsection