1+ /**
2+ * Classe que define a lista de "Trunk"
3+ *
4+ * =======================================
5+ * ###################################
6+ * MagnusBilling
7+ *
8+ * @package MagnusBilling
9+ * @author Adilson Leffa Magnus.
10+ * @copyright Copyright (C) 2005 - 2021 MagnusBilling. All rights reserved.
11+ * ###################################
12+ *
13+ * This software is released under the terms of the GNU Lesser General Public License v3
14+ * A copy of which is available from http://www.gnu.org/copyleft/lesser.html
15+ *
16+ * Please submit bug reports, patches, etc to https://github.com/magnussolution/magnusbilling7/issues
17+ * =======================================
18+ * Magnusbilling.org <[email protected] > 19+ * 25/06/2012
20+ */
21+ Ext . define ( 'MBilling.view.trunkSipCodes.List' , {
22+ extend : 'Ext.ux.grid.Panel' ,
23+ alias : 'widget.trunksipcodeslist' ,
24+ store : 'TrunkSipCodes' ,
25+ fieldSearch : 'ip' ,
26+ initComponent : function ( ) {
27+ var me = this ;
28+ me . buttonCsv = false ;
29+ me . allowPrint = false ;
30+ me . buttonUpdateLot = false ;
31+ me . allowCreate = false ;
32+ me . allowUpdate = false ;
33+ me . textDelete = t ( 'Reset' ) ;
34+ me . columns = me . columns || [ {
35+ header : t ( 'Ip' ) ,
36+ dataIndex : 'ip' ,
37+ flex : 3
38+ } , {
39+ header : t ( 'SIP Code' ) ,
40+ dataIndex : 'code' ,
41+ flex : 3
42+ } , {
43+ header : t ( 'Total' ) ,
44+ dataIndex : 'total' ,
45+ flex : 3
46+ } , {
47+ header : t ( 'Percentage' ) ,
48+ dataIndex : 'percentage' ,
49+ flex : 3
50+ } ] ;
51+ me . callParent ( arguments ) ;
52+ }
53+ } ) ;
0 commit comments