Transaction Details

Property: <%= @property_account.property_number %>

Customer: <%= @customer.full_name %>

Date: <%= @statement.transaction_date.strftime("%b %d, %Y") %>

Type: <%= @statement.credit? ? "Credit" : "Debit" %>

Title: <%= @statement.payment_title %>

Description: <%= @statement.description || "-" %>

Reference: <%= @statement.reference_number || "-" %>

Amount: <%= number_to_currency(@statement.amount) %>

Balance after transaction: <%= number_to_currency(@property_account.balance_after(@statement)) rescue "N/A" %>

<%= link_to "Back to Transactions", transaction_history_client_portal_property_accounts_path, class: "btn btn-secondary" %>