template header & footer margins
This commit is contained in:
parent
b5760202f7
commit
cfefcd81d7
10 changed files with 72 additions and 17 deletions
|
@ -3,4 +3,6 @@ export interface UpdateTemplateUsageCommand {
|
|||
headerId: number | null;
|
||||
bodyId: number | null;
|
||||
footerId: number | null;
|
||||
headerHeight: number | null;
|
||||
footerHeight: number | null;
|
||||
}
|
||||
|
|
|
@ -17,6 +17,8 @@ export default abstract class TemplateUsageCommandHandler {
|
|||
headerId: updateTemplateUsage.headerId,
|
||||
bodyId: updateTemplateUsage.bodyId,
|
||||
footerId: updateTemplateUsage.footerId,
|
||||
headerHeight: updateTemplateUsage.headerHeight,
|
||||
footerHeight: updateTemplateUsage.footerHeight,
|
||||
})
|
||||
.where("scope = :scope", { scope: updateTemplateUsage.scope })
|
||||
.execute()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue