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

All Received Offers

Overview of all offers across all properties.

Global Offers List
@if(session('success')) @endif @if(session('error')) @endif
@forelse($offers as $offer) @empty @endforelse
Property User Amount (£) Status Date Actions
{{ $offer->property->headline }}
{{ $offer->property->location }}
{{ $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 {{ $offer->created_at->format('d M Y H:i') }}
@if($offer->status == 'pending')
@csrf @method('PUT')
@csrf @method('PUT')
@elseif($offer->status == 'accepted')
@csrf
@endif
No offers found.
@endsection