seitime-frappe/frappe/templates/print_format/print_footer.html
Faris Ansari f4bd62c010 feat: More features
- Letterhead editing
- Edit Header and Footer
- Margin Text
- PrintFormatGenerator class handles generation of HTML and PDF and repeating of Header/Footer
- Simplify /printpreview
- Separate renderer files for each fieldtype
2021-09-15 18:50:41 +05:30

24 lines
574 B
HTML

<style>
{% include "templates/print_format/print_format_font.css" %}
@media print {
footer {
position: fixed;
bottom: 0;
left: 0;
width: 100%;
padding-bottom: {{ print_format.margin_bottom | int }}mm;
padding-left: {{ print_format.margin_left | int }}mm;
padding-right: {{ print_format.margin_right | int }}mm;
}
}
</style>
<footer>
{%- if layout.footer -%}
{{ frappe.render_template(layout.footer, {'doc': doc}) }}
{%- endif -%}
{%- if letterhead -%}
{{ frappe.render_template(letterhead.footer, {'doc': doc}) }}
{%- endif -%}
</footer>