diff --git a/apps/edr-freight-api/src/modules/reports/definitions/revenue-transactions.report.ts b/apps/edr-freight-api/src/modules/reports/definitions/revenue-transactions.report.ts index 044f0141e..4f70216e8 100644 --- a/apps/edr-freight-api/src/modules/reports/definitions/revenue-transactions.report.ts +++ b/apps/edr-freight-api/src/modules/reports/definitions/revenue-transactions.report.ts @@ -73,7 +73,6 @@ export const revenueTransactionsReport: ReportDefinition = { { key: 'issuedAt', label: 'Issued', type: 'date', sortable: true, sortExpr: REVENUE_DATE }, { key: 'invoiceNumber', label: 'Invoice No.', type: 'string', sortable: true, sortExpr: 'i.invoice_number' }, { key: 'bookingRef', label: 'Booking', type: 'string', sortable: true, sortExpr: 'b.reference' }, - { key: 'bookingId', label: 'Booking ID', type: 'string' }, { key: 'payer', label: 'Customer', type: 'string', sortable: true, sortExpr: PAYER_EXPR }, { key: 'category', label: 'Revenue category', type: 'string', sortable: true, sortExpr: REVENUE_CATEGORY_EXPR }, { key: 'paymentClass', label: 'Payment class', type: 'string' }, @@ -96,7 +95,6 @@ export const revenueTransactionsReport: ReportDefinition = { .select(`to_char(${REVENUE_DATE}, 'YYYY-MM-DD HH24:MI')`, 'issuedAt') .addSelect('i.invoice_number', 'invoiceNumber') .addSelect("COALESCE(b.reference, '—')", 'bookingRef') - .addSelect("COALESCE(b.id::text, '')", 'bookingId') .addSelect(PAYER_EXPR, 'payer') .addSelect(REVENUE_CATEGORY_EXPR, 'category') .addSelect(PAYMENT_CLASS_EXPR, 'paymentClass')