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
|
var template_limitedstockview = function( static )
{
this.static = static;
this.elements = {
vehicleYear : new App.TemplateElement.FieldComponent('vehicleYear'),
category : new App.TemplateElement.FieldComponent('category'),
make : new App.TemplateElement.FieldComponent('make'),
model : new App.TemplateElement.FieldComponent('model'),
type : new App.TemplateElement.FieldComponent('type'),
mmCode : new App.TemplateElement.LabeledText('mmCode'),
fuelType : new App.TemplateElement.FieldComponent('fuelType'),
transmissionType : new App.TemplateElement.FieldComponent('transmissionType'),
condition : new App.TemplateElement.FieldComponent('condition'),
exteriorColour : new App.TemplateElement.FieldComponent('exteriorColour'),
interiorColour : new App.TemplateElement.FieldComponent('interiorColour'),
upholstery : new App.TemplateElement.FieldComponent('upholstery'),
papers : new App.TemplateElement.FieldComponent('papers'),
natis : new App.TemplateElement.FieldComponent('natis'),
spareKeys : new App.TemplateElement.FieldComponent('spareKeys'),
fullServiceHistory : new App.TemplateElement.FieldComponent('fullServiceHistory'),
registrationNumber : new App.TemplateElement.FieldComponent('registrationNumber'),
vinNumber : new App.TemplateElement.FieldComponent('vinNumber'),
engineNumber : new App.TemplateElement.FieldComponent('engineNumber'),
km : new App.TemplateElement.FieldComponent('km'),
fshNotes : new App.TemplateElement.FieldComponent('fshNotes'),
bodyWork : new App.TemplateElement.FieldComponent('bodyWork'),
damages : new App.TemplateElement.GroupComponent('damages'),
damageTotal : new App.TemplateElement.Text('damageTotal'),
damageNotes : new App.TemplateElement.FieldComponent('damageNotes'),
previousRepairsNoted : new App.TemplateElement.FieldComponent('previousRepairsNoted'),
previousRepairsNotes : new App.TemplateElement.FieldComponent('previousRepairsNotes'),
coverReceived : new App.TemplateElement.FieldComponent('coverReceived'),
accessories : new App.TemplateElement.GroupComponent('accessories'),
accessoryNotes : new App.TemplateElement.FieldComponent('accessoryNotes'),
mainImage : new App.TemplateElement.FieldComponent('mainImage'),
frontImage : new App.TemplateElement.FieldComponent('frontImage'),
leftImage : new App.TemplateElement.FieldComponent('leftImage'),
rightImage : new App.TemplateElement.FieldComponent('rightImage'),
backImage : new App.TemplateElement.FieldComponent('backImage'),
interiorImage : new App.TemplateElement.FieldComponent('interiorImage'),
engineImage : new App.TemplateElement.FieldComponent('engineImage'),
natisImage : new App.TemplateElement.FieldComponent('natisImage'),
print : new App.TemplateElement.ConstructorComponentCollection('print'),
printAuction : new App.TemplateElement.ConstructorComponentCollection('printAuction'),
dateCreatedPriceGuide : new App.TemplateElement.Text('dateCreatedPriceGuide'),
loadedOnPriceGuide : new App.TemplateElement.Text('loadedOnPriceGuide'),
numberOfOffers : new App.TemplateElement.Text('numberOfOffers'),
highestOffer : new App.TemplateElement.Text('highestOffer'),
timesListed : new App.TemplateElement.Text('timesListed'),
highestBid : new App.TemplateElement.Text('highestBid'),
referenceNumber : new App.TemplateElement.Text('referenceNumber'),
jobState : new App.TemplateElement.Text('jobState'),
tradePrice : new App.TemplateElement.Text('tradePrice'),
retailPrice : new App.TemplateElement.Text('retailPrice'),
listPrice : new App.TemplateElement.Text('listPrice'),
initialTradePrice : new App.TemplateElement.Text('initialTradePrice'),
updatedTradePrice : new App.TemplateElement.Text('updatedTradePrice'),
// PricingHistory grid
gridPricingHistoryColumnHeaders : new App.TemplateElement.ConstructorComponentCollection('gridPricingHistoryColumnHeaders'),
gridPricingHistoryRowRepeater : new App.TemplateElement.ConstructorComponentCollection('gridPricingHistoryRowRepeater'),
complaint : new App.TemplateElement.FieldComponent('complaint')
};
this.construct = function()
{
//
};
this.destruct = function()
{
//
};
};
|