🎨 🧹📝 remove todos, document typing

This commit is contained in:
Timur Ercan
2023-03-01 14:58:31 +01:00
parent 035371bc0b
commit 53094dd9e4
8 changed files with 7 additions and 18 deletions

View File

@ -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(

View File

@ -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),