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-tool-bar margin-medium-bottom>
|
||||||
<vn-button
|
<vn-button
|
||||||
vn-acl="salesAssistant"
|
vn-acl="salesAssistant"
|
||||||
label="Import sales"
|
label="Import claim"
|
||||||
ng-click="$ctrl.importToNewRefundTicket()"
|
ng-click="$ctrl.importToNewRefundTicket()"
|
||||||
vn-tooltip="Imports sales details">
|
vn-tooltip="Imports claim details">
|
||||||
</vn-button>
|
</vn-button>
|
||||||
</vn-tool-bar>
|
</vn-tool-bar>
|
||||||
</vn-horizontal>
|
</vn-horizontal>
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
Destination: Destino
|
Destination: Destino
|
||||||
Action: Actuaciones
|
Action: Actuaciones
|
||||||
Total claimed: Total Reclamado
|
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 => {
|
module.exports = Self => {
|
||||||
Self.remoteMethodCtx('changeState', {
|
Self.remoteMethodCtx('changeState', {
|
|
@ -1,5 +1,5 @@
|
||||||
module.exports = function(Self) {
|
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'});
|
Self.validatesPresenceOf('stateFk', {message: 'State cannot be blank'});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue