fleetmap-reports 2.0.176 → 2.0.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -12,41 +12,6 @@
|
|
|
12
12
|
<mj-image width="120px" :src="url + '/' + logo"></mj-image>
|
|
13
13
|
</mj-column>
|
|
14
14
|
</mj-section>
|
|
15
|
-
<mj-section v-for="(device, index) in reportData.devices" v-bind:key="device.deviceId" >
|
|
16
|
-
<mj-column>
|
|
17
|
-
<mj-wrapper border="1px solid #000000" padding="20px 10px">
|
|
18
|
-
<mj-table>
|
|
19
|
-
<tr style="font-size:12px">
|
|
20
|
-
<th colspan="4" style="text-align: left">
|
|
21
|
-
<span style="font-weight: bold;font-size:12px">{{device.device.name}}{{device.device.attributes.license_plate ? ', ' +device.device.attributes.license_plate : ''}}{{device.device.model ? ', ' + device.device.model : ''}}</span>
|
|
22
|
-
<span style="float:right; font-weight: bold;font-size:11px">{{ device.device.groupName ? translations.group + ': ' + device.device.groupName : ''}}</span><br/>
|
|
23
|
-
<span style="font-weight: bold;font-size:11px">{{ translations.from }} {{ device.from.toLocaleString(user.attributes.lang, { timeZone: user.attributes.timezone }) }} {{ translations.to }} {{ device.to.toLocaleString(user.attributes.lang, { timeZone: user.attributes.timezone }) }}</span>
|
|
24
|
-
</th>
|
|
25
|
-
</tr>
|
|
26
|
-
</mj-table>
|
|
27
|
-
<mj-table>
|
|
28
|
-
<tr :style="'font-size:10px;background-color:'+color+';color:white'">
|
|
29
|
-
<th>Sensores</th>
|
|
30
|
-
<th>{{ translations.start }}</th>
|
|
31
|
-
<th>{{ translations.end }}</th>
|
|
32
|
-
<th>Estado</th>
|
|
33
|
-
<th>{{ translations.duration }}</th>
|
|
34
|
-
</tr>
|
|
35
|
-
<mj-section v-for="(row, index) in device.rows" v-bind:key="trip.deviceId">
|
|
36
|
-
<tr :style="index%2 ? 'text-align: center;background-color:#E3E3E3' : 'text-align: center;background-color:#FFFFFF'" >
|
|
37
|
-
<td style="font-size:10px">{{row.name}}</td>
|
|
38
|
-
<td style="font-size:10px">{{new Date(row.startTime).toLocaleString(user.attributes.lang, { timeZone: user.attributes.timezone, hour12:false })}}</td>
|
|
39
|
-
<td style="font-size:10px">{{new Date(row.endTime).toLocaleString(user.attributes.lang, { timeZone: user.attributes.timezone, hour12:false })}}</td>
|
|
40
|
-
<td style="font-size:10px">{{convertMS(row.duration)}}</td>
|
|
41
|
-
</tr>
|
|
42
|
-
<tr :style="index%2 ? 'vertical-align: top;background-color:#E3E3E3' : 'vertical-align: top;background-color:#FFFFFF'" >
|
|
43
|
-
<td style="font-size:9px;padding-left: 5px" :colspan="reportData.xpert === true ? 12 : 10">{{ translations.endAddress }}: {{row.endAddress}}</td>
|
|
44
|
-
</tr>
|
|
45
|
-
</mj-section>
|
|
46
|
-
</mj-table>
|
|
47
|
-
</mj-wrapper>
|
|
48
|
-
</mj-column>
|
|
49
|
-
</mj-section>
|
|
50
15
|
<mj-section>
|
|
51
16
|
<mj-column width="100%">
|
|
52
17
|
<mj-text align="left" font-family="Ubuntu, Helvetica, Arial, sans-serif">
|