{{-- Offer Card Component --}}
{{-- Offer Status Badge --}} @if($offer->status) @php $offerStatusClass = match($offer->status) { \App\Models\Offer::STATUS_PENDING => 'offer-status-pending', \App\Models\Offer::STATUS_RUNNING => 'offer-status-running', \App\Models\Offer::STATUS_COMPLETED => 'offer-status-completed', \App\Models\Offer::STATUS_CLOSED => 'offer-status-closed', \App\Models\Offer::STATUS_REJECTED => 'offer-status-rejected', \App\Models\Offer::STATUS_CANCELLED => 'offer-status-cancelled', default => '', }; @endphp {{ $offer->getStatusText() }} @endif
{{$offer->project?->title ?? trans('N/A')}} {{-- Offer Date Badge --}} {{ localized_friendly_time($offer->created_at) }}
{{-- Owner Rating --}}
{{ number_format($offer->project?->user?->rating ?? 0, 1) }}
{{-- Payment Verification --}}
@if($offer->project?->user?->payment_verified)
الدفع موثق
@else
الدفع غير موثق
@endif
عرضك: {{$offer->total}}$
{{$offer->project?->user?->country?->name}}
@if($offer->notes)

{!! e($offer->notes) !!}

@endif
{{localized_friendly_time($offer->project?->created_at)}}
{{count($offer->project?->offers)}} @lang('offers')
{{-- Offer Time --}} @if($offer->delivery_days || $offer->time)
@if($offer->delivery_days) مدة التنفيذ: {{ $offer->delivery_days }} @lang('Day') @else مدة التنفيذ: {{ getTrans($offer->time->display_name, lang()) }} @endif
@endif