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

122 lines
2.6 KiB
HTML
Raw Normal View History

2024-10-21 12:57:55 +00:00
<!DOCTYPE html>
<html>
<body v-for="buy in buys" style="break-before: page">
2024-10-21 12:57:55 +00:00
<table class="leftTable">
<tr>
<td>
<img v-bind:src="qr"/>
</td>
<td>
<img v-bind:src="qr"/>
</td>
</tr>
<tr>
2024-11-27 09:40:47 +00:00
<td colspan="2" class="sm-txt">
{{formatNumber(buy.buyFk)}}
2024-10-21 12:57:55 +00:00
</td>
</tr>
<tr>
<td>
<img v-bind:src="qr"/>
</td>
<td>
<img v-bind:src="qr"/>
</td>
</tr>
</table>
<table class="rightTable">
<tr>
<td colspan="3" class="lg-width black-bg center bold xl-txt padding">
<div class="overflow-line">
2024-11-27 09:40:47 +00:00
{{formatNumber(buy.itemFk)}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
<tr>
<td colspan="2" class="black-bg center bold md-txt md-width md-height">
<div class="overflow-multiline">
{{buy.item}}
2024-10-21 12:57:55 +00:00
</div>
</td>
<td class="xs-width black-bg center bold xl-txt">
<div class="overflow-line">
{{buy.size}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
<tr>
<td class="sm-width">
<div class="overflow-line">
<i>Color:</i> <b>{{buy.inkFk}}</b>
2024-10-21 12:57:55 +00:00
</div>
</td>
<td rowspan="2" class="xs-width center md-txt">
<div class="overflow-line cell">
{{packing || buy.packing}}
2024-10-21 12:57:55 +00:00
</div>
</td>
<td rowspan="2" class="xs-width center md-txt">
<div class="overflow-line cell">
{{buy.stems}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
<tr>
<td class="sm-width">
<div class="overflow-line">
<i>Origen:</i> {{buy.origin}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
<tr>
<td colspan="2" class="md-width">
<div class="overflow-line">
<i>Productor:</i> {{buy.producerName || buy.producerFk}}
2024-10-21 12:57:55 +00:00
</div>
</td>
<td class="center xs-width xs-txt">
<div v-if="buy.isLaid && typeId === 'buy'" class="overflow-line black-bg bold">
{{'LAID'}}
</div>
2024-11-27 09:40:47 +00:00
<div v-else class="overflow-line xs-txt">
</div>
</td>
2024-10-21 12:57:55 +00:00
</tr>
<tr>
<td class="sm-width">
<div class="overflow-line">
<i>Comprador:</i> {{buy.buyerName}}
2024-10-21 12:57:55 +00:00
</div>
</td>
<td rowspan="2" class="xs-width">
<div class="overflow-line">
<i>F:</i> {{date}}
</div>
</td>
<td rowspan="2" class="xs-width center cursive bold md-txt">
<div class="overflow-line">
{{`${buy.labelNum}/${buy.quantity / (packing || buy.packing)}`}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
<tr>
<td class="sm-width">
<div class="overflow-line">
2024-11-27 09:40:47 +00:00
<i>Entrada:</i> {{formatNumber(buy.entryFk)}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
<tr>
<td colspan="3" class="lg-width center cursive bold">
<div class="overflow-line">
{{
(buy.longName && buy.size && buy.subName)
? `${buy.longName} ${buy.size} ${buy.subName}`
: buy.comment
}}
2024-10-21 12:57:55 +00:00
</div>
</td>
</tr>
</table>
</body>
</html>