list customer subscriptions
This commit is contained in:
@@ -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|}}
|
||||
|
||||
Reference in New Issue
Block a user