| {{ __('ID') }} |
{{ __('Project') }} |
{{ __('Freelancer') }} |
{{ __('Amount') }} |
{{ __('Status') }} |
{{ __('Created At') }} |
{{ __('Actions') }} |
@forelse($offers as $offer)
| {{ $offer->id }} |
@if($offer->project)
{{ Str::limit($offer->project->title, 40) }}
@else
{{ __('N/A') }}
@endif
|
{{ $offer->user->name ?? __('N/A') }} |
${{ number_format($offer->total ?? 0, 2) }} |
@switch($offer->status)
@case(\App\Models\Offer::STATUS_PENDING)
{{ __('Pending') }}
@break
@case(\App\Models\Offer::STATUS_RUNNING)
{{ __('Running') }}
@break
@case(\App\Models\Offer::STATUS_COMPLETED)
{{ __('Completed') }}
@break
@case(\App\Models\Offer::STATUS_REJECTED)
{{ __('Rejected') }}
@break
@case(\App\Models\Offer::STATUS_CANCELLED)
{{ __('Cancelled') }}
@break
@case(\App\Models\Offer::STATUS_CLOSED)
{{ __('Closed') }}
@break
@default
{{ $offer->status }}
@endswitch
|
{{ $offer->created_at?->format('M j, Y') }}
|
@if($offer->project)
@endif
|
@empty
| {{ __('No offers found') }} |
@endforelse
@include('admin.components.advanced-pagination', ['paginator' => $offers])