summaryrefslogtreecommitdiff
path: root/billing/app/views/customer/confirm.html.haml
blob: 49a1e91ce9ce1bce8c1a42ba3bf34595e383c46d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
%h1 Payment Info Confirmation
%p Your payment information was successfully saved.
%dl
  %dt First Name
  %dd= @result.customer.first_name
  %dt Last Name
  %dd= @result.customer.last_name
  %dt Phone
  %dd= @result.customer.phone
  %dt Credit Card
  - @result.customer.credit_cards.each do |cc|
    %dd= cc.masked_number
- customer = Customer.find_by_user_id(current_user.id)
= link_to 'View Customer Info', show_customer_path(@user.id), :class=> :btn