salix/print/templates/reports/entry-label/entry-label.html

90 lines
2.5 KiB
HTML

<!DOCTYPE html>
<html>
<table v-for="buy in buys" style="break-before: page">
<tbody>
<tr>
<td colspan="2">
<div id="variant" class="cell">
<span class="lbl">Variedad</span>
{{buy.name}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">Medida</span>
{{buy.size}}
</div>
</td>
</tr>
<tr>
<td>
<div class="cell">
<span class="lbl">Categoría</span>
{{buy.category}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">Color</span>
{{buy.color}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">Origen</span>
{{buy.code}}
</div>
</td>
</tr>
<tr>
<td>
<div class="cell">
<span class="lbl">Packing</span>
{{buy.packing}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">Grouping</span>
{{buy.grouping}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">Ud. venta</span>
{{buy.stems}}
</div>
</td>
</tr>
<tr>
<td colspan="3" class="barcode">
<div v-html="getBarcode(buy.id)"></div>
<span>{{buy.id}}</span>
</td>
</tr>
<tr>
<td colspan="3">
<div id="producer" class="cell">
<span class="lbl">Productor</span>
{{buy.producer}}
</div>
</td>
</tr>
<tr>
<td colspan="2">
<div class="cell">
<span class="lbl">Control</span>
{{`${weekNum} / ${dayNum}`}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">Caja nº</span>
{{`${buy.labelNum} / ${maxLabelNum}`}}
</div>
</td>
</tr>
</tbody>
</table>
</html>