Merge pull request 'Add column multiplier on item section' (#512) from 2721-Add_column_stem_multiplier into dev
gitea/salix/pipeline/head This commit looks good Details

Reviewed-on: #512
Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
Jorge Benedito 2021-01-18 11:00:28 +00:00
commit 3b5565f0b6
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"