add signature id

This commit is contained in:
Pete Matsyburka
2024-07-24 20:55:35 +03:00
parent 09074e2ac0
commit 43db15b350
18 changed files with 236 additions and 12 deletions
+4
View File
@@ -102,6 +102,8 @@ module Submissions
.rectangle(0, 0, box.width, 20)
.rectangle(0, box.height - 20, box.width, 20)
.fill
maybe_add_background(canvas, submission, page_size)
end
style.frame = style.create_frame(canvas.context, 50)
end
@@ -336,6 +338,8 @@ module Submissions
'Signed with DocuSeal.co'
end
def maybe_add_background(_canvas, _submission, _page_size); end
def add_logo(column, _submission = nil)
column.image(PdfIcons.logo_io, width: 40, height: 40, position: :float)