checklist_include
checklist_include
This module ref.frozen.module.checklist_include
lets you include a checklist into another checklist.
examples
Include the checklist ref.common.my.checklist
under the My checklist
node.
The checklist is applied to the current PDF:
- name: My checklist
module: ref.frozen.module.checklist_include
args:
checklist: ref.common.my.checklist
Include the checklist ref.common.my.checklist
under the My checklist
node.
The checklist is applied to the first attachment with the schema ref.common.rfi.qa.attachment
:
- title: "Dossier qualité"
module: ref.frozen.module.checklist_include
args:
checklist: ref.common.custom.rfi.qa.checklist
attachment:
schema: "ref.common.rfi.qa.attachment"
arg checklist
The id of the checklist to include.
args:
checklist_id: ref.common.custom.rfi.qa.checklist
arg attachment
You can apply the target to a given attachment. The attachement must be a PDF. If not provided, the cheklist will be applied to the current PDF.
arg attachment.schema
TODO: not yet implemented
From the attachments, select the one with the given schema.
args:
attachment:
schema: "ref.common.rfi.qa.attachment"
arg attachment.name
TODO: not yet implemented
From the attachments, select the one with the given name.
args:
attachment:
name: "certificate*.pdf"
arg attachment.many
TODO: not yet implemented
From the attachments, only the first one which match
will be selected.
If you want to select many attachments, set many
to True
(default is False
).
A node named file sample.pdf
will be inserted for each selected attachment.
args:
attachment:
many: true