feat: refs #7641 fine tunning

This commit is contained in:
Jorge Penadés 2024-11-14 15:29:18 +01:00
parent 47ae1b59c1
commit c4375b2505
2 changed files with 9 additions and 2 deletions

View File

@ -67,9 +67,14 @@
<div> <div>
<div class="nowrap">Color<strong>→ Lavanda</strong></div> <div class="nowrap">Color<strong>→ Lavanda</strong></div>
<div class="nowrap">Altura<strong>→ 100cm</strong></div> <div class="nowrap">Altura<strong>→ 100cm</strong></div>
<div class="nowrap" v-if="buy.value5">{{buy.tag5}}<strong>→ {{buy.value5}}</strong></div>
<div class="nowrap" v-if="buy.value6">{{buy.tag6}}<strong>→ {{buy.value6}}</strong></div>
</div> </div>
<div> <div>
<span class="nowrap">label<strong>→ valor</strong></span> <div class="nowrap">Color<strong>→ Lavanda</strong></div>
<div class="nowrap">Altura<strong>→ 100cm</strong></div>
<div class="nowrap" v-if="buy.value7">{{buy.tag7}}<strong>→ {{buy.value7}}</strong></div>
<div class="nowrap" v-if="buy.value8">{{buy.tag8}}<strong>→ {{buy.value8}}</strong></div>
</div> </div>
</td> </td>
<td width="5%" class="number">{{buy.quantity | number($i18n.locale)}}</td> <td width="5%" class="number">{{buy.quantity | number($i18n.locale)}}</td>

View File

@ -10,7 +10,9 @@ SELECT b.itemFk,
i.tag6, i.tag6,
i.value6, i.value6,
i.tag7, i.tag7,
i.value7 i.value7,
i.tag8,
i.value8
FROM buy b FROM buy b
JOIN item i ON i.id = b.itemFk JOIN item i ON i.id = b.itemFk
LEFT JOIN item i2 ON i2.id = b.itemOriginalFk LEFT JOIN item i2 ON i2.id = b.itemOriginalFk