4213-item.summary #1011

Merged
joan merged 5 commits from 4213-item.summary into dev 2022-07-01 09:25:07 +00:00
2 changed files with 18 additions and 0 deletions
Showing only changes of commit 2c721867fc - Show all commits

View File

@ -0,0 +1 @@
ALTER TABLE `vn`.`item` MODIFY COLUMN description varchar(512) CHARACTER SET utf8 COLLATE utf8_unicode_ci DEFAULT NULL NULL;
vicent marked this conversation as resolved Outdated
Outdated
Review

Puedes utilizar tipo text, en vez de un varchar()

Puedes utilizar tipo text, en vez de un varchar()

View File

@ -117,6 +117,23 @@
value="{{tag.value}}">
</vn-label-value>
</vn-one>
<vn-one name="description">
vicent marked this conversation as resolved Outdated
Outdated
Review

Quizas estaría bien ocultar el bloque si no tiene una descripción, para evitar que se muestre un encabezado pero sin contenido.

Quizas estaría bien ocultar el bloque si no tiene una descripción, para evitar que se muestre un encabezado pero sin contenido.
<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