<?xml version="1.0" encoding="UTF-8"?>

<templates id="template">
    <t t-name="hr_expense.dashboard_list_header">
        <div class="o_expense_container position-sticky start-0 d-flex o_form_statusbar">
            <t t-foreach="expenses" t-as="expense">
                <div t-attf-class="o_expense_card o_arrow_button flex-grow-1 d-flex flex-column p-3 border-bottom text-center">
                    <span t-esc="render_monetary_field(expenses[expense]['amount'], expenses[expense]['currency'])" class="h2 m-0 text-odoo"/>
                    <b class="mx-2" t-esc="expenses[expense]['description']"/>
                </div>
                <div t-if="expense !== 'approved'" t-attf-class="o_expense_card o_arrow_button flex-grow-1 d-flex flex-column p-3 border-bottom text-center">
                    <i class="fa fa-angle-right fa-3x"/>
                </div>
            </t>
        </div>
    </t>
</templates>
