<?xml version="1.0"?>
<t t-name="account_reports.journal_report_pdf_export_main">
        <html>
            <head>
                 <base t-att-href="base_url"/>
                 <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
                 <t t-call-assets="account_reports.assets_pdf_export" t-js="False" t-autoprefix="true"/>
             </head>
            <body t-att-dir="env['res.lang']._get_data(code=lang or env.user.lang).direction or 'ltr'">
                <div t-att-class="options['css_custom_class']">
                    <header>
                        <div class="row align-items-center">
                            <div class="col-4 o_header_font">
                                 <t t-call="account_reports.company_information"/>
                            </div>
                            <div class="col-8 text-end">
                                 <div class="o_title">
                                    <t t-if="report.filter_show_draft and options['all_entries']">[Draft]</t>
                                    <t t-out="report.name"/>
                                </div>
                                <div class="o_subtitle">
                                    <t t-out="options['date']['date_from']"/> - <t t-out="options['date']['date_to']"/>
                                </div>
                            </div>
                        </div>
                    </header>

                    <!-- Journal entries -->
                    <t t-foreach="document_data['journals_vals']" t-as="journal_vals">
                        <section style="page-break-after: always;">
                            <div class="o_section_title">
                                <t t-out="journal_vals.get('name')"/>
                            </div>
                            <div class="d-flex align-items-start">
                                <t t-call="account_reports.journal_report_pdf_body_default"/>
                            </div>

                            <t t-if="journal_vals.get('tax_summary')">
                                <t t-call="account_reports.pdf_journal_report_taxes_summary">
                                    <t t-set="tax_summary" t-value="journal_vals['tax_summary']"/>
                                </t>
                            </t>
                        </section>
                    </t>

                    <section t-if="document_data.get('global_tax_summary')">
                        <div class="o_section_title">
                            Global Tax Summary
                        </div>
                        <t t-call="account_reports.pdf_journal_report_taxes_summary">
                            <t t-set="tax_summary" t-value="document_data['global_tax_summary']"/>
                        </t>
                    </section>
                </div>
            </body>
        </html>
    </t>

    