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"> label="Comercial">
</vn-autocomplete> </vn-autocomplete>
<vn-autocomplete vn-one <vn-autocomplete vn-one
field="$ctrl.client.chanelFK" field="$ctrl.client.contactChannelFK"
url="/client/api/Chanels" url="/client/api/ContactChannels"
show-field="name" show-field="name"
value-field="id" value-field="id"
label="Canal"> label="Canal">

View File

@ -4,7 +4,7 @@
<vn-horizontal ng-repeat="n in observation.observations" margin-small-bottom style="align-items: center;"> <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"> <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.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> <div>{{n.text}}</div>
</vn-auto> </vn-auto>
</vn-horizontal> </vn-horizontal>

View File

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

View File

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

View File

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