summaryrefslogtreecommitdiff
path: root/billing/app/views/customer/show.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-04-23 13:23:01 -0700
committerAzul <azul@leap.se>2013-07-17 10:47:13 +0200
commit1e557522fafc26829b8e9a873da28b7082d4df42 (patch)
treea78542bf9cc801d444168e2a88f1957c27a6d8b7 /billing/app/views/customer/show.html.haml
parentc2330394daf004974656d8240ca6c83567401595 (diff)
Some improvements to navigation, and pulling out separate show/edit views for customers.
Diffstat (limited to 'billing/app/views/customer/show.html.haml')
-rw-r--r--billing/app/views/customer/show.html.haml8
1 files changed, 8 insertions, 0 deletions
diff --git a/billing/app/views/customer/show.html.haml b/billing/app/views/customer/show.html.haml
new file mode 100644
index 0000000..7416682
--- /dev/null
+++ b/billing/app/views/customer/show.html.haml
@@ -0,0 +1,8 @@
+= render :partial => 'payments/customer_data'
+= link_to 'Make Payment', new_payment_path, :class => :btn
+%h3 Transaction History
+= render(:partial => "transaction", :collection => @transactions) # show subset with link to see more
+- if @subscriptions.any?
+ %h3 Active Subscriptions
+ = # todo: won't really have multiple subscriptions
+ = render(:partial => "subscription", :collection => @subscriptions) \ No newline at end of file