update ngon ngu tieng Viet cho nhung cho tieng Anh

This commit is contained in:
dongpd 2021-02-18 17:46:41 +07:00
parent cb889f1084
commit 6c7ecf7f26
4 changed files with 6 additions and 6 deletions

View File

@ -37,7 +37,7 @@ class CaptureLogsController extends Controller {
$t = date_format(date_create_from_format('H:i d/m/Y', $to), 'U');
}
$this->view->title = "Capture Log";
$this->view->title = "Lịch sử hệ thống";
$searchModel = new CaptureLogsSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
if (!$all)

View File

@ -39,7 +39,7 @@ class ControlLogsController extends Controller {
$t = date_format(date_create_from_format('H:i d/m/Y', $to), 'U');
}
$this->view->title = "Control Log";
$this->view->title = "Danh sách nhận diện";
$searchModel = new CaptureLogsSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
$dataProvider->query->andWhere(["<>", "capture_logs.staff_id", 0]);

View File

@ -34,7 +34,7 @@ class ListManagementController extends Controller {
public function actionIndex($from = "", $to = "", $name = "", $type = "all", $gender = "all", $id = "") {
$f = date_format(date_create_from_format('H:i d/m/Y', "00:00 " . date("d/m/Y")), 'U');
$t = date_format(date_create_from_format('H:i d/m/Y', "23:59 " . date("d/m/Y")), 'U');
$this->view->title = "List management";
$this->view->title = "Quản lý mẫu";
$searchModel = new ListManagementSearch();
$dataProvider = $searchModel->search(Yii::$app->request->queryParams);
if ($from !== "" && $to !== "") {

View File

@ -48,17 +48,17 @@ use yii\widgets\ActiveForm;
</li>
<li class="<?php if (Yii::$app->controller->id == "list-management") echo "active"; ?>">
<a href="<?php echo yii\helpers\Url::to(['/list-management']); ?>">
<i class="fa fa-list"></i> List Management
<i class="fa fa-list"></i> Quản mẫu
</a>
</li>
<li class="<?php if (Yii::$app->controller->id == "capture-logs") echo "active"; ?>">
<a href="<?php echo yii\helpers\Url::to(['/capture-logs']); ?>">
<i class="fa fa-camera"></i> Capture log
<i class="fa fa-camera"></i> Lịch sử hệ thống
</a>
</li>
<li class="<?php if (Yii::$app->controller->id == "control-logs") echo "active"; ?>">
<a href="<?php echo yii\helpers\Url::to(['/control-logs']); ?>">
<i class="fa fa-database"></i> Control log
<i class="fa fa-database"></i> Danh sách nhận diện
</a>
</li>
</ul>