amends for #655 claim action
This commit is contained in:
parent
07d5226169
commit
504096d702
|
@ -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>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
Destination: Destino
|
||||
Action: Actuaciones
|
||||
Total claimed: Total Reclamado
|
||||
Import claim: Importar reclamacion
|
||||
Imports claim details: Importa detalles de la reclamacion
|
|
@ -1,4 +1,4 @@
|
|||
const UserError = require('vn-loopback/common/helpers').UserError;
|
||||
const UserError = require('../../helpers').UserError;
|
||||
|
||||
module.exports = Self => {
|
||||
Self.remoteMethodCtx('changeState', {
|
|
@ -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'});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue