<commit_before><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 Tecnativa - <NAME>
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<!-- This manifest is signed by the courier when they take the packages -->
    <template id="gls_asm_manifest_report_view">
        <t t-call="web.basic_layout">
            <div style="font-size:12px;">
                <center>
                    <h3><strong>GLS MANIFEST</strong></h3>
                    <br />
                    <div class="text-left">
                        <table width="100%">
                            <tr>
                                <td width="50%">
                                    <div class="text-left">
                                        <table width="100%">
                                            <tr>
                                                <td colspan="2" />
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Company:</strong>
                                                </td>
                                                <td>
                                                    <span
                                                        t-esc="company_name"
                                                    />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" />
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Manifest Date:</strong>
                                                </td>
                                                <td>
                                                    <span
                                                        t-esc="date_from" t-options="{'widget': 'date'}"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2"/>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Date of printing</strong>
                                                </td>
                                                <td>
                                                    <span t-esc="datetime.datetime.now().strftime('%d/%m/%Y %H:%M')" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2"/>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Printed by</strong>
                                                </td>
                                                <td>
                                                    <span t-esc="user.name" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                                <td width="50%" style="text-align: right; border: 1px solid black; vertical-align: top; padding: 10px;">
                                    <span>
                                        <strong>Carrier Signature / Stamp</strong>
                                    </span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <br />
                    <t t-set="packages" t-value="len(deliveries)" />
                    <table class="table table-condensed" width="100%">
                        <tr>
                            <th width="10%" class="text-center">Ref.</th>
                            <th width="45%" class="text-left">Customer</th>
                            <th width="5%" class="text-center">ZIP Code</th>
                            <th width="30%" class="text-left">City</th>
                            <th width="5%" class="text-right">Weight</th>
                            <th width="5%" class="text-center">Packages</th>
                        </tr>
                        <t t-foreach="deliveries" t-as="delivery">
                            <tr>
                                <td class="text-center">
                                    <span t-esc="delivery.get('codexp')" />
                                </td>
                                <td class="text-left">
                                    <span t-esc="delivery.get('cliente')" />
                                </td>
                                <td class="text-center">
                                    <span t-esc="delivery.get('cp_dst')" />
                                </td><commit_msg>[FIX] delivery_gls_manifest: manifest destination name<commit_after><?xml version="1.0" encoding="utf-8"?>
<!-- Copyright 2020 Tecnativa - <NAME>
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
<!-- This manifest is signed by the courier when they take the packages -->
    <template id="gls_asm_manifest_report_view">
        <t t-call="web.basic_layout">
            <div style="font-size:12px;">
                <center>
                    <h3><strong>GLS MANIFEST</strong></h3>
                    <br />
                    <div class="text-left">
                        <table width="100%">
                            <tr>
                                <td width="50%">
                                    <div class="text-left">
                                        <table width="100%">
                                            <tr>
                                                <td colspan="2" />
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Company:</strong>
                                                </td>
                                                <td>
                                                    <span
                                                        t-esc="company_name"
                                                    />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2" />
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Manifest Date:</strong>
                                                </td>
                                                <td>
                                                    <span
                                                        t-esc="date_from" t-options="{'widget': 'date'}"/>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2"/>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Date of printing</strong>
                                                </td>
                                                <td>
                                                    <span t-esc="datetime.datetime.now().strftime('%d/%m/%Y %H:%M')" />
                                                </td>
                                            </tr>
                                            <tr>
                                                <td colspan="2"/>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <strong>Printed by</strong>
                                                </td>
                                                <td>
                                                    <span t-esc="user.name" />
                                                </td>
                                            </tr>
                                        </table>
                                    </div>
                                </td>
                                <td width="50%" style="text-align: right; border: 1px solid black; vertical-align: top; padding: 10px;">
                                    <span>
                                        <strong>Carrier Signature / Stamp</strong>
                                    </span>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <br />
                    <t t-set="packages" t-value="len(deliveries)" />
                    <table class="table table-condensed" width="100%">
                        <tr>
                            <th width="10%" class="text-center">Ref.</th>
                            <th width="45%" class="text-left">Customer</th>
                            <th width="5%" class="text-center">ZIP Code</th>
                            <th width="30%" class="text-left">City</th>
                            <th width="5%" class="text-right">Weight</th>
                            <th width="5%" class="text-center">Packages</th>
                        </tr>
                        <t t-foreach="deliveries" t-as="delivery">
                            <tr>
                                <td class="text-center">
                                    <span t-esc="delivery.get('codexp')" />
                                </td>
                                <td class="text-left">
                                    <span t-esc="delivery.get('nombre_dst')" />
                                </td>
                                <td class="text-center">
                                    <span t-esc="delivery.get('cp_dst')" />
                                </td>
{'fraction_non_alphanumeric': 0.09760336626417856, 'fraction_numerical': 0.007683863885839737, 'mean_word_length': 0.43722886814775863, 'pattern_counts': {'":': 0, '<': 219, '<?xml version=': 2, '>': 219, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 220, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7145350', 'n_tokens_mistral': 1913, 'n_tokens_neox': 1780, 'n_words': 357}