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:
@@ -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"
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user