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