diff --git a/modules/claim/front/routes.json b/modules/claim/front/routes.json
index 885328dc4..892e21635 100644
--- a/modules/claim/front/routes.json
+++ b/modules/claim/front/routes.json
@@ -84,7 +84,7 @@
"url" : "/index",
"state": "claim.card.dms.index",
"component": "vn-claim-dms-index",
- "description": "Pictures",
+ "description": "Photos",
"params": {
"claim": "$ctrl.claim"
}
diff --git a/modules/claim/front/summary/index.html b/modules/claim/front/summary/index.html
index 2d58364af..7877987d1 100644
--- a/modules/claim/front/summary/index.html
+++ b/modules/claim/front/summary/index.html
@@ -1,3 +1,9 @@
+
+
{{$ctrl.summary.claim.id}} - {{$ctrl.summary.claim.client.name}}
@@ -73,6 +79,18 @@
+
+ Photos
+
+
+
+
+
+
+
+
Development
diff --git a/modules/claim/front/summary/index.js b/modules/claim/front/summary/index.js
index 5741f2c06..257be55e0 100644
--- a/modules/claim/front/summary/index.js
+++ b/modules/claim/front/summary/index.js
@@ -1,9 +1,12 @@
import ngModule from '../module';
+import './style.scss';
class Controller {
- constructor($scope, $http) {
+ constructor($scope, $http, $stateParams, vnToken) {
this.$http = $http;
this.$ = $scope;
+ this.$stateParams = $stateParams;
+ this.accessToken = vnToken.token;
}
getSummary() {
@@ -36,7 +39,7 @@ class Controller {
}
}
-Controller.$inject = ['$scope', '$http'];
+Controller.$inject = ['$scope', '$http', '$stateParams', 'vnToken'];
ngModule.component('vnClaimSummary', {
template: require('./index.html'),
diff --git a/modules/claim/front/summary/style.scss b/modules/claim/front/summary/style.scss
new file mode 100644
index 000000000..778d91d0e
--- /dev/null
+++ b/modules/claim/front/summary/style.scss
@@ -0,0 +1,22 @@
+@import "./variables";
+
+.photo-list {
+ align-items: flex-start;
+ flex-wrap: wrap;
+
+ .photo {
+ box-sizing: border-box;
+ padding: $pad-small;
+ width: 33%;
+
+ .image {
+ border: 2px solid $color-main;
+ border-radius: 0.5em;
+ overflow: hidden;
+
+ img {
+ max-width: 100%
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/modules/ticket/front/locale/es.yml b/modules/ticket/front/locale/es.yml
index e796407d1..d90c7c707 100644
--- a/modules/ticket/front/locale/es.yml
+++ b/modules/ticket/front/locale/es.yml
@@ -77,5 +77,5 @@ Tracking: Estados
Sale checked: Control clientes
Components: Componentes
Sale tracking: LĂneas preparadas
-Pictures: Fotos
+Photos: Fotos
Log: Historial
\ No newline at end of file