<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <!-- Stock move pdf report template -->
    <template id="report_stock_move">
        <t t-call="web.html_container">
            <div class="article">
                <center>
                    <h2>STOCK MOVE REPORT</h2>
                </center>
                <br/>
                <table class="table">
                    <div class="header">
                        <div class="row text-left"
                             style="border-top: 1px solid black;">
                            <div class="col-xs-3 col-xs-offset-9 text-right">
                                <ul class="list-inline"
                                    style="margin-top:10px;">
                                    <li>
                                        <span class="page"/>
                                        /
                                        <span class="topage"/>
                                    </li>
                                </ul>
                                <br/>
                                <div>
                                    <span class="text-left"
                                          style="color:black;"
                                          t-esc="company_name"/>
                                    <br/>
                                    <span class="text-left"
                                          style="color:black;"
                                          t-esc="company_street"/>
                                    <br/>
                                    <span class="text-left"
                                          style="color:black;"
                                          t-esc="state"/>
                                    <span class="text-left"
                                          style="color:black;"
                                          t-esc="country"/>
                                    <br/>
                                    <span class="text-left"
                                          style="color:black;"
                                          t-esc="company_email"/>
                                    <br/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <thead>
                        <tr>
                            <th>Date</th>
                            <th>Reference</th>
                            <th>Product</th>
                            <th>Location</th>
                            <th>Quantity</th>
                            <th>Company</th>
                            <th>status</th>
                        </tr>
                    </thead>
                    <tbody>
                        <t t-foreach="stock_move" t-as="doc">
                            <tr>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="doc['date']"/>
                                </td>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="doc['reference']"/>
                                </td>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="doc['product_name']"/>
                                </td>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="doc['complete_name']"/>
                                </td>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="doc['product_uom_qty']"/>
                                </td>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="doc['name']"/>
                                </td>
                                <td class="text-center"
                                    style="width: 15%">
                                    <span t-esc="status[doc['state']]"/>
                                </td>
                            </tr>
                        </t>
                    </tbody>
                </table>
            </div>
        </t>
    </template>
</odoo>
