fleetmap-reports 1.0.562 → 1.0.563
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 +1 -1
- package/src/location-report.js +2 -1
package/package.json
CHANGED
package/src/location-report.js
CHANGED
|
@@ -313,7 +313,7 @@ function getDigitalPort2Label (row, translations) {
|
|
|
313
313
|
return row.attributes.door2 || translations.report.digital_ports2
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
|
|
316
|
+
function getDigitalPortValue (row, index, translations, dAttributes) {
|
|
317
317
|
switch (index) {
|
|
318
318
|
case 1:
|
|
319
319
|
if (row.attributes && row.attributes.door1 !== undefined) {
|
|
@@ -450,3 +450,4 @@ function getMaxSpeed (data) {
|
|
|
450
450
|
exports.createLocationReport = createLocationReport
|
|
451
451
|
exports.exportLocationReportToPDF = exportLocationReportToPDF
|
|
452
452
|
exports.exportLocationReportToExcel = exportLocationReportToExcel
|
|
453
|
+
exports.getDigitalPortValue = getDigitalPortValue
|