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

90 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html>
<table v-for="buy in buys" style="break-before: page">
<tbody>
<tr>
<td colspan="2">
<div id="variant" class="section">
<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.origin}}
</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">Und. venta:</span>
{{buy.stems}}
</div>
</td>
</tr>
<tr>
<td colspan="3" id="barcode">
<div v-html="getBarcode(buy.id)"></div>
<span>{{buy.id}}</span>
</td>
</tr>
<tr>
<td colspan="3">
<div id="producer" class="section">
<span class="lbl">Productor:</span>
{{buy.producer}}
</div>
</td>
</tr>
<tr>
<td colspan="3">
<div class="flex-container">
<div class="flex-item" id="leftBox">
<span class="lbl">Control:</span>
06/11
</div>
<div class="flex-item">
<span class="lbl">Caja nº:</span>
{{`${buy.labelNum} / ${maxLabelNum}`}}
</div>
</div>
</td>
</tr>
</tbody>
</table>
</html>