"""Generate a placeholder service-agreement PDF for DocuSeal smoke testing.
This is fictional sample text only. Not legal advice, not a real contract.
"""
from pathlib import Path
from reportlab.lib.pagesizes import LETTER
from reportlab.lib.styles import getSampleStyleSheet
from reportlab.platypus import Paragraph, SimpleDocTemplate, Spacer
OUT = Path(__file__).parent / "service_agreement.pdf"
styles = getSampleStyleSheet()
h1, body = styles["Title"], styles["BodyText"]
story = [
Paragraph("PROFESSIONAL SERVICES AGREEMENT", h1),
Spacer(1, 18),
Paragraph(
"This Agreement (\"Agreement\") is entered into as of the date last "
"signed below (\"Effective Date\") between 360DMMC LLC "
"(\"Provider\") and the undersigned Client.",
body,
),
Spacer(1, 12),
Paragraph("1. Services. Provider agrees to deliver the services described in any mutually executed statement of work.", body),
Paragraph("2. Fees. Client shall pay Provider the fees set forth in each statement of work, net 30 days from invoice.", body),
Paragraph("3. Term. This Agreement begins on the Effective Date and continues until terminated by either party with 30 days written notice.", body),
Paragraph("4. Confidentiality. Each party agrees to protect the other's confidential information using reasonable care for two (2) years following disclosure.", body),
Paragraph("5. Limitation of Liability. Neither party shall be liable for indirect, incidental, or consequential damages arising out of this Agreement.", body),
Paragraph("6. Governing Law. This Agreement is governed by the laws of the jurisdiction in which Provider is incorporated.", body),
Spacer(1, 24),
Paragraph("SIGNATURES", body),
Spacer(1, 24),
Paragraph("Provider name: ____________________________", body),
Paragraph("Provider signature: ________________________", body),
Paragraph("Date: ____________________________________", body),
Spacer(1, 18),
Paragraph("Client name: ______________________________", body),
Paragraph("Client signature: __________________________", body),
Paragraph("Date: ____________________________________", body),
]
SimpleDocTemplate(str(OUT), pagesize=LETTER).build(story)
print(f"wrote {OUT} ({OUT.stat().st_size} bytes)")