@extends('layouts.app') @section('title', 'تفاصيل مندوب المبيعات') @section('content')
{{ $representative->employee->user->name ?? $representative->employee->full_name }}
{{ $representative->commission_type == 'percentage' ? 'نسبة مئوية' : 'مبلغ ثابت' }}
{{ $representative->commission_rate }} {{ $representative->commission_type == 'percentage' ? '%' : '' }}
{{ number_format($representative->target_amount, 2) }}
{{ $representative->target_period == 'monthly' ? 'شهرياً' : ($representative->target_period == 'quarterly' ? 'ربع سنوي' : 'سنوياً') }}
| اسم العميل | رقم الهاتف | العنوان |
|---|---|---|
| {{ $customer->name }} | {{ $customer->phone ?? '---' }} | {{ $customer->address ?? '---' }} |
| لا يوجد عملاء مرتبطين بهذا المندوب حالياً | ||
| رقم الأمر | التاريخ | المبلغ الإجمالي | الحالة |
|---|---|---|---|
| {{ $order->so_number }} | {{ $order->so_date }} | {{ number_format($order->total_amount, 2) }} | {{ $order->status }} |
| لا يوجد أوامر بيع حالياً | |||