refactor(sales): ticket sales now shows item.subName
This commit is contained in:
parent
c971d3ee01
commit
23ba5657c5
|
@ -35,6 +35,7 @@ module.exports = Self => {
|
|||
fields: [
|
||||
'id',
|
||||
'name',
|
||||
'subName',
|
||||
'itemPackingTypeFk',
|
||||
'tag5',
|
||||
'value5',
|
||||
|
|
|
@ -157,12 +157,16 @@
|
|||
</vn-input-number>
|
||||
</field>
|
||||
</vn-td-editable>
|
||||
<vn-td-editable vn-fetched-tags expand disabled="!sale.id || !$ctrl.isEditable">
|
||||
<vn-td-editable vn-fetched-tags disabled="!sale.id || !$ctrl.isEditable">
|
||||
<text>
|
||||
<vn-one title="{{sale.concept}}">{{sale.concept}}</vn-one>
|
||||
<vn-one ng-if="::sale.subName">
|
||||
<h3 title="{{::sale.subName}}">{{::sale.subName}}</h3>
|
||||
</vn-one>
|
||||
<div>
|
||||
<vn-one title="{{sale.concept}}">{{sale.concept}}</vn-one>
|
||||
<vn-one
|
||||
ng-if="::sale.item.subName"
|
||||
title="{{::sale.item.subName}}">
|
||||
<h3>{{::sale.item.subName}}</h3>
|
||||
</vn-one>
|
||||
</div>
|
||||
<vn-fetched-tags
|
||||
max-length="6"
|
||||
item="::sale.item"
|
||||
|
|
|
@ -24,20 +24,20 @@ vn-ticket-sale {
|
|||
}
|
||||
}
|
||||
vn-td-editable[vn-fetched-tags] {
|
||||
& text {
|
||||
max-width: 430px;
|
||||
min-width: 150px;
|
||||
& vn-one {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
& vn-one:nth-child(2) h3 {
|
||||
color: $color-font-secondary;
|
||||
text-transform: uppercase;
|
||||
line-height: initial;
|
||||
font-size: 0.75rem
|
||||
}
|
||||
& div {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
& vn-one {
|
||||
min-width: 200px;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
& text vn-one:nth-child(2) h3 {
|
||||
color: $color-font-secondary;
|
||||
text-transform: uppercase;
|
||||
line-height: initial;
|
||||
font-size: 0.75rem
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue