@forelse($all_histories as $history) @empty @endforelse
{{ __('Project') }} {{ __('Status') }} {{ __('Rejects') }} {{ __('Edits') }}
{{ $history->project?->title ?? '—' }} @if($history->reject_reason)
{{ __('Last reason:') }} {{ Str::limit($history->reject_reason, 100) }}
@endif
@php $status = $history->project?->status; @endphp @if($status == 1) {{ __('Active') }} @elseif($status == 2) {{ __('Rejected') }} @else {{ __('Inactive') }} @endif {{ $history->reject_count }} {{ $history->edit_count }}
{{ __('No project history found.') }}
@include('backend.layout.partials.paginator', ['paginator' => $all_histories, 'label' => __('records')])