1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 16:53:34 +00:00

[EC-8] Reuse user billing history for orgs

This commit is contained in:
Shane Melton
2022-07-28 15:12:40 -07:00
parent 8fcc4f394d
commit 8765aa182f
7 changed files with 54 additions and 177 deletions

View File

@@ -23,6 +23,10 @@ export class BillingResponse extends BaseResponse {
this.invoices = invoices.map((i: any) => new BillingInvoiceResponse(i));
}
}
get hasNoHistory() {
return this.invoices.length == 0 && this.transactions.length == 0;
}
}
export class BillingSourceResponse extends BaseResponse {