diff --git a/db/changes/10451-april/00-ticket_doRefund.sql b/db/changes/10470-family/00-ticket_doRefund.sql similarity index 98% rename from db/changes/10451-april/00-ticket_doRefund.sql rename to db/changes/10470-family/00-ticket_doRefund.sql index 5725b4fe5..f4ecf29d7 100644 --- a/db/changes/10451-april/00-ticket_doRefund.sql +++ b/db/changes/10470-family/00-ticket_doRefund.sql @@ -1,4 +1,4 @@ -DROP PROCEDURE IF EXISTS vn.ticket_doRefund; +DROP PROCEDURE IF EXISTS `vn`.`ticket_doRefund`; DELIMITER $$ $$ diff --git a/modules/claim/front/summary/index.html b/modules/claim/front/summary/index.html index 282c55b00..5d90da516 100644 --- a/modules/claim/front/summary/index.html +++ b/modules/claim/front/summary/index.html @@ -1,5 +1,6 @@ @@ -106,8 +107,13 @@
+ zoom-image="{{$ctrl.getImagePath(photo.dmsFk)}}" + ng-if="photo.dms.contentType != 'video/mp4'">
+
diff --git a/modules/claim/front/summary/index.js b/modules/claim/front/summary/index.js index 721f51846..7cd4805e9 100644 --- a/modules/claim/front/summary/index.js +++ b/modules/claim/front/summary/index.js @@ -6,6 +6,13 @@ class Controller extends Summary { constructor($element, $, vnFile) { super($element, $); this.vnFile = vnFile; + this.filter = { + include: [ + { + relation: 'dms' + } + ] + }; } $onChanges() { diff --git a/modules/claim/front/summary/style.scss b/modules/claim/front/summary/style.scss index e81213658..5b4e32f7a 100644 --- a/modules/claim/front/summary/style.scss +++ b/modules/claim/front/summary/style.scss @@ -10,4 +10,19 @@ vn-claim-summary { vn-textarea *{ height: 80px; } + + .video { + width: 100%; + height: 100%; + object-fit: cover; + cursor: pointer; + box-shadow: 0 2px 2px 0 rgba(0,0,0,.14), + 0 3px 1px -2px rgba(0,0,0,.2), + 0 1px 5px 0 rgba(0,0,0,.12); + border: 2px solid transparent; + + } + .video:hover { + border: 2px solid $color-primary + } } \ No newline at end of file