ab41c5dcc1b05fe41c8760eeda83cccd63ba664c
[namibia] / public / templates / page / register.js
1 var template_register = function( static )
2 {
3         this.static   = static;
4         this.elements = {
5                         firstName : new App.TemplateElement.FieldComponent('firstName'),
6                         familyName : new App.TemplateElement.FieldComponent('familyName'),
7                         permissions: new App.TemplateElement.FieldComponent('permissions'),
8                         email : new App.TemplateElement.FieldComponent('email'),
9                         confirmEmail : new App.TemplateElement.FieldComponent('confirmEmail'),
10                         pin : new App.TemplateElement.FieldComponent('pin'),
11                         confirmPin : new App.TemplateElement.FieldComponent('confirmPin'),
12                         idNumber : new App.TemplateElement.FieldComponent('idNumber'),
13                         dateOfBirth : new App.TemplateElement.FieldComponent('dateOfBirth'),
14                         mobile : new App.TemplateElement.FieldComponent('mobile'),
15
16                         contactFirstName : new App.TemplateElement.FieldComponent('contactFirstName'),
17                         contactFamilyName : new App.TemplateElement.FieldComponent('contactFamilyName'),
18                         contactOffice : new App.TemplateElement.FieldComponent('contactOffice'),
19                         contactMobile : new App.TemplateElement.FieldComponent('contactMobile'),
20                         contactEmail : new App.TemplateElement.FieldComponent('contactEmail'),
21
22                         dealerType : new App.TemplateElement.FieldComponent('dealerType'),
23                         clientType : new App.TemplateElement.FieldComponent('clientType'),
24                         group : new App.TemplateElement.FieldComponent('group'),
25                         groupDivision : new App.TemplateElement.FieldComponent('groupDivision'),
26                         companyType : new App.TemplateElement.FieldComponent('companyType'),
27                         businessName : new App.TemplateElement.FieldComponent('businessName'),
28                         name : new App.TemplateElement.FieldComponent('name'),
29                         companyRegistrationNumber : new App.TemplateElement.FieldComponent('companyRegistrationNumber'),
30                         vatNumber : new App.TemplateElement.FieldComponent('vatNumber'),
31                         turmiNumber : new App.TemplateElement.FieldComponent('turmiNumber'),
32                         dealerStockNumber : new App.TemplateElement.FieldComponent('dealerStockNumber'),
33                         turnover : new App.TemplateElement.FieldComponent('turnover'),
34                         foundMethod : new App.TemplateElement.FieldComponent('foundMethod'),
35                         foundMethodDetail : new App.TemplateElement.FieldComponent('foundMethodDetail'),
36
37                         country : new App.TemplateElement.FieldComponent('country'),
38                         region : new App.TemplateElement.FieldComponent('region'),
39                         city : new App.TemplateElement.FieldComponent('city'),
40                         street : new App.TemplateElement.FieldComponent('street'),
41                         postalCode : new App.TemplateElement.FieldComponent('postalCode'),
42                         sameAsBusinessAddress : new App.TemplateElement.FieldComponent('sameAsBusinessAddress'),
43                         billingCountry : new App.TemplateElement.FieldComponent('billingCountry'),
44                         billingRegion : new App.TemplateElement.FieldComponent('billingRegion'),
45                         billingCity : new App.TemplateElement.FieldComponent('billingCity'),
46                         billingStreet : new App.TemplateElement.FieldComponent('billingStreet'),
47                         billingPostalCode : new App.TemplateElement.FieldComponent('billingPostalCode'),
48                         sameAsDealerContact : new App.TemplateElement.FieldComponent('sameAsDealerContact'),
49                         billingFirstName : new App.TemplateElement.FieldComponent('billingFirstName'),
50                         billingFamilyName : new App.TemplateElement.FieldComponent('billingFamilyName'),
51                         billingOffice : new App.TemplateElement.FieldComponent('billingOffice'),
52                         billingMobile : new App.TemplateElement.FieldComponent('billingMobile'),
53                         billingEmail : new App.TemplateElement.FieldComponent('billingEmail'),
54
55                         ownerFirstName : new App.TemplateElement.FieldComponent('ownerFirstName'),
56                         ownerFamilyName : new App.TemplateElement.FieldComponent('ownerFamilyName'),
57                         ownerIdNumber : new App.TemplateElement.FieldComponent('ownerIdNumber'),
58                         owners : new App.TemplateElement.FieldComponent('owners'),
59
60                         docStockCertificate : new App.TemplateElement.FieldComponent('docStockCertificate'),
61                         docAddressProof : new App.TemplateElement.FieldComponent('docAddressProof'),
62                         docCopyOfId : new App.TemplateElement.FieldComponent('docCopyOfId'),
63                         docCopyOfDirectorId : new App.TemplateElement.FieldComponent('docCopyOfDirectorId'),
64                         docCompanyRegistration : new App.TemplateElement.FieldComponent('docCompanyRegistration'),
65
66                         subscribeNewsletter : new App.TemplateElement.FieldComponent('subscribeNewsletter'),
67                         acceptTermsAndConditions : new App.TemplateElement.FieldComponent('acceptTermsAndConditions')
68                 };
69         this.construct = function() {};
70         this.destruct  = function() {};
71 };