<%= @property.property_number %> — <%= @property.project&.name %>

Class: <%= @property.class_category&.name %> | Status: <% case @property.status %> <% when "available" %> Available <% when "reserved" %> Reserved <% when "sold" %> Sold <% end %>

Key Info
  • Property Use: <%= @property.property_use&.name %>
  • Agent: <%= @property.agent %>
  • File Number: <%= @property.file_no %>
  • Completion Date: <%= @property.completion_date %>
  • Tenure: <%= @property.tenure %> months
Financials
  • Size: <%= @property.size %> m²
  • Price/m²: <%= number_to_currency(@property.price_psm) %>
  • Sale Value: <%= number_to_currency(@property.sale_value) %>
  • Deposit: <%= number_to_currency(@property.deposit) %>
<% if @property.comment.present? %>
Comments

<%= @property.comment %>

<% end %>
<% if @property.available_for_reservation? %> <%= link_to "Reserve This Property", new_client_portal_property_reservation_path(@property), class: "btn btn-primary apple-btn px-4 py-2" %> <% elsif @property.reserved? %> <% latest_reservation = @property.reservations.order(created_at: :desc).first %> <% if latest_reservation.present? %>
This property is currently reserved.

Expires: <%= latest_reservation.expires_at.strftime("%d %b %Y") %>

<% end %> <% elsif @property.sold? %>
This property has been sold.
<% end %> <%= link_to "Back to Properties", client_portal_properties_path, class: "btn btn-outline-secondary apple-btn px-4 py-2" %>