summaryrefslogtreecommitdiff
path: root/engines/billing/app/views/customer/_customer_data.html.haml
blob: 439ae5cdab8e02f1d3dbe86b5645381a788290e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%legend= t(:customer_information)
%dl
  %dt First Name
  %dd= @customer.first_name
  %dt Last Name
  %dd= @customer.last_name
  %dt Phone
  %dd= @customer.phone
%legend= t(:credit_card_information)
%dl
  %dt Number
  %dd= @default_cc.masked_number
  %dt Expiration Date
  %dd= @default_cc.expiration_date
  - if current_user == @user
    = btn t(:edit_saved_data), edit_customer_path(@user.id)