summaryrefslogtreecommitdiff
path: root/billing/app/views/customers/confirm.html.haml
blob: 975d1ada3bd2945487cca90fbc32e9979bae7d4a (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', customer_path(customer.braintree_customer_id), :class=> :btn