<%= notice %>

My Loan Applications

<% unless @loan_applications.empty? %> <% unless @loan_applications.empty? %> <% @loan_applications.each do |loan_application| %> <% end %> <% end %>
Product Loan amount Instalment Payment Period Loan purpose Collateral Status
<%= loan_application.product.name %> <%= number_to_currency(loan_application.loan_amount, unit: "") %> <%= number_to_currency(loan_application.instalment, unit: "") %> <%= loan_application.tenor %> Months <%= loan_application.loan_purpose %> <%= loan_application.collateral %> <%= loan_application.status %> <%= link_to 'Details', loan_application, :class => "dark" %>
<% else %>

Ooops! You dont have any loan application. > <%= link_to "Apply for a Loan Now!", home_index_path, :class => "dark" %>

<% end %>