feat(item.summary): add description
gitea/salix/pipeline/head There was a failure building this commit Details

This commit is contained in:
Vicent Llopis 2022-06-22 14:30:25 +02:00
parent f7d64e89ab
commit 2c721867fc
2 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1 @@
ALTER TABLE `vn`.`item` MODIFY COLUMN description varchar(512) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL NULL;

View File

@ -117,6 +117,23 @@
value="{{tag.value}}">
</vn-label-value>
</vn-one>
<vn-one name="description">
<h4 ng-show="$ctrl.isBuyer">
<a
ui-sref="item.card.basicData({id:$ctrl.item.id})"
target="_self">
<span translate vn-tooltip="Go to">Description</span>
</a>
</h4>
<h4
translate
ng-show="!$ctrl.isBuyer">
Description
</h4>
<p>
{{$ctrl.summary.item.description}}
</p>
</vn-one>
<vn-one name="tax">
<h4 ng-show="$ctrl.isBuyer || $ctrl.isAdministrative">
<a