mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
refactor(nestjs): landed cost
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user