mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 04:10:32 +00:00
refactor(nestjs): pdf templates
This commit is contained in:
@@ -47,6 +47,17 @@ export class PdfTemplatesController {
|
||||
return this.pdfTemplateApplication.deletePdfTemplate(templateId);
|
||||
}
|
||||
|
||||
@Get('/state')
|
||||
@ApiOperation({ summary: 'Retrieves the PDF template branding state.' })
|
||||
@ApiResponse({
|
||||
status: 200,
|
||||
description:
|
||||
'The PDF template branding state has been successfully retrieved.',
|
||||
})
|
||||
async getPdfTemplateBrandingState() {
|
||||
return this.pdfTemplateApplication.getPdfTemplateBrandingState();
|
||||
}
|
||||
|
||||
@Get(':id')
|
||||
@ApiOperation({ summary: 'Retrieves the PDF template details.' })
|
||||
@ApiResponse({
|
||||
|
||||
Reference in New Issue
Block a user