Cambiado ticketTracking por tracking CR JUAN

This commit is contained in:
gerard 2018-05-08 09:40:37 +02:00
parent b37dbfb9f7
commit a9ade07aa0
5 changed files with 5 additions and 5 deletions

View File

@ -45,7 +45,7 @@
<td translate>{{::ticket.shipped | date:'HH:MM'}}</td>
<td translate>{{::ticket.nickname}}</td>
<td translate>{{::ticket.address.province.name}}</td>
<td translate>{{::ticket.ticketTracking.state.name}}</td>
<td translate>{{::ticket.tracking.state.name}}</td>
<td translate>{{::ticket.agencyMode.name}}</td>
<td translate>{{::ticket.warehouse.name}}</td>
<td number translate>{{::ticket.refFk | dashIfEmpty}}</td>

View File

@ -6,7 +6,7 @@
<vn-horizontal class="ticketSummary__data">
<vn-one>
<vn-label-value label="State"
value="{{$ctrl.summary.ticketTracking.state.name}}">
value="{{$ctrl.summary.tracking.state.name}}">
</vn-label-value>
<vn-label-value label="Comercial Name"
value="{{$ctrl.summary.client.salesPerson.firstName}} {{$ctrl.summary.client.salesPerson.name}}">

View File

@ -30,7 +30,7 @@ module.exports = Self => {
fields: ['name']
}
}, {
relation: 'ticketTracking',
relation: 'tracking',
scope: {
fields: ['stateFk'],
include: {

View File

@ -57,7 +57,7 @@ module.exports = Self => {
}
},
{
relation: 'ticketTracking',
relation: 'tracking',
scope: {
fields: ['stateFk'],
include: {

View File

@ -77,7 +77,7 @@
"model": "TicketPackaging",
"foreignKey": "ticketFk"
},
"ticketTracking": {
"tracking": {
"type": "hasOne",
"model": "TicketTracking",
"foreignKey": "ticketFk"