list customer subscriptions

This commit is contained in:
Rimian Perkins
2019-10-30 14:19:43 +11:00
parent 7963d6dea2
commit 03cbc235b1
6 changed files with 36 additions and 17 deletions
@@ -11,8 +11,8 @@ export default Ember.Controller.extend({
});
},
paymentSuccessHandler(paymentIntentId) {
bootbox.alert("ok payment good... some kind of message");
paymentSuccessHandler(/* paymentIntentId */) {
bootbox.alert(I18n.t("discourse_patrons.transactions.payment.success"));
this.transitionToRoute(
"user.billing",
Discourse.User.current().username.toLowerCase()
@@ -1,4 +1,3 @@
import Group from "discourse/plugins/discourse-patrons/discourse/models/group";
import Plan from "discourse/plugins/discourse-patrons/discourse/models/plan";
import Subscription from "discourse/plugins/discourse-patrons/discourse/models/subscription";
@@ -5,7 +5,7 @@
{{#if model}}
<table class="topic-list">
<thead>
<th>{{i18n 'discourse_patrons.user.billing.subscriptions.created_at'}}</th>
<th>{{i18n 'discourse_patrons.user.subscriptions.created_at'}}</th>
<th></th>
</thead>
{{#each model as |subscription|}}