hien thi anh mau moi nhat

This commit is contained in:
dongpd 2021-01-27 10:26:47 +07:00
parent 3f22f89654
commit b29904a2b5

View File

@ -95,7 +95,7 @@ class CaptureLogsGrid {
if ($staff) { if ($staff) {
$images = json_decode($staff->image, true); $images = json_decode($staff->image, true);
if (count($images) > 0) if (count($images) > 0)
return Html::img("/data/uploads/face/" . $images[0]['url'], [ return Html::img("/data/uploads/face/" . $images[count($images) - 1]['url'], [
"class" => "img-thumbnail", "class" => "img-thumbnail",
"style" => "width: 150px;height:150px;" "style" => "width: 150px;height:150px;"
]); ]);