Display sequence for product alt codes

Might as well, for now..
This commit is contained in:
Lance Edgar 2016-11-09 16:59:08 -06:00
parent 130f0b4cdc
commit 43eb2f107f

View file

@ -150,12 +150,14 @@
<div class="grid full hoverable no-border"> <div class="grid full hoverable no-border">
<table> <table>
<thead> <thead>
<th>Seq</th>
<th>Code</th> <th>Code</th>
</thead> </thead>
<tbody> <tbody>
% for i, code in enumerate(product.codes, 1): % for i, code in enumerate(product._codes, 1):
<tr class="${'odd' if i % 2 else 'even'}"> <tr class="${'odd' if i % 2 else 'even'}">
<td>${code}</td> <td>${code.ordinal}</td>
<td>${code.code}</td>
</tr> </tr>
% endfor % endfor
</tbody> </tbody>