<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">

    <t t-name="point_of_sale.CashMoveReceipt" owl="1">
        <div class="pos-receipt">
            <t t-if="_receipt.company.logo">
                <img class="pos-receipt-logo" t-att-src="_receipt.company.logo" alt="Logo" />
                <br />
            </t>
            <t t-if="!_receipt.company.logo">
                <h2 class="pos-receipt-center-align">
                    <t t-esc="_receipt.company.name" />
                </h2>
                <br />
            </t>
            <div class="pos-receipt-contact">
                <t t-if="_receipt.company.contact_address">
                    <div>
                        <t t-esc="_receipt.company.contact_address" />
                    </div>
                </t>
                <t t-if="_receipt.company.phone">
                    <div>Tel:
                        <t t-esc="_receipt.company.phone" />
                    </div>
                </t>
                <t t-if="_receipt.company.vat">
                    <div>VAT:
                        <t t-esc="_receipt.company.vat" />
                    </div>
                </t>
                <t t-if="_receipt.company.email">
                    <div>
                        <t t-esc="_receipt.company.email" />
                    </div>
                </t>
                <t t-if="_receipt.company.website">
                    <div>
                        <t t-esc="_receipt.company.website" />
                    </div>
                </t>
                <t t-if="_receipt.cashier">
                    <div class="cashier">
                        <div>--------------------------------</div>
                        <div>Done by
                            <t t-esc="_receipt.cashier.name" />
                        </div>
                    </div>
                </t>
            </div>
            <br />

            <div class="pos-receipt-center-align">
                CASH
                <t t-esc="_receipt.translatedType.toUpperCase()" />
            </div>
            <br />
            <div>
                AMOUNT
                <span t-esc="_receipt.formattedAmount" class="pos-receipt-right-align" />
            </div>
            <div>
                REASON
                <span t-esc="_receipt.reason" class="pos-receipt-right-align" />
            </div>
            <br />
            <div class="pos-receipt-order-data">
                <div><t t-esc="_receipt.date" /></div>
            </div>
        </div>
    </t>

</templates>
