diff options
Diffstat (limited to 'billing/app/views/payments/_customer_data.html.haml')
-rw-r--r-- | billing/app/views/payments/_customer_data.html.haml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/billing/app/views/payments/_customer_data.html.haml b/billing/app/views/payments/_customer_data.html.haml new file mode 100644 index 0000000..87b8209 --- /dev/null +++ b/billing/app/views/payments/_customer_data.html.haml @@ -0,0 +1,15 @@ +%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 + = link_to t(:edit_saved_data), edit_customer_path(@customer), :class => :btn |