@extends('layouts.app') @section('content')

My Bids

History of your placed bids

Total Bids

{{ $totalBids }}

Accepted

{{ $acceptedBids }}

Pending

{{ $pendingBids }}

Rejected

{{ $rejectedBids }}

@forelse ($bids as $bid) @empty @endforelse
Service Bid Amount Status Prestataire Expires Date Actions
{{ $bid->service->name }} €{{ number_format($bid->bid_amount, 2) }} {{ ucfirst($bid->status) }} {{ $bid->service->prestataire->name }} {{ $bid->expires_at->format('d M Y') }} @if ($bid->expires_at < now() && $bid->status === 'pending') Expired @endif {{ $bid->created_at->format('d M Y H:i') }}
@if ($bid->status === 'pending' && $bid->expires_at > now()) @endif

You haven't placed any bids yet.

Browse services to get started
@if ($bids->hasPages())
{{ $bids->links() }}
@endif
@endsection