Renombrado Chanel a ContactChannel

This commit is contained in:
nelo 2017-05-11 14:19:43 +02:00
parent 495e3b7c5e
commit 8ce3325f06
5 changed files with 7 additions and 7 deletions

View File

@ -29,8 +29,8 @@
label="Comercial">
</vn-autocomplete>
<vn-autocomplete vn-one
field="$ctrl.client.chanelFK"
url="/client/api/Chanels"
field="$ctrl.client.contactChannelFK"
url="/client/api/ContactChannels"
show-field="name"
value-field="id"
label="Canal">

View File

@ -4,7 +4,7 @@
<vn-horizontal ng-repeat="n in observation.observations" margin-small-bottom style="align-items: center;">
<vn-auto style="border-radius: .3em;" class="pad-small border-solid">
<div class="notes-date">{{n.creationTime | date:'dd/MM/yyyy HH:mm'}}</div>
<div class="notes-date">{{n.employeeFk}}</div>
<div class="notes-date">{{n.employeeFk.name}}</div>
<div>{{n.text}}</div>
</vn-auto>
</vn-horizontal>

View File

@ -147,8 +147,8 @@
},
"chanelFK":{
"type": "hasOne",
"model": "Chanel",
"foreignKey": "chanelFK"
"model": "ContactChannel",
"foreignKey": "contactChannelFk"
}
},
"acls": [

View File

@ -1,5 +1,5 @@
{
"name": "Chanel",
"name": "ContactChannel",
"base": "PersistedModel",
"validateUpsert": true,
"properties": {

View File

@ -70,7 +70,7 @@
"dataSource": "vn",
"public": true
},
"Chanel": {
"ContactChannel": {
"dataSource": "vn",
"public": true
}