Added notes to user consumables tab

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe
2022-08-10 15:34:07 -07:00
parent 8de7e9a2ab
commit acd666fdf5
3 changed files with 7 additions and 5 deletions
@@ -230,7 +230,7 @@ class ConsumablesController extends Controller
$rows[] = [
'name' => ($consumable_assignment->user) ? $consumable_assignment->user->present()->nameUrl() : 'Deleted User',
'created_at' => Helper::getFormattedDateObject($consumable_assignment->created_at, 'datetime'),
'note' => ($consumable_assignment->note) ? $consumable_assignment->note : null,
'note' => ($consumable_assignment->note) ? e($consumable_assignment->note) : null,
'admin' => ($consumable_assignment->admin) ? $consumable_assignment->admin->present()->nameUrl() : null,
];
}