summaryrefslogtreecommitdiff
path: root/engines/billing/app/views/payments/_transaction_details.html.haml
blob: 85e4f6a564a0a8e193b8ea63373ba4e092369d93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
%p
  = transaction.id
  Type:
  = transaction.type
  Amount:
  = number_to_currency(transaction.amount)
  Status:
  = transaction.status
  Date
  = transaction.created_at.strftime("%Y-%m-%d")
  - if sub_start = transaction.subscription_details.billing_period_start_date
    From subscription which started
    = sub_start
  - else # should not have any of these
    Not paid as part of subscription