This commit is contained in:
Gerard 2019-01-23 14:12:05 +01:00
parent 61bd8740ce
commit cd28d559c4
4 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,5 @@
<vn-horizontal>
<vn-one>{{::$ctrl.item.name}}</vn-one>
<vn-one>{{::$ctrl.title}}</vn-one>
<vn-auto>
<section
class="inline-tag ellipsize"

View File

@ -49,6 +49,7 @@ ngModule.component('vnFetchedTags', {
controller: FetchedTags,
bindings: {
maxLength: '<',
item: '<'
item: '<',
title: '<'
}
});

View File

@ -102,7 +102,7 @@
{{::sale.itemFk | zeroFill:6}}
</span>
</vn-td>
<vn-td><vn-fetched-tags max-length="6" item="sale.tags"/></vn-td>
<vn-td><vn-fetched-tags max-length="6" item="sale.tags" title="sale.concept"/></vn-td>
<vn-td ng-if="!$ctrl.isEditable" number>{{sale.quantity}}</vn-td>
<vn-td ng-if="$ctrl.isEditable" number>
<vn-textfield

View File

@ -88,7 +88,7 @@
{{sale.itemFk | zeroFill:6}}
</span>
</td>
<td><vn-fetched-tags max-length="6" item="sale.item"/></td>
<td><vn-fetched-tags max-length="6" item="sale.item" title="sale.concept"/></td>
<td number>{{::sale.quantity}}</td>
<td number>{{::sale.price | currency:'€':2}}</td>
<td number>{{::sale.discount}} %</td>