mirror of
https://github.com/documenso/documenso.git
synced 2025-11-20 11:41:44 +10:00
🎨 🧹📝 remove todos, document typing
This commit is contained in:
@ -1,10 +1,11 @@
|
||||
import { sendMail } from "./sendMail";
|
||||
import { NEXT_PUBLIC_WEBAPP_URL } from "@documenso/lib/constants";
|
||||
import { signingCompleteTemplate } from "@documenso/lib/mail";
|
||||
import { Document as PrismaDocument } from "@prisma/client";
|
||||
|
||||
export const sendSigningDoneMail = async (
|
||||
recipient: any,
|
||||
document: any,
|
||||
document: PrismaDocument,
|
||||
user: any
|
||||
) => {
|
||||
await sendMail(
|
||||
|
||||
@ -26,8 +26,8 @@ export async function insertTextInPDF(
|
||||
const textHeight = customFont.heightAtSize(textSize);
|
||||
|
||||
pdfPage.drawText(text, {
|
||||
x: positionX, // todo adjust for exact field size
|
||||
y: pdfPage.getHeight() - positionY - textHeight / 2, // todo adjust for exact field size
|
||||
x: positionX,
|
||||
y: pdfPage.getHeight() - positionY - textHeight / 2,
|
||||
size: textSize,
|
||||
font: useHandwritingFont ? customFont : helveticaFont,
|
||||
color: rgb(0, 0, 0),
|
||||
|
||||
Reference in New Issue
Block a user