From 274b412718b81deba404a1d10ae83d5d3c82238a Mon Sep 17 00:00:00 2001 From: Abyss777 Date: Mon, 20 Feb 2017 14:03:47 +0500 Subject: Add SMS to notifications and phone to user --- web/app/model/Notification.js | 3 +++ web/app/model/User.js | 3 +++ 2 files changed, 6 insertions(+) (limited to 'web/app/model') diff --git a/web/app/model/Notification.js b/web/app/model/Notification.js index 54f6674..3ae13c0 100644 --- a/web/app/model/Notification.js +++ b/web/app/model/Notification.js @@ -36,5 +36,8 @@ Ext.define('Traccar.model.Notification', { }, { name: 'mail', type: 'bool' + }, { + name: 'sms', + type: 'bool' }] }); diff --git a/web/app/model/User.js b/web/app/model/User.js index df346ee..49400a3 100644 --- a/web/app/model/User.js +++ b/web/app/model/User.js @@ -31,6 +31,9 @@ Ext.define('Traccar.model.User', { }, { name: 'password', type: 'string' + }, { + name: 'phone', + type: 'string' }, { name: 'readonly', type: 'boolean' -- cgit v1.2.3