Debian Codegraph @

addons/pos_loyalty/static/src/portal/loyalty_card_dialog.xml

raw
1 <templates>
2 <t t-inherit="loyalty.portal_loyalty_card_dialog" t-inherit-mode="extension">
3 <div name="history_lines" position="before">
4 <div
5 t-if="props.program.program_type == 'loyalty'"
6 class="d-flex align-items-center flex-column"
7 >
8 <img
9 t-att-src="`/report/barcode/Code128/${props.card.code}?&amp;width=350&amp;height=100`"
10 style="width:400px;height:100px"
11 />
12 <span t-out="props.card.code" class="fs-5"/>
13 </div>
14 </div>
15 </t>
16 </templates>