-
Notifications
You must be signed in to change notification settings - Fork 0
/
BankAccountsAssignedToACountryMainpanel.js
101 lines (93 loc) · 3.3 KB
/
BankAccountsAssignedToACountryMainpanel.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
/*
* File: app/view/BankAccountsAssignedToACountryMainpanel.js
*
* This file was generated by Sencha Architect version 3.0.4.
* http://www.sencha.com/products/architect/
*
* This file requires use of the Ext JS 4.2.x library, under independent license.
* License of Sencha Architect does not include license for Ext JS 4.2.x. For more
* details see http://www.sencha.com/license or contact license@sencha.com.
*
* This file will be auto-generated each and everytime you save your project.
*
* Do NOT hand edit this file.
*/
Ext.define('cobuy.view.BankAccountsAssignedToACountryMainpanel', {
extend: 'Ext.panel.Panel',
alias: 'widget.bankaccountsassignedtoacountrymainpanel',
requires: [
'cobuy.view.ListAllBankAccountsForCountryGrid',
'Ext.toolbar.Toolbar',
'Ext.button.Button',
'Ext.toolbar.Separator',
'Ext.panel.Tool',
'Ext.grid.Panel'
],
height: 400,
margin: '0 0 0 20',
width: 600,
layout: 'fit',
title: 'Bank Accounts assigned To This Country',
initComponent: function() {
var me = this;
Ext.applyIf(me, {
dockedItems: [
{
xtype: 'toolbar',
dock: 'top',
autoScroll: true,
items: [
{
xtype: 'button',
itemId: 'editBtn',
iconCls: 'edit',
text: 'Edit Country\'s Bank Account Info'
},
{
xtype: 'tbseparator'
},
{
xtype: 'button',
itemId: 'approveBtn',
iconCls: 'approve_account',
text: 'Approve/Disapprove Bank Account for country'
},
{
xtype: 'tbseparator'
},
{
xtype: 'button',
itemId: 'activateBtn',
iconCls: 'activate_account',
text: 'Activate/Deactivate Country Bank Account'
},
{
xtype: 'tbseparator'
},
{
xtype: 'button',
itemId: 'deleteBtn',
iconCls: 'delete_1',
text: 'Remove Account from Country'
}
]
}
],
tools: [
{
xtype: 'tool',
handler: function(event, toolEl, owner, tool) {
var panel = tool.up('bankaccountsassignedtoacountrymainpanel');
panel.hide();
}
}
],
items: [
{
xtype: 'listallbankaccountsforcountrygrid'
}
]
});
me.callParent(arguments);
}
});