làm lại quy trình đồng bộ dữ liệu

This commit is contained in:
2020-10-20 18:07:57 +07:00
parent 9719e836f8
commit 9112eaaff9
4 changed files with 123 additions and 99 deletions

View File

@@ -24,4 +24,10 @@ class DeviceGrid extends CommonGrid {
};
}
public static function checkbox($type, $haveRoot = true) {
return function($model) use ($type) {
return "<input type='checkbox' value='{$model->id}' data='{$model->ip_address}' name='checkbox-{$type}' class='checkbox-{$type}'>";
};
}
}