% if properties.empty? %>
| Property # | Project | Class | Size (m²) | Price/m² | Total Value | Status | Actions |
|---|---|---|---|---|---|---|---|
| <%= property.property_number %> | <%= property.project&.name %> | <%= property.class_category&.name %> | <%= property.size %> | <%= number_to_currency(property.price_psm) %> | <%= number_to_currency(property.sale_value) %> | <% case property.status %> <% when "available" %> Available <% when "reserved" %> Reserved <% when "sold" %> Sold <% end %> | <%= link_to "View", agent_portal_property_path(property), class: "btn btn-primary btn-sm" %> |