feat: add payment report notes
This commit is contained in:
@@ -26,6 +26,7 @@ const reportSelect = {
|
||||
createdAt: true,
|
||||
totalAmount: true,
|
||||
currency: true,
|
||||
note: true,
|
||||
receiptKey: true,
|
||||
receiptMime: true,
|
||||
receiptName: true,
|
||||
@@ -206,6 +207,7 @@ export class ReportedPayments {
|
||||
createdAt: row.createdAt.toISOString(),
|
||||
totalAmount: row.totalAmount.toNumber(),
|
||||
currency: row.currency,
|
||||
note: row.note,
|
||||
fees: row.items
|
||||
.map(({ payment }) => ({
|
||||
id: payment.id,
|
||||
|
||||
Reference in New Issue
Block a user