summaryrefslogtreecommitdiff
path: root/billing/app/views/payments/confirm.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-03-12 14:18:18 -0700
committerAzul <azul@leap.se>2013-07-17 10:46:25 +0200
commit925534524317d0b6e7786d5a891e2b462b897d0a (patch)
tree64450146472c00fef0a3079537c37e4ea62a7a15 /billing/app/views/payments/confirm.html.haml
parent3ffac4e77a118ee6ec7d369b0250c11830c2f7e0 (diff)
Replace .erb with .haml files.
Diffstat (limited to 'billing/app/views/payments/confirm.html.haml')
-rw-r--r--billing/app/views/payments/confirm.html.haml26
1 files changed, 26 insertions, 0 deletions
diff --git a/billing/app/views/payments/confirm.html.haml b/billing/app/views/payments/confirm.html.haml
new file mode 100644
index 0000000..21611f5
--- /dev/null
+++ b/billing/app/views/payments/confirm.html.haml
@@ -0,0 +1,26 @@
+%h1 Payment Result
+%div Thank you for your payment.
+%h2 Transaction Details
+%table
+ %tr
+ %td Amount
+ %td
+ $#{@result.transaction.amount}
+ %tr
+ %td Transaction ID:
+ %td= @result.transaction.id
+ %tr
+ %td First Name:
+ %td= h @result.transaction.customer_details.first_name
+ %tr
+ %td Last Name:
+ %td= h @result.transaction.customer_details.last_name
+ %tr
+ %td Email:
+ %td= h @result.transaction.customer_details.email
+ %tr
+ %td Credit Card:
+ %td= h @result.transaction.credit_card_details.masked_number
+ %tr
+ %td Card Type:
+ %td= h @result.transaction.credit_card_details.card_type \ No newline at end of file