Rating Factors Management
@if (session()->has('message')) @endif
@forelse($factors as $factor) @empty @endforelse
ID Category English Name Arabic Name Scope Sentiment Actions
{{ $factor->rating_factors_id }} {{ $factor->category->category_name_en ?? 'N/A' }} {{ $factor->factor_name_en }} {{ $factor->factor_name_ar }} @if($factor->scope == 'brand') Brand @else Branch @endif @php $badgeClass = match($factor->sentiment_type) { 'positive' => 'bg-light-success text-success', 'negative' => 'bg-light-danger text-danger', default => 'bg-light-secondary text-secondary', }; @endphp {{ ucfirst($factor->sentiment_type) }}
No factors found.
{{ $factors->links() }}
@if($showModal) @endif