update save serverKey, staff_id
This commit is contained in:
@@ -66,7 +66,10 @@
|
||||
],
|
||||
[
|
||||
'attribute' => 'name',
|
||||
'contentOptions' => ['class' => 'text-center'],
|
||||
'headerOptions' => ['class' => 'text-center']
|
||||
],
|
||||
[
|
||||
'attribute' => 'abbreviated_name',
|
||||
'headerOptions' => ['class' => 'text-center']
|
||||
],
|
||||
[
|
||||
@@ -86,12 +89,6 @@
|
||||
'headerOptions' => ['class' => 'text-center'],
|
||||
'value' => \app\helpers\ListManagementGrid::time()
|
||||
],
|
||||
[
|
||||
'attribute' => 'birthday',
|
||||
'contentOptions' => ['class' => 'text-center'],
|
||||
'headerOptions' => ['class' => 'text-center'],
|
||||
'value' => \app\helpers\ListManagementGrid::birthday()
|
||||
],
|
||||
[
|
||||
'attribute' => 'telephone',
|
||||
'contentOptions' => ['class' => 'text-center'],
|
||||
@@ -218,22 +215,22 @@
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 300px;position: absolute;" id="menu" class="hidden">
|
||||
<div style="width: 200px;position: absolute;" id="menu" class="hidden">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading text-bold">
|
||||
Operation menu
|
||||
Thao tác
|
||||
<i class="fa fa-remove pull-right" style="cursor: pointer;" onclick="_closeMenu();"></i>
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
<button onclick="_formModified(this);" data-href='{Url::to(["/list-management/form-update"])}'>Modified list</button>
|
||||
<button onclick="_delete(this);" data-href="{Url::to(["/list-management/delete"])}">Delete list</button>
|
||||
<button onclick="_formModified(this);" data-href='{Url::to(["/list-management/form-update"])}'>Sửa</button>
|
||||
<button onclick="_delete(this);" data-href="{Url::to(["/list-management/delete"])}">Xóa</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div style="width: 500px;position: absolute;right:0;top: 250px;" id='form' class="hidden">
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading text-bold">
|
||||
List management
|
||||
Quản lý mẫu
|
||||
<i class="fa fa-remove pull-right" style="cursor: pointer;" onclick="_close();"></i>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@@ -248,7 +245,7 @@
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Type</div>
|
||||
<div class="col-md-4 text-right">Danh sách</div>
|
||||
<div class="col-md-8">
|
||||
<select style="width: 100%;height: 26px;" name="Type">
|
||||
{html_options options=$typeArray}
|
||||
@@ -265,13 +262,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Name</div>
|
||||
<div class="col-md-4 text-right">Tên</div>
|
||||
<div class="col-md-8">
|
||||
<input type="text" name="Name">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Gender</div>
|
||||
<div class="col-md-4 text-right">Tên hiển thị</div>
|
||||
<div class="col-md-8">
|
||||
<input type="text" name="AbbreviatedName">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Giới tính</div>
|
||||
<div class="col-md-8">
|
||||
<select style="width: 100%;height: 26px;" name="Gender">
|
||||
{html_options options=$genderArray}
|
||||
@@ -279,19 +282,19 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Birthday</div>
|
||||
<div class="col-md-4 text-right">Ngày sinh</div>
|
||||
<div class="col-md-8">
|
||||
<input type="text" name="Birthday" id="birthday">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Telephone</div>
|
||||
<div class="col-md-4 text-right">Điện thoại</div>
|
||||
<div class="col-md-8">
|
||||
<input type="text" name="Telephone">
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-4 text-right">Department</div>
|
||||
<div class="col-md-4 text-right">Đơn vị</div>
|
||||
<div class="col-md-8">
|
||||
<input type="text" name="Address">
|
||||
</div>
|
||||
@@ -300,8 +303,8 @@
|
||||
</div>
|
||||
<div class="text-center">
|
||||
<input type="hidden" value="" name="ListManagementID">
|
||||
<button onclick="_update(this);" data-href='{Url::to(["/list-management/update"])}' id="save-btn">Save</button>
|
||||
<button onclick="_close();">Cancel</button>
|
||||
<button onclick="_update(this);" data-href='{Url::to(["/list-management/update"])}' id="save-btn">Lưu</button>
|
||||
<button onclick="_close();">Hủy</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -22,23 +22,24 @@
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Tên</th>
|
||||
<th>Tên hiển thị</th>
|
||||
<th>Đơn vị</th>
|
||||
<th>Hình ảnh đăng kí</th>
|
||||
<th>Code</th>
|
||||
<th>Company ID</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="sync-lists">
|
||||
{foreach from=$datas item=arr}
|
||||
<tr id="filters-{$arr.code}" onclick="choooseToSync(this);" style="cursor: pointer;" class="filters {if !in_array($arr.idStaff,$allID)}not-in-list{/if}" data-stt="false" data-id="{trim($arr.idStaff)}">
|
||||
<tr id="filters-{$arr.id}" onclick="choooseToSync(this);" style="cursor: pointer;" class="filters {if !in_array($arr.id,$allID)}not-in-list{/if}" data-stt="false" data-id="{trim($arr.id)}">
|
||||
<td>
|
||||
<div id="full-data-{trim($arr.idStaff)}" class="hidden">{json_encode($arr)}</div>
|
||||
{$arr.idStaff}
|
||||
{if in_array($arr.idStaff,$allID)}
|
||||
<div id="full-data-{trim($arr.id)}" class="hidden">{json_encode($arr)}</div>
|
||||
{$arr.code}
|
||||
{if in_array($arr.id,$allID)}
|
||||
<i class="fa fa-check-circle text-green"></i>
|
||||
{/if}
|
||||
</td>
|
||||
<td>{$arr.name}</td>
|
||||
<td>{$arr.abbreviated_name}</td>
|
||||
<td>{$arr.department}</td>
|
||||
<td>
|
||||
{foreach from=$arr.images item=img key=k}
|
||||
@@ -49,7 +50,6 @@
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
<td>{$arr.code}</td>
|
||||
<td>{$arr.id_company}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
|
||||
Reference in New Issue
Block a user