Add column multiplier on item section #512

Merged
Ghost merged 2 commits from 2721-Add_column_stem_multiplier into dev 2021-01-18 11:00:32 +00:00
3 changed files with 7 additions and 1 deletions

View File

@ -119,6 +119,7 @@ module.exports = Self => {
ori.code AS origin, ori.code AS origin,
ic.name AS category, ic.name AS category,
i.density, i.density,
i.stemMultiplier,
b.grouping, b.grouping,
b.packing, b.packing,
itn.code AS niche, @visibleCalc itn.code AS niche, @visibleCalc

View File

@ -65,7 +65,10 @@
"type": "Number", "type": "Number",
"description": "Density" "description": "Density"
}, },
"image": { "stemMultiplier": {
"type": "Number",
"description": "Multiplier"
},"image": {
"type": "String", "type": "String",
"description": "Image" "description": "Image"
}, },

View File

@ -25,6 +25,7 @@
<vn-th field="origin" shrink>Origin</vn-th> <vn-th field="origin" shrink>Origin</vn-th>
<vn-th field="salesperson" shrink>Buyer</vn-th> <vn-th field="salesperson" shrink>Buyer</vn-th>
<vn-th field="density" shrink>Density</vn-th> <vn-th field="density" shrink>Density</vn-th>
<vn-th field="stemMultiplier" shrink>Multiplier</vn-th>
<vn-th field="active" shrink>Active</vn-th> <vn-th field="active" shrink>Active</vn-th>
<vn-th></vn-th> <vn-th></vn-th>
</vn-tr> </vn-tr>
@ -78,6 +79,7 @@
</span> </span>
</vn-td> </vn-td>
<vn-td shrink>{{::item.density}}</vn-td> <vn-td shrink>{{::item.density}}</vn-td>
<vn-td shrink >{{::item.stemMultiplier}}</vn-td>
<vn-td shrink> <vn-td shrink>
<vn-check <vn-check
disabled="true" disabled="true"