fix #8131 - chinese translations
[Pman.Core] / Pman.Dialog.PersonStaff.js
1 //<script type="text/javascript">
2 // for needed for new person in External contacts...
3
4
5
6 // needs adding to init!!!!
7 Pman.on('beforeload', function() {
8      
9     Pman.Dialog.PersonStaff  = new Pman.Dialog.PersonEditor({
10         type : 'staff',
11         dialogConfig : {
12             title: "Add / Edit Staff"
13         },
14         itemList : [
15             
16             
17             'office_id_name',
18             'name','role', 'phone', 'fax', 'email_req',
19             'passwd1', 'passwd2', 'secure_password',
20             
21             'id',  'office_id', 'company_id',
22             'active',
23             // not really needed??
24             'company_id_email','company_id_address','company_id_tel','company_id_fax'
25         ]
26     });
27     
28     
29     
30 });
31