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

34 lines
1.6 KiB
HTML
Raw Normal View History

2022-11-29 07:22:32 +00:00
<!DOCTYPE html>
<html>
<body>
<table v-for="labelData in labelsData" style="break-before: page">
<tbody>
<tr>
2022-11-30 09:52:52 +00:00
<td rowspan="6"><span id="vertical" class="ellipsize">{{getVertical(labelData)}}</span></td>
2022-11-29 10:56:05 +00:00
<td id="ticketFk">
{{labelData.clientFk ? `${labelData.ticketFk} « ${labelData.clientFk}` : labelData.ticketFk}}
</td>
2022-11-30 07:18:37 +00:00
<td colspan="2" id="shipped">{{labelData.shipped || '---'}}</td>
2022-11-29 07:22:32 +00:00
</tr>
<tr>
<td rowspan="3"><div v-html="getBarcode(labelData.ticketFk)" id="barcode"></div></td>
<td id="outline" class="ellipsize">{{labelData.workerCode || '---'}}</td>
2022-11-29 07:22:32 +00:00
</tr>
<tr>
<td id="outline" class="ellipsize">{{labelCount || labelData.labelCount || 0}}</td>
2022-11-29 07:22:32 +00:00
</tr>
<tr>
<td id="outline" class="ellipsize">{{labelData.code == 'V' ? (labelData.size || 0) + 'cm' : (labelData.volume || 0) + 'm³'}}</td>
2022-11-29 07:22:32 +00:00
</tr>
<tr>
2023-01-13 07:44:58 +00:00
<td><div id="agencyDescripton" class="ellipsize">{{getAgencyDescripton(labelData)}}</div></td>
2022-11-30 07:18:37 +00:00
<td id="bold">{{labelData.lineCount || 0}}</td>
2022-11-29 07:22:32 +00:00
</tr>
<tr>
<td id="nickname" class="ellipsize">{{labelData.nickName ? labelData.nickName.toUpperCase() : '---'}}</td>
2022-11-30 07:18:37 +00:00
<td id="bold">{{labelData.shippedHour || labelData.zoneHour}}</td>
2022-11-29 07:22:32 +00:00
</tr>
</tbody>
</table>
</body>
</html>