1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Add description to billing history, update invoice table and report name (#9777)

This commit is contained in:
Alex Morask
2024-06-26 09:30:37 -04:00
committed by GitHub
parent 679c25b082
commit dbc6f1c840
6 changed files with 19 additions and 33 deletions

View File

@@ -1,6 +1,7 @@
<app-header></app-header>
<bit-container>
<h3 bitTypography="h3">{{ "invoices" | i18n }}</h3>
<p bitTypography="body1">{{ "billingHistoryDescription" | i18n }}</p>
<app-invoices
[getInvoices]="getInvoices"
[getClientInvoiceReport]="getClientInvoiceReport"

View File

@@ -25,7 +25,7 @@ export class ProviderBillingHistoryComponent implements OnInit, OnDestroy {
getClientInvoiceReportName = (invoice: InvoiceResponse) => {
const date = this.datePipe.transform(invoice.date, "yyyyMMdd");
return `bitwarden_provider_${date}_${invoice.number}`;
return `bitwarden_provider-billing-history_${date}_${invoice.number}`;
};
getInvoices = async () => await this.billingApiService.getProviderInvoices(this.providerId);