template header & footer margins
This commit is contained in:
parent
b5760202f7
commit
cfefcd81d7
10 changed files with 72 additions and 17 deletions
|
@ -78,12 +78,16 @@ export async function updateTemplateUsage(req: Request, res: Response): Promise<
|
|||
const headerId = req.body.headerId ?? null;
|
||||
const bodyId = req.body.bodyId ?? null;
|
||||
const footerId = req.body.footerId ?? null;
|
||||
const headerHeight = req.body.headerHeight ?? null;
|
||||
const footerHeight = req.body.footerHeight ?? null;
|
||||
|
||||
let updateTemplateUsage: UpdateTemplateUsageCommand = {
|
||||
scope: scope,
|
||||
headerId: headerId,
|
||||
bodyId: bodyId,
|
||||
footerId: footerId,
|
||||
headerHeight: headerHeight,
|
||||
footerHeight: footerHeight,
|
||||
};
|
||||
await TemplateUsageCommandHandler.update(updateTemplateUsage);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue