summaryrefslogtreecommitdiff
path: root/billing/app/views/subscriptions/_subscription_details.html.haml
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-04-15 12:13:33 -0700
committerAzul <azul@leap.se>2013-07-17 10:47:12 +0200
commit2829e7020abcf6d2f708fbc7dfb3db98ad174255 (patch)
tree4d389dbb892211bdb3f0305403a45c38e9d5a1c7 /billing/app/views/subscriptions/_subscription_details.html.haml
parent29f1de49083d57895bdf8f999448678934fbeffc (diff)
Displaying of user's subscription. Still not committed to whether user can have multiple subscriptions at a time or not.
Diffstat (limited to 'billing/app/views/subscriptions/_subscription_details.html.haml')
-rw-r--r--billing/app/views/subscriptions/_subscription_details.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/billing/app/views/subscriptions/_subscription_details.html.haml b/billing/app/views/subscriptions/_subscription_details.html.haml
new file mode 100644
index 0000000..f2a0410
--- /dev/null
+++ b/billing/app/views/subscriptions/_subscription_details.html.haml
@@ -0,0 +1,13 @@
+%p
+ = subscription.id
+ Balance:
+ = number_to_currency(subscription.balance)
+ Bill on:
+ = subscription.billing_day_of_month
+ Start date:
+ = subscription.first_billing_date
+ Paid through
+ = subscription.paid_through_date
+ Price
+ = subscription.price
+ - # would be good to get plan name but not sure if that is possible? \ No newline at end of file