From 1e557522fafc26829b8e9a873da28b7082d4df42 Mon Sep 17 00:00:00 2001 From: jessib Date: Tue, 23 Apr 2013 13:23:01 -0700 Subject: Some improvements to navigation, and pulling out separate show/edit views for customers. --- billing/app/views/customer/show.html.haml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 billing/app/views/customer/show.html.haml (limited to 'billing/app/views/customer/show.html.haml') 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 -- cgit v1.2.3