@extends('layouts.admin') @section('title', 'Customer Bids CRM – Admin Console') @section('page_title', 'Customer Bid Management') @section('content')
All Bids {{ $stats['total'] }} Pending {{ $stats['pending'] }} Approved {{ $stats['approved'] }} Floor Live {{ $stats['submitted'] }} Won {{ $stats['won'] }} Lost / Outbid {{ $stats['lost'] }}
@if(request('status')) @endif
@if(request('search') || request('status')) Clear @endif
@forelse($bids as $bid) @empty @endforelse
Customer Details Vehicle / Lot Auction House Max Authorized JPY Estimated Landed BDT Deposit Status Status Actions
{{ $bid->user->name ?? 'Customer' }}

{{ $bid->user->phone ?? 'No Phone' }}

{{ $bid->auctionVehicle->year ?? '' }} {{ $bid->auctionVehicle->brand ?? '' }} {{ $bid->auctionVehicle->model ?? 'Vehicle' }}

Lot #{{ $bid->auctionVehicle->lot_number ?? 'N/A' }} · Grade {{ $bid->auctionVehicle->grade ?? '4.5' }}
{{ $bid->auctionVehicle->auctionHouse->name ?? 'USS' }} ¥{{ number_format($bid->max_bid_jpy) }} ৳{{ number_format($bid->estimated_landed_cost_bdt) }} ৳{{ number_format($bid->deposit_amount_bdt ?? 200000) }} ({{ $bid->deposit_status ?? 'pending' }}) @php $badgeStyles = [ 'pending' => 'bg-amber-500/20 text-amber-300 border-amber-500/30', 'approved' => 'bg-blue-500/20 text-blue-300 border-blue-500/30', 'submitted' => 'bg-purple-500/20 text-purple-300 border-purple-500/30', 'bidding' => 'bg-red-500/20 text-red-300 border-red-500/30 animate-pulse', 'won' => 'bg-emerald-500/20 text-emerald-300 border-emerald-500/30', 'lost' => 'bg-slate-700/40 text-slate-400 border-slate-600/30', 'rejected' => 'bg-rose-500/20 text-rose-300 border-rose-500/30', 'cancelled' => 'bg-rose-500/20 text-rose-300 border-rose-500/30' ]; @endphp {{ $bid->status }} Manage
No bids found matching the selected filters.
{{ $bids->links() }}
@endsection