Label show provider
This commit is contained in:
parent
65fd5e2c8f
commit
bc5940b036
|
@ -12,7 +12,7 @@
|
|||
<div class="data">
|
||||
<div class="header">{{item.name}}</div>
|
||||
<div class="color">{{tags.color}}</div>
|
||||
<div class="producer">{{tags.producer}}</div>
|
||||
<div class="producer">{{tags.provider}}</div>
|
||||
<div class="details">
|
||||
<div class="package">
|
||||
<div class="packing">{{packing()}}</div>
|
||||
|
|
|
@ -3,9 +3,12 @@ SELECT
|
|||
i.name,
|
||||
i.stems,
|
||||
i.size,
|
||||
b.packing
|
||||
b.packing,
|
||||
p.name as 'producer'
|
||||
FROM vn.item i
|
||||
JOIN cache.last_buy clb ON clb.item_id = i.id
|
||||
JOIN vn.buy b ON b.id = clb.buy_id
|
||||
JOIN vn.entry e ON e.id = b.entryFk
|
||||
JOIN vn.producer p ON p.id = i.producerFk
|
||||
|
||||
WHERE i.id = ? AND clb.warehouse_id = ?
|
Loading…
Reference in New Issue