Skip to content
This repository was archived by the owner on May 8, 2018. It is now read-only.

Commit 4370a51

Browse files
committed
Adding information about the registration type on grid
1 parent 0f1caa0 commit 4370a51

File tree

1 file changed

+8
-0
lines changed
  • src/PHPSC/Conference/UI/Admin/Credentialing

1 file changed

+8
-0
lines changed

src/PHPSC/Conference/UI/Admin/Credentialing/Grid.php

+8
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,14 @@ public function getDatagrid()
3636
array(
3737
new DatagridColumn('Nome', 'user.name', 'col-md-3'),
3838
new DatagridColumn('Email', 'user.email', 'col-md-3'),
39+
new DatagridColumn(
40+
'Tipo',
41+
'canAttendAllDays()',
42+
'col-md-2',
43+
function ($canAttendAllDays) {
44+
return $canAttendAllDays ? 'Minicursos e paletras' : 'Somente palestras';
45+
}
46+
),
3947
new DatagridColumn(
4048
'Status',
4149
'getStatusDescription()',

0 commit comments

Comments
 (0)