Improved subscription overview

This commit is contained in:
James Cole
2025-07-30 18:57:32 +02:00
parent 01181ceea9
commit 671ff95f22
4 changed files with 24 additions and 20 deletions

View File

@@ -163,8 +163,8 @@ function downloadSubscriptions(params) {
currency_code: bill.currency_code,
paid: 0,
unpaid: 0,
native_currency_code: bill.native_currency_code,
native_paid: 0,
// native_currency_code: bill.native_currency_code,
// native_paid: 0,
//native_unpaid: 0,
};
}
@@ -218,6 +218,9 @@ export default () => ({
loading: false,
convertToNative: false,
subscriptions: [],
formatMoney(amount, currencyCode) {
return formatMoney(amount, currencyCode);
},
startSubscriptions() {
this.loading = true;
let start = new Date(window.store.get('start'));
@@ -256,6 +259,7 @@ export default () => ({
//console.log(group);
}
}
console.log('Subscriptions: ', this.subscriptions);
// then assign to this.subscriptions.
this.loading = false;