1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-07 10:55:43 -05:00

[AC-2804] Add client ID to provider client invoice report (#4458)

* Add client ID to provider client invoice report

* Run dotnet format
This commit is contained in:
Alex Morask
2024-07-05 10:12:03 -04:00
committed by GitHub
parent 8b5f65fc00
commit 9c8a9f41fb
17 changed files with 8252 additions and 5 deletions

View File

@ -7,6 +7,7 @@ namespace Bit.Commercial.Core.Billing.Models;
public class ProviderClientInvoiceReportRow
{
public string Client { get; set; }
public string Id { get; set; }
public int Assigned { get; set; }
public int Used { get; set; }
public int Remaining { get; set; }
@ -18,6 +19,7 @@ public class ProviderClientInvoiceReportRow
=> new()
{
Client = providerInvoiceItem.ClientName,
Id = providerInvoiceItem.ClientId?.ToString(),
Assigned = providerInvoiceItem.AssignedSeats,
Used = providerInvoiceItem.UsedSeats,
Remaining = providerInvoiceItem.AssignedSeats - providerInvoiceItem.UsedSeats,