salix/print/templates/reports/buy-label-supplier/buy-label-supplier.html

96 lines
2.8 KiB
HTML
Raw Normal View History

2024-06-28 10:57:27 +00:00
<!DOCTYPE html>
<html>
<table v-for="buy in buys" style="break-before: page">
<tbody>
<tr>
<td colspan="2">
2024-07-26 11:52:18 +00:00
<div class="cell one-third">
<span class="lbl">{{$t('variety')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.name}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">{{$t('size')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.size}}
</div>
</td>
</tr>
<tr>
<td>
<div class="cell">
<span class="lbl">{{$t('category')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.category}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">{{$t('color')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.color}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">{{$t('origin')}}</span>
2024-06-28 12:52:19 +00:00
{{buy.code}}
2024-06-28 10:57:27 +00:00
</div>
</td>
</tr>
<tr>
<td>
<div class="cell">
<span class="lbl">{{$t('packing')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.packing}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">{{$t('grouping')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.grouping}}
</div>
</td>
<td>
<div class="cell">
<span class="lbl">{{$t('saleUnit')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.stems}}
</div>
</td>
</tr>
<tr>
2024-06-28 12:52:19 +00:00
<td colspan="3" class="barcode">
2024-06-28 10:57:27 +00:00
<div v-html="getBarcode(buy.id)"></div>
<span>{{buy.itemFk}}</span>
2024-06-28 10:57:27 +00:00
</td>
</tr>
<tr>
2024-07-26 11:52:18 +00:00
<td colspan="2">
<div class="cell one-third">
<span class="lbl">{{$t('producer')}}</span>
2024-06-28 10:57:27 +00:00
{{buy.producer}}
</div>
</td>
2024-07-26 11:52:18 +00:00
<td>
2024-06-28 12:52:19 +00:00
<div class="cell">
<span class="lbl">{{$t('control')}}</span>
2024-07-01 06:00:27 +00:00
{{`${weekNum} / ${dayNum}`}}
2024-06-28 12:52:19 +00:00
</div>
2024-07-26 11:52:18 +00:00
</td>
</tr>
<tr>
<td colspan="2">
<div class="cell one-third">
<span class="lbl">{{$t('reference')}}</span>
{{buy.comment}}
</div>
2024-06-28 12:52:19 +00:00
</td>
<td>
<div class="cell">
<span class="lbl">{{$t('boxNum')}}</span>
{{`${buy.labelNum} / ${buy.maxLabelNum}`}}
2024-06-28 10:57:27 +00:00
</div>
</td>
</tr>
</tbody>
</table>
</html>