thay doi filter va Viet hoa

This commit is contained in:
2020-12-29 14:28:08 +07:00
parent c9d0c24218
commit cb6c8fba32
12 changed files with 72 additions and 51 deletions

View File

@@ -41,14 +41,14 @@ class CaptureLogs extends \yii\db\ActiveRecord {
public function attributeLabels() {
return [
'id' => 'ID',
'time' => 'Time',
'image' => 'Live Image',
'time' => 'Thời gian',
'image' => 'Hình ảnh',
'status' => 'Status',
'remark' => 'Remark',
'staff_name' => "Name",
'staff_image' => "Registration Image",
'confidence' => 'Confidence',
'sync_status' => 'Sync Status'
'staff_image' => "Hình ảnh đăng kí",
'confidence' => 'Độ tin cậy',
'sync_status' => 'Trạng thái đồng bộ'
];
}

View File

@@ -45,14 +45,14 @@ class ListManagement extends \yii\db\ActiveRecord {
return [
'id' => 'ID',
'code' => 'ID',
'type' => 'Type',
'name' => 'Name',
'image' => 'Registration Image',
'gender' => 'Gender',
'birthday' => 'Birthday',
'telephone' => 'Telephone',
'address' => 'Department',
'time' => 'Registration time',
'type' => 'Loại',
'name' => 'Tên',
'image' => 'Hình ảnh đăng kí',
'gender' => 'Giới tính',
'birthday' => 'Ngày sinh',
'telephone' => 'Điện thoại',
'address' => 'Đơn vị',
'time' => 'Thời gian đăng kí',
'last_modified' => 'Last Modified'
];
}
@@ -85,8 +85,8 @@ class ListManagement extends \yii\db\ActiveRecord {
"bl" => "Blacklist"
];
public static $genderArray = [
"Male" => "Male",
"Female" => "Female"
"Male" => "Nam",
"Female" => "Nữ"
];
public static function nameArray() {