Subversion Repositories SmartDukaan

Rev

Rev 36664 | Rev 36682 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 36664 Rev 36666
Line 85... Line 85...
85
 
85
 
86
        <table class="table table-border table-condensed table-bordered table-striped" id="userDetailTable" style="width:100%">
86
        <table class="table table-border table-condensed table-bordered table-striped" id="userDetailTable" style="width:100%">
87
            <thead>
87
            <thead>
88
            <tr >
88
            <tr >
89
                <th>#</th>
89
                <th>#</th>
90
                <th>Task Name</th>
90
                <th>Agenda/Partner Name</th>
91
                <th>Task Type</th>
91
                <th>Task Type</th>
92
                <th>Status</th>
92
                <th>Status</th>
93
                <th>Address</th>
93
                <th>Address</th>
94
                <th>Check In Time</th>
94
                <th>Check In Time</th>
95
                <th>Check Out Time</th>
95
                <th>Check Out Time</th>
96
                <th>Time Spent</th>
96
                <th>Time Spent at Outlet</th>
97
                <th>Transit Time</th>
97
                <th>Transit Time</th>
98
                <th>Distance (km)</th>
98
                <th>Distance (km)</th>
-
 
99
                <th>Estimated Time</th>
99
            </tr>
100
            </tr>
100
            </thead>
101
            </thead>
101
            <tbody>
102
            <tbody>
102
            #if($punchIn)
103
            #if($punchIn)
103
                <tr style="background:#d5f5e3;">
104
                <tr style="background:#d5f5e3;">
Line 109... Line 110...
109
                    <td>$!punchIn.getCheckInTime()</td>
110
                    <td>$!punchIn.getCheckInTime()</td>
110
                    <td>--</td>
111
                    <td>--</td>
111
                    <td>--</td>
112
                    <td>--</td>
112
                    <td>--</td>
113
                    <td>--</td>
113
                    <td>$!punchIn.getTotalDistance()</td>
114
                    <td>$!punchIn.getTotalDistance()</td>
-
 
115
                    <td>$!punchIn.getEstimatedTime()</td>
114
                </tr>
116
                </tr>
115
            #end
117
            #end
116
            #set($idx = 1)
118
            #set($idx = 1)
117
            #foreach($v in $visits)
119
            #foreach($v in $visits)
118
                <tr>
120
                <tr>
Line 136... Line 138...
136
                    <td>$!v.getCheckInTime()</td>
138
                    <td>$!v.getCheckInTime()</td>
137
                    <td>$!v.getCheckOutTime()</td>
139
                    <td>$!v.getCheckOutTime()</td>
138
                    <td>$!v.getTimeSpent()</td>
140
                    <td>$!v.getTimeSpent()</td>
139
                    <td>$!v.getTransitTime()</td>
141
                    <td>$!v.getTransitTime()</td>
140
                    <td>$!v.getTotalDistance()</td>
142
                    <td>$!v.getTotalDistance()</td>
-
 
143
                    <td>$!v.getEstimatedTime()</td>
141
                </tr>
144
                </tr>
142
                #set($idx = $idx + 1)
145
                #set($idx = $idx + 1)
143
            #end
146
            #end
144
            #if($punchOut)
147
            #if($punchOut)
145
                <tr style="background:#fadbd8;">
148
                <tr style="background:#fadbd8;">
Line 151... Line 154...
151
                    <td>$!punchOut.getCheckInTime()</td>
154
                    <td>$!punchOut.getCheckInTime()</td>
152
                    <td>--</td>
155
                    <td>--</td>
153
                    <td>--</td>
156
                    <td>--</td>
154
                    <td>--</td>
157
                    <td>--</td>
155
                    <td>$!punchOut.getTotalDistance()</td>
158
                    <td>$!punchOut.getTotalDistance()</td>
-
 
159
                    <td>$!punchOut.getEstimatedTime()</td>
156
                </tr>
160
                </tr>
157
            #end
161
            #end
158
            </tbody>
162
            </tbody>
159
            <tfoot>
163
            <tfoot>
160
                <tr style="background:#f2f3f4; font-weight:bold;">
164
                <tr style="background:#f2f3f4; font-weight:bold;">
Line 162... Line 166...
162
                    <td>--</td>
166
                    <td>--</td>
163
                    <td>--</td>
167
                    <td>--</td>
164
                    <td>$totalTimeSpentStr</td>
168
                    <td>$totalTimeSpentStr</td>
165
                    <td>$totalTransitStr</td>
169
                    <td>$totalTransitStr</td>
166
                    <td>$totalDistanceStr km | Visits: $visitCount | Leads: $leadCount</td>
170
                    <td>$totalDistanceStr km | Visits: $visitCount | Leads: $leadCount</td>
-
 
171
                    <td></td>
167
                </tr>
172
                </tr>
168
            </tfoot>
173
            </tfoot>
169
        </table>
174
        </table>
170
    </div>
175
    </div>
171
</section>
176
</section>