@model FixConnect.PL.ViewModels.WorkerDashboardViewModel @{ ViewData["Title"] = "Direct Requests"; Layout = "_WorkerLayout"; }
Direct Requests
@if (TempData["Success"] != null) {
@TempData["Success"]
} @if (!Model.PublicRequests.Any()) {

No direct requests yet.

} else {
@foreach (var r in Model.PublicRequests) {
@r.Title
@if (r.AlreadyBid) { Bid Sent } else { Awaiting Bid }

@r.Description

📍 @r.RegionName @if (!string.IsNullOrEmpty(r.SpecialtyName)) { 🔧 @r.SpecialtyName } 👤 From: @r.CustomerName
@if (r.ImagePaths.Any()) {
@foreach (var img in r.ImagePaths.Take(3)) { } @if (r.ImagePaths.Count > 3) { +@(r.ImagePaths.Count - 3) more }
}
@r.CreatedAt.ToString("dd MMM yyyy") View Details
}
}