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

@@ -68,7 +68,8 @@
[
'attribute' => 'gender',
'contentOptions' => ['class' => 'text-center'],
'headerOptions' => ['class' => 'text-center']
'headerOptions' => ['class' => 'text-center'],
'value' => \app\helpers\ListManagementGrid::gender($genderArray)
],
[
'attribute' => 'image',
@@ -109,29 +110,33 @@
</div>
<div class="col-md-2" style="padding-right: 30px;">
<h4>Tìm kiếm dữ liệu</h4>
<div class="form-group">
<label class="control-label">Từ</label>
<input type="text" class="form-control datepicker" value="{$f|date_format:"H:i d/m/Y"}" name="From">
{*<div class="form-group">
<label class="control-label">Từ</label>
<input type="text" class="form-control datepicker" value="{$f|date_format:"H:i d/m/Y"}" name="From">
</div>
<div class="form-group">
<label class="control-label">Đến</label>
<input type="text" class="form-control datepicker" value="{$t|date_format:"H:i d/m/Y"}" name="To">
<label class="control-label">Đến</label>
<input type="text" class="form-control datepicker" value="{$t|date_format:"H:i d/m/Y"}" name="To">
</div>*}
<div class="form-group">
<label class="control-label">ID</label>
<input type="text" class="form-control" value="{Yii::$app->request->get("id")}" name="IDSearch">
</div>
<div class="form-group">
<label class="control-label">Name</label>
<label class="control-label">Tên</label>
<input type="text" class="form-control" value="{Yii::$app->request->get("name")}" name="NameSearch">
</div>
<div class="form-group">
<label class="control-label">Type</label>
<label class="control-label">Loại</label>
<select class="form-control" name="TypeSearch">
<option value="all">All</option>
<option value="all">Tất cả</option>
{html_options options=$typeArray selected=Yii::$app->request->get("type")}
</select>
</div>
<div class="form-group">
<label class="control-label">Gender</label>
<label class="control-label">Giới tính</label>
<select class="form-control" name="GenderSearch">
<option value="all">All</option>
<option value="all">Tất cả</option>
{html_options options=$genderArray selected=Yii::$app->request->get("gender")}
</select>
</div>

View File

@@ -3,9 +3,9 @@
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Department</th>
<th>Registration Image</th>
<th>Tên</th>
<th>Đơn vị</th>
<th>Hình ảnh đăng kí</th>
<th>Code</th>
<th>Company ID</th>
</tr>

View File

@@ -3,12 +3,12 @@
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Gender</th>
<th>Registration Image</th>
<th>Birthday</th>
<th>Telephone</th>
<th>Department</th>
<th>Tên</th>
<th>Giới tính</th>
<th>Hình ảnh đăng kí</th>
<th>Ngày sinh</th>
<th>Điện thoại</th>
<th>Đơn vị</th>
</tr>
</thead>
<tbody id="sync-lists">

View File

@@ -3,14 +3,14 @@
<thead>
<tr>
<th>ID</th>
<th>Type</th>
<th>Name</th>
<th>Gender</th>
<th>Registration Image</th>
<th>Registration time</th>
<th>Birthday</th>
<th>Telephone</th>
<th>Department</th>
<th>Loại</th>
<th>Tên</th>
<th>Giới tính</th>
<th>Hình ảnh đăng kí</th>
<th>Thời gian đăng kí</th>
<th>Ngày sinh</th>
<th>Điện thoại</th>
<th>Đơn vị</th>
</tr>
</thead>
<tbody id="sync-lists">