update gán lịch trình toàn bộ

This commit is contained in:
2020-11-04 16:35:39 +07:00
parent fe639c34fc
commit a57039f7d0
7 changed files with 17 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ class StaffGrid extends CommonGrid {
if (isset($array[$value]))
$doors[] = $array[$value];
}
if (count($ls) <= 2) {
if (count($doors) <= 2) {
$alert = "<div id='short-{$model->id}'>" . implode("<br>", $doors) . "</div>";
} else {
$alert = "<div id='short-{$model->id}'>" . $doors[0] . "<br>" . $doors[1] . "<br><a href='#' onclick='openDoorList(this, true);return false;' data='{$model->id}'><i class='fa fa-chevron-down'></i> Xem thêm</a></div>";