mirror of https://github.com/sipwise/ngcp-csc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
600 B
27 lines
600 B
Ext.define('NgcpCsc.store.CallForwardTimeset', {
|
|
extend: 'Ext.data.Store',
|
|
|
|
storeId: 'CallForwardTimeset',
|
|
|
|
model: 'NgcpCsc.model.CallForwardTimeset',
|
|
|
|
autoLoad: true,
|
|
|
|
proxy: {
|
|
type: 'ngcp-api',
|
|
route: 'cftimesets',
|
|
params: 'subscriber_id=' + localStorage.getItem('subscriber_id'),
|
|
actionMethods: {
|
|
read: 'GET',
|
|
update: 'PATCH'
|
|
}
|
|
},
|
|
|
|
listeners: {
|
|
load: function(store, recs) {
|
|
this.fireEvent('cfTimesetStoreLoaded', this, recs[0].data._embedded['ngcp:cftimesets']);
|
|
}
|
|
}
|
|
|
|
});
|