From 8154d1116c4a608bd2203b9e0a1e698adc4378a6 Mon Sep 17 00:00:00 2001 From: snipe Date: Sun, 5 May 2019 19:21:06 -0400 Subject: [PATCH] Added bootstrap-tables presenter formatter to display an audit button --- resources/views/partials/bootstrap-table.blade.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/resources/views/partials/bootstrap-table.blade.php b/resources/views/partials/bootstrap-table.blade.php index b1eadb96c..313253232 100644 --- a/resources/views/partials/bootstrap-table.blade.php +++ b/resources/views/partials/bootstrap-table.blade.php @@ -167,6 +167,11 @@ }; } + function hardwareAuditFormatter(value, row) { + return '{{ trans('general.audit') }}'; + } + + // Make the edit/delete buttons function genericActionsFormatter(destination) { return function (value,row) {