refactor(nestjs): landed cost

This commit is contained in:
Ahmed Bouhuolia
2025-06-11 14:04:37 +02:00
parent 1130975efd
commit ff93168d72
28 changed files with 622 additions and 417 deletions

View File

@@ -60,6 +60,18 @@ export class BillsController {
return this.billsApplication.getBills(filterDTO);
}
@Get(':id/payment-transactions')
@ApiOperation({ summary: 'Retrieve the specific bill associated payment transactions.' })
@ApiParam({
name: 'id',
required: true,
type: Number,
description: 'The bill id',
})
getBillPaymentTransactions(@Param('id') billId: number) {
return this.billsApplication.getBillPaymentTransactions(billId);
}
@Get(':id')
@ApiOperation({ summary: 'Retrieves the bill details.' })
@ApiParam({