flectra/addons/point_of_sale/views/report_userlabel.xml

28 lines
1.0 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2018-01-16 11:34:37 +01:00
<flectra>
<template id="report_userlabel">
<t t-call="web.basic_layout">
<div class="page">
<t t-foreach="docs" t-as="user">
<div class="col-xs-6 mb92">
<table class="table table-bordered">
<thead>
<tr>
<th class="col-xs-4 danger"/>
<th class="active"/>
</tr>
</thead>
<tbody>
<tr>
<td><img t-if="user.barcode" t-att-src="'/report/barcode/?type=%s&amp;value=%s&amp;width=%s&amp;height=%s' % ('EAN13', user.barcode, 300, 50)" style="width:100%;height:35%;"/></td>
<td><strong t-field="user.name"/></td>
</tr>
</tbody>
</table>
</div>
</t>
</div>
</t>
</template>
2018-01-16 11:34:37 +01:00
</flectra>