1
|
'button[name=PDSWFTOTCOSTTRVAdd]': {
|
2
|
click: function () {
|
3
|
calculateTravelCost();
|
4
|
}
|
5
|
}, 'button[name=PDSWFTRAVELCOSTAdd]': {
|
6
|
click: function () {
|
7
|
cekFormHeader();
|
8
|
}
|
9
|
}, 'field[name=HeaderStartDate]': {
|
10
|
change: function () {
|
11
|
fillFormHeader();
|
12
|
}
|
13
|
}, '[id=PDSWFTRAVELCOSTCostCostType]': {
|
14
|
change: function () {
|
15
|
cekCostType();
|
16
|
}
|
17
|
}, '[id=PDSWFTRAVELROUTERouteStartDate]': {
|
18
|
render: function () {
|
19
|
setMinMaxDateRoute();
|
20
|
},
|
21
|
change: function () {
|
22
|
setEndDateRoute();
|
23
|
}
|
24
|
}, '[id=PDSWFTRAVELACCOMODATIONAccomStartDate]': {
|
25
|
render: function () {
|
26
|
setMinMaxDateAccom();
|
27
|
},
|
28
|
change: function () {
|
29
|
setEndDateAccom();
|
30
|
}
|
31
|
}, '[id=PDSWFTRAVELCOSTCostStartDate]': {
|
32
|
render: function () {
|
33
|
setMinMaxDateCost();
|
34
|
},
|
35
|
change: function () {
|
36
|
setEndDateCost();
|
37
|
}
|
38
|
}, '[id=PDSWFTRAVELROUTERouteEndDate]': {
|
39
|
render: function () {
|
40
|
cekEndDateRoute();
|
41
|
setMinMaxDateRoute();
|
42
|
},
|
43
|
change: function () {
|
44
|
SetStartDateRoute();
|
45
|
}
|
46
|
}, '[id=PDSWFTRAVELACCOMODATIONAccomEndDate]': {
|
47
|
render: function () {
|
48
|
cekEndDateAccom();
|
49
|
},
|
50
|
change: function () {
|
51
|
SetStartDateAccom();
|
52
|
}
|
53
|
}, '[id=PDSWFTRAVELCOSTCostEndDate]': {
|
54
|
render: function () {
|
55
|
cekEndDateCost();
|
56
|
},
|
57
|
change: function () {
|
58
|
SetStartDateCost();
|
59
|
}
|
60
|
}, '[name=gridPDSWFTRAVELACCOMODATION]': {
|
61
|
afterrender: function () {
|
62
|
afterrenderGridAccomodation();
|
63
|
}
|
64
|
}, '[name=gridPDSWFTRAVELCOST]': {
|
65
|
afterrender: function () {
|
66
|
afterrenderGridCost();
|
67
|
},
|
68
|
edit: function () {
|
69
|
updateCalculate();
|
70
|
}
|
71
|
}, '[name=gridPDSWFTRAVELROUTE]': {
|
72
|
afterrender: function () {
|
73
|
afterrenderGridRoute();
|
74
|
}
|
75
|
}, '[id=PDSWFTRAVELROUTERouteTransportType]': {
|
76
|
change: function () {
|
77
|
mapToType();
|
78
|
}
|
79
|
}, '[id=PDSWFTRAVELCOSTCostCostType]': {
|
80
|
change: function () {
|
81
|
mapToTypeTravel();
|
82
|
}
|
83
|
}, '[id=PDSWFTRAVELCOSTCostNumber]': {
|
84
|
change: function () {
|
85
|
calcratetv();
|
86
|
}
|
87
|
}, '[id=PDSWFTRAVELCOSTCostRate]': {
|
88
|
change: function () {
|
89
|
calcratetv();
|
90
|
}
|
91
|
}, 'button[name=PDSWFTRAVELCOSTAdd]': {
|
92
|
click: function () {
|
93
|
autoFillCost();
|
94
|
}
|
95
|
},
|