-
Notifications
You must be signed in to change notification settings - Fork 0
/
EditAccoutAssignedToCountryForm.js
159 lines (152 loc) · 5.76 KB
/
EditAccoutAssignedToCountryForm.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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
/*
* File: app/view/EditAccoutAssignedToCountryForm.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.EditAccoutAssignedToCountryForm', {
extend: 'Ext.form.Panel',
alias: 'widget.editaccountsassignedtocountryform',
requires: [
'Ext.form.FieldSet',
'Ext.form.field.Text',
'Ext.form.field.Radio',
'Ext.toolbar.Toolbar',
'Ext.button.Button',
'Ext.toolbar.Separator',
'Ext.toolbar.Fill',
'Ext.form.field.Hidden'
],
height: 300,
width: 600,
layout: 'fit',
bodyPadding: 10,
initComponent: function() {
var me = this;
Ext.applyIf(me, {
items: [
{
xtype: 'fieldset',
title: 'Bank Account to Country Assignment',
items: [
{
xtype: 'textfield',
anchor: '100%',
fieldLabel: 'Country',
labelWidth: 150,
name: 'country',
readOnly: true
},
{
xtype: 'textfield',
anchor: '100%',
fieldLabel: 'Account Number',
labelWidth: 150,
name: 'account_number',
readOnly: true
},
{
xtype: 'textfield',
anchor: '100%',
hidden: true,
fieldLabel: 'Account Title',
labelWidth: 150,
name: 'account_name'
},
{
xtype: 'textfield',
anchor: '100%',
hidden: true,
fieldLabel: 'Bank Name',
labelWidth: 150,
name: 'bank_name'
},
{
xtype: 'fieldset',
layout: 'column',
title: 'Payment Mode',
items: [
{
xtype: 'radiofield',
name: 'payment_mode',
boxLabel: 'Bank Transfer',
checked: true,
inputValue: 'bank_transfer'
},
{
xtype: 'radiofield',
margin: '0 0 0 20',
name: 'payment_mode',
boxLabel: 'Online Payment',
inputValue: 'online'
},
{
xtype: 'radiofield',
margin: '0 0 0 20',
name: 'payment_mode',
boxLabel: 'Cash ',
inputValue: 'cash'
},
{
xtype: 'radiofield',
margin: '0 0 0 20',
name: 'payment_mode',
boxLabel: 'Hybrid',
inputValue: 'hybrid'
}
]
}
]
},
{
xtype: 'hiddenfield',
fieldLabel: 'Label',
name: 'bank_id'
},
{
xtype: 'hiddenfield',
fieldLabel: 'Label',
name: 'country_id'
}
],
dockedItems: [
{
xtype: 'toolbar',
dock: 'bottom',
items: [
{
xtype: 'button',
itemId: 'cancelBtn',
iconCls: 'cancel',
text: 'Cancel'
},
{
xtype: 'tbseparator'
},
{
xtype: 'tbfill'
},
{
xtype: 'tbseparator'
},
{
xtype: 'button',
itemId: 'assignBtn',
iconCls: 'country_account',
text: 'Assign This Number To This Country'
}
]
}
]
});
me.callParent(arguments);
}
});