invoice
This commit is contained in:
@@ -30,7 +30,7 @@ export class InvoiceController {
|
|||||||
return this.invoiceService.findOne(id,userId);
|
return this.invoiceService.findOne(id,userId);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Get('public/invoice/item/:id')
|
@Post('public/invoice/item/:id/confirm')
|
||||||
@UseGuards(AuthGuard)
|
@UseGuards(AuthGuard)
|
||||||
@ApiOperation({ summary: 'Confirm invoice item by id' })
|
@ApiOperation({ summary: 'Confirm invoice item by id' })
|
||||||
confirmInvoiceItem(@Param('id') id: string,@UserId() userId: string) {
|
confirmInvoiceItem(@Param('id') id: string,@UserId() userId: string) {
|
||||||
|
|||||||
@@ -63,4 +63,11 @@ export class Order extends BaseEntity {
|
|||||||
|
|
||||||
@Property({ type: 'json' })
|
@Property({ type: 'json' })
|
||||||
attachments: IAttachment[] = []
|
attachments: IAttachment[] = []
|
||||||
|
|
||||||
|
@Property({ type: 'string', nullable: true })
|
||||||
|
printery?: string
|
||||||
|
|
||||||
|
@Property({ type: 'string', nullable: true })
|
||||||
|
Lithography?: string
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user