check delete list management
This commit is contained in:
parent
3a34cc43c8
commit
ee3c869d71
|
@ -65,18 +65,23 @@ class CaptureLogsGrid {
|
|||
public static function birthday() {
|
||||
return function($model) {
|
||||
$staff = $model->listManagement;
|
||||
if ($staff)
|
||||
return date("d/m/Y", $staff->birthday);
|
||||
return "";
|
||||
};
|
||||
}
|
||||
|
||||
public static function registrationImage() {
|
||||
return function($model) {
|
||||
$staff = $model->listManagement;
|
||||
if ($staff) {
|
||||
$images = json_decode($staff->image, true);
|
||||
return Html::img("/data/uploads/face/" . $images[0]['url'], [
|
||||
"class" => "img-thumbnail",
|
||||
"style" => "width: 150px;height:150px;"
|
||||
]);
|
||||
}
|
||||
return "";
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user