{
 "absolute_value": 0,
 "align_labels_right": 0,
 "creation": "2023-08-09 17:02:21.430320",
 "css": ".certificate-container {\n    font-family: \"Inter\" sans-serif;\n    font-size: 20px;\n}\n\n.inner-border {\n    border: 8px solid #0089FF;\n    border-radius: 8px;\n    text-align: center;\n    padding: 6rem 4rem;\n    background-color: #FFFFFF;\n}\n\n.certificate-logo {\n    height: 3rem;\n    margin-right: 0.5rem;\n}\n\n.certificate-name {\n    font-size: 2rem;\n    font-weight: 500;\n    color: #192734;\n    margin-bottom: 0.5rem;\n}\n\n.certificate-footer {\n    margin: 4rem auto 0;\n    width: 70%;\n    text-align: center;\n}\n\n.certificate-footer-item {\n    color: #192734;\n}\n\n.cursive-font {\n    font-family: cursive;\n    font-weight: 600;\n}\n\n.certificate-divider {\n    margin: 0.5rem 0;\n}\n\n.certificate-expiry {\n    margin-left: 2rem;\n}",
 "custom_format": 1,
 "default_print_language": "en",
 "disabled": 0,
 "doc_type": "LMS Certificate",
 "docstatus": 0,
 "doctype": "Print Format",
 "font_size": 14,
 "format_data": "",
 "html": "{% set member = frappe.db.get_value(\"User\", doc.member, [\"full_name\"], as_dict=True) %}\n{% set course = frappe.db.get_value(\"LMS Course\", doc.course, [\"title\", \"name\", \"image\"], as_dict=True) %}\n{% set logo = frappe.db.get_single_value(\"Website Settings\", \"banner_image\") %}\n{% set brand_name = frappe.db.get_single_value(\"Website Settings\", \"app_name\") %}\n{% set instructors = frappe.get_all(\"Course Instructor\", {\"parent\": doc.course}, pluck=\"instructor\", order_by=\"idx\") %}\n\n<meta name=\"pdfkit-orientation\" content=\"Landscape\">\n<link rel=\"preconnect\" href=\"https://fonts.googleapis.com\">\n<link rel=\"preconnect\" href=\"https://fonts.gstatic.com\" crossorigin>\n<link href=\"https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap\" rel=\"stylesheet\">\n\n<div class=\"certificate-container\">\n   <div style=\"margin-bottom: 13rem;\">\n        {% if logo %}\n        <img src=\"{{ logo }}\" class=\"certificate-logo\"> <span style=\"font-weight: 900; font-size: 1.5rem;\"> {{ brand_name }} </span>\n        {% else %}\n        <span style=\"font-weight: 900; font-size: 1.5rem;\"> {{ brand_name }} </span>\n        {% endif %}\n    </div>\n    \n    <div style=\"margin-bottom: 1rem;\">\n        {{ _(\"This is to certify that\") }}\n    </div>\n\n    <div style=\"margin-bottom: 1rem; font-weight: 900; font-size: 1.5rem;\">\n        {{ member.full_name }}\n    </div>\n\n    <div style=\"margin-bottom: 12rem; width: 70%;\">\n        {{ _(\"has successfully completed the\") }}\n        <span style=\"font-weight: 900;\"> {{ course.title }} </span> {{ _(\"course\") }}\n        {{ _(\"including all required assessments\") }}\n        on {{ frappe.utils.format_date(doc.issue_date, \"medium\") }}.\n    </div>\n\n    <div>\n        {% if doc.evaluator %}\n        <div>\n            <div style=\"margin-bottom: 0.5rem; color: gray; font-weight: 500;\">\n                {{ _(\"Evaluated By\")}}\n            </div>\n            <div style=\"font-weight: 900;\">\n                {{ doc.evaluator_name }}\n            </div>\n        </div>\n        {% else %}\n        <div style=\"margin-bottom: 0.5rem; color: gray; font-weight: 500;\">\n            {{ _(\"Instructor\") if instructors|length == 1 else _(\"Instructors\") }}\n        </div>\n        <div>\n            {% for instructor in instructors %}\n                {% set instructor_name = frappe.db.get_value(\"User\", instructor, \"full_name\") %}\n                <span style=\"font-weight: 900;\">\n                    {{ instructor_name }}{% if not loop.last %}, {% endif %}\n                </span>\n            {% endfor %}\n        </div>\n        {% endif %}\n    </div>\n</div>",
 "idx": 0,
 "line_breaks": 0,
 "margin_bottom": 0.0,
 "margin_left": 0.0,
 "margin_right": 0.0,
 "margin_top": 0.0,
 "modified": "2026-02-06 14:30:51.844240",
 "modified_by": "Administrator",
 "module": "LMS",
 "name": "Certificate",
 "owner": "Administrator",
 "page_number": "Hide",
 "pdf_generator": "wkhtmltopdf",
 "print_designer": 0,
 "print_designer_template_app": "print_designer",
 "print_format_builder": 0,
 "print_format_builder_beta": 0,
 "print_format_for": "DocType",
 "print_format_type": "Jinja",
 "raw_printing": 0,
 "show_section_headings": 0,
 "standard": "Yes"
}
