summaryrefslogtreecommitdiff
path: root/billing/app/views/customer/confirm.html.haml
blob: 877a8acc54bd56e3dabfb2c34e99a9d18e3f132c (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(@user.id)
= link_to 'View Customer Info', show_customer_path(@user.id), :class=> :btn