This commit is contained in:
parent
2d4acd0f00
commit
cf7ee3d990
|
@ -22,7 +22,7 @@ labels AS (
|
|||
b.id,
|
||||
b.itemFk,
|
||||
p.name producer,
|
||||
IF(i2.id, i2.comment, i.comment) comment
|
||||
IFNULL(i2.comment, i.comment) comment
|
||||
FROM buy b
|
||||
JOIN item i ON i.id = b.itemFk
|
||||
LEFT JOIN producer p ON p.id = i.producerFk
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="font gray uppercase padding nowrap">{{$t('ref')}}</td>
|
||||
<th>{{entry.invoiceNumber || '---'}}</th>
|
||||
<th>{{entry.invoiceNumber | dashIfEmpty}}</th>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<td class="number">{{buy.stickers}}</td>
|
||||
<td width="5%" class="number">x</td>
|
||||
<td class="number">{{buy.packing}}</td>
|
||||
<td width="40%" class="nowrap">{{buy.itemName}}</td>
|
||||
<td width="40%" class="nowrap">{{buy.name}}</td>
|
||||
<td width="10%">{{buy.comment}}</td>
|
||||
<td width="10%" class="font light-gray tags">
|
||||
<span v-if="buy.value5" class="nowrap"><strong>{{buy.tag5}} → </strong>{{buy.value5}} </span>
|
||||
|
|
|
@ -3,8 +3,8 @@ SELECT b.itemFk,
|
|||
b.buyingValue,
|
||||
b.stickers,
|
||||
b.packing,
|
||||
i.name itemName,
|
||||
IF(i2.id, i2.comment, i.comment) comment,
|
||||
i.name,
|
||||
IFNULL(i2.comment, i.comment) comment,
|
||||
i.tag5,
|
||||
i.value5,
|
||||
i.tag6,
|
||||
|
|
Loading…
Reference in New Issue