2019-10-28 20:43:32 -04:00
|
|
|
|
2019-12-03 17:29:13 -05:00
|
|
|
<h3>{{i18n 'discourse_subscriptions.user.billing.title'}}</h3>
|
2019-10-28 20:43:32 -04:00
|
|
|
|
|
|
|
{{#if model}}
|
|
|
|
<table class="topic-list">
|
|
|
|
<thead>
|
2019-12-03 17:29:13 -05:00
|
|
|
<th>{{i18n 'discourse_subscriptions.user.billing.invoices.amount'}}</th>
|
|
|
|
<th>{{i18n 'discourse_subscriptions.user.billing.invoices.number'}}</th>
|
|
|
|
<th>{{i18n 'discourse_subscriptions.user.billing.invoices.created_at'}}</th>
|
2019-10-28 20:43:32 -04:00
|
|
|
<th></th>
|
|
|
|
</thead>
|
|
|
|
{{#each model as |invoice|}}
|
|
|
|
<tr>
|
|
|
|
<td>{{invoice.amount_paid}}</td>
|
|
|
|
<td>{{invoice.number}}</td>
|
2019-10-31 21:30:19 -04:00
|
|
|
<td>{{format-unix-date invoice.created}}</td>
|
2019-10-28 20:43:32 -04:00
|
|
|
<td class="td-right">
|
|
|
|
<a href="{{invoice.invoice_pdf}}" class="btn btn-icon">
|
|
|
|
{{d-icon "download"}}
|
|
|
|
</a>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
{{/each}}
|
|
|
|
</table>
|
|
|
|
{{else}}
|
2019-12-03 17:29:13 -05:00
|
|
|
<p>{{i18n 'discourse_subscriptions.user.billing_help'}}</p>
|
2019-10-28 20:43:32 -04:00
|
|
|
{{/if}}
|