1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 07:36:14 -05:00

Updated CSV column header, removed invoice PDF URL (#4212)

This commit is contained in:
Alex Morask
2024-06-26 09:30:30 -04:00
committed by GitHub
parent e8e725c389
commit 750321afaa
3 changed files with 4 additions and 6 deletions

View File

@ -19,8 +19,7 @@ public record InvoiceDTO(
decimal Total,
string Status,
DateTime? DueDate,
string Url,
string PdfUrl)
string Url)
{
public static InvoiceDTO From(Invoice invoice) => new(
invoice.Id,
@ -29,6 +28,5 @@ public record InvoiceDTO(
invoice.Total / 100M,
invoice.Status,
invoice.DueDate,
invoice.HostedInvoiceUrl,
invoice.InvoicePdf);
invoice.HostedInvoiceUrl);
}