amends for #655 claim action

This commit is contained in:
Carlos Jimenez 2018-09-27 09:50:31 +02:00
parent 07d5226169
commit 504096d702
5 changed files with 7 additions and 5 deletions

View File

@ -19,9 +19,9 @@
<vn-tool-bar margin-medium-bottom>
<vn-button
vn-acl="salesAssistant"
label="Import sales"
label="Import claim"
ng-click="$ctrl.importToNewRefundTicket()"
vn-tooltip="Imports sales details">
vn-tooltip="Imports claim details">
</vn-button>
</vn-tool-bar>
</vn-horizontal>

View File

@ -1,3 +1,5 @@
Destination: Destino
Action: Actuaciones
Total claimed: Total Reclamado
Total claimed: Total Reclamado
Import claim: Importar reclamacion
Imports claim details: Importa detalles de la reclamacion

View File

@ -1,4 +1,4 @@
const UserError = require('vn-loopback/common/helpers').UserError;
const UserError = require('../../helpers').UserError;
module.exports = Self => {
Self.remoteMethodCtx('changeState', {

View File

@ -1,5 +1,5 @@
module.exports = function(Self) {
require('../../../ticket/common/methods/ticket-tracking/changeState')(Self);
require('../methods/ticket-tracking/changeState')(Self);
Self.validatesPresenceOf('stateFk', {message: 'State cannot be blank'});
};