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

     <t t-name="pos_loyalty.PartnerLine" t-inherit="point_of_sale.PartnerLine" t-inherit-mode="extension" owl="1">
        <xpath expr="//td[hasclass('partner-line-balance')]" position="inside">
            <t t-set="_loyaltyCards" t-value="env.pos.getLoyaltyCards(props.partner)" />
            <t t-foreach="_loyaltyCards" t-as="_loyaltyCard" t-key="_loyaltyCard.id">
                <div class="pos-right-align">
                    <t t-esc="_getLoyaltyPointsRepr(_loyaltyCard)"/>
                </div>
            </t>
        </xpath>
    </t>

 </templates>
