Added bootstrap-tables presenter formatter to display an audit button

This commit is contained in:
snipe 2019-05-05 19:21:06 -04:00
parent 05a85c628f
commit 8154d1116c

View file

@ -167,6 +167,11 @@
};
}
function hardwareAuditFormatter(value, row) {
return '<a href="{{ url('/') }}/hardware/audit/' + row.id + '/" class="btn btn-sm bg-yellow" data-tooltip="true" title="Audit this item">{{ trans('general.audit') }}</a>';
}
// Make the edit/delete buttons
function genericActionsFormatter(destination) {
return function (value,row) {