@@ -302,8 +302,8 @@ export class AdminStoreBillController {
|
||||
refType: 'STORE_BILL',
|
||||
refIdParam: 'id',
|
||||
})
|
||||
confirm(@Param('id') id: string) {
|
||||
return this.settlementService.confirmStoreBill(BigInt(id));
|
||||
confirm(@Param('id') id: string, @Body() body: { paymentRef?: string }) {
|
||||
return this.settlementService.confirmStoreBill(BigInt(id), body);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -485,8 +485,8 @@ export class AdminWineryBillController {
|
||||
refType: 'WINERY_BILL',
|
||||
refIdParam: 'id',
|
||||
})
|
||||
confirm(@Param('id') id: string) {
|
||||
return this.settlementService.confirmWineryBill(BigInt(id));
|
||||
confirm(@Param('id') id: string, @Body() body: { paymentRef?: string }) {
|
||||
return this.settlementService.confirmWineryBill(BigInt(id), body);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -565,8 +565,8 @@ export class AdminLogisticsBillController {
|
||||
refType: 'LOGISTICS_BILL',
|
||||
refIdParam: 'id',
|
||||
})
|
||||
confirm(@Param('id') id: string) {
|
||||
return this.settlementService.confirmLogisticsBill(BigInt(id));
|
||||
confirm(@Param('id') id: string, @Body() body: { paymentRef?: string }) {
|
||||
return this.settlementService.confirmLogisticsBill(BigInt(id), body);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user