hex color now displayed on catalog
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
270e665291
commit
42abeecede
|
@ -109,11 +109,11 @@ module.exports = Self => {
|
|||
w.lastName AS lastName,
|
||||
w.firstName,
|
||||
tci.priceKg,
|
||||
vn.ink.name AS inkName
|
||||
ink.hex
|
||||
FROM tmp.ticketCalculateItem tci
|
||||
JOIN vn.item i ON i.id = tci.itemFk
|
||||
JOIN vn.itemType it ON it.id = i.typeFk
|
||||
LEFT JOIN vn.ink ON ink.id = i.inkFk
|
||||
JOIN vn.ink ON ink.id = i.inkFk
|
||||
JOIN vn.worker w on w.id = it.workerFk`);
|
||||
|
||||
// Apply order by tag
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
<section ng-repeat="item in $ctrl.model.data" class="product">
|
||||
<vn-card>
|
||||
<div class="image">
|
||||
<div ng-if="::item.inkName != null" class="item-color-background">
|
||||
<div class="item-color" style="background-color: {{::item.inkName}}"></div>
|
||||
<div ng-if="::item.hex != null" class="item-color-background">
|
||||
<div class="item-color" style="background-color: #{{::item.hex}}"></div>
|
||||
</div>
|
||||
<img
|
||||
ng-src="{{::$root.imagePath}}/catalog/200x200/{{::item.image}}"
|
||||
|
|
Loading…
Reference in New Issue