<%= @current_account.nil? ? "Unified Inbox" : @current_account.name %>

<% if @current_account %>
Account Details
  • Owner: <%= @current_account.owner %>
  • Account Number: <%= @current_account.account_number %>
  • Bank Code: <%= @current_account.bank_code %>
  • IBAN: <%= @current_account.iban %>
  • Balance: <%= @current_account.balance.balance %> <%= @current_account.currency %>
<% end %> <% if @transactions %> <% @transactions.each do |transaction| %> <% end %> <% end %>
Date Name Account Number Purpose Amount
<%= transaction.value_date %> <%= transaction.name %> <%= transaction.account_number %> <%= transaction.purpose %> <%= transaction.amount %>