@extends('layouts.admin') @section('title', 'Property Offers') @section('content')

Offers for: {{ $property->headline }}

Current Property Status: {{ ucfirst($property->status) }}

Back to Properties
Received Offers
@if(session('success')) @endif @if(session('error')) @endif
@forelse($offers as $offer) @empty @endforelse
User Amount (£) Status Notes Date Actions
{{ $offer->user->name }}
{{ $offer->user->email }}
£{{ number_format($offer->offer_amount, 2) }} @if($offer->status == 'pending') Pending @elseif($offer->status == 'accepted') Accepted @elseif($offer->status == 'rejected') Rejected @elseif($offer->status == 'completed') Completed (Sold) @else {{ $offer->status }} @endif {{ Str::limit($offer->notes, 50) }} {{ $offer->created_at->format('d M Y H:i') }} @if($offer->status == 'pending')
@csrf @method('PUT')
@csrf @method('PUT')
@elseif($offer->status == 'accepted')
@csrf
@else No actions available @endif
No offers received yet.
@endsection