A free open source IT asset/license management system
Added BS table formatter
snipe640bded402a7
diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.phpindex 982fd18a22..b0f28fb458 100644--- a/resources/views/partials/bootstrap-table.blade.php+++ b/resources/views/partials/bootstrap-table.blade.php@@ -2523,6 +2523,10 @@return linkToUserSectionBasedOnCount(value, row.id, 'managed-locations');}+ function linkNumberToUserAssignedMaintenancesFormatter(value, row) {+ return linkToUserSectionBasedOnCount(value, row.id, 'maintenances');+ }+function labelPerPageFormatter(value, row, index, field) {if (row) {if (!row.hasOwnProperty('sheet_info')) { return 1; }