@php
$actions = [
['type' => 'custom', 'html' => '
' . __('trans.student.wallet.label') . ''],
['type' => 'edit', 'url' => url('admin/students'),],
['type' => 'delete', 'url' => url('admin/students'),],
];
$extra = [
[
'targets' => 2,
'createdCell' => 'function (td) { $(td).css("direction", "ltr").css("text-align", "start"); }'
],
[
'targets' => 7,
'render' => 'function(data){ return data == 0 ? \'
' . __('trans.student.active') . '\' : \'
' . __('trans.student.suspended') . '\'; }'
],
];
@endphp