update quyền mở cửa

This commit is contained in:
dongpd 2020-11-05 13:59:42 +07:00
parent 05545bafc9
commit 7cee5029b1
2 changed files with 2090 additions and 2032 deletions

File diff suppressed because it is too large Load Diff

View File

@ -51,9 +51,11 @@
<i class="fa fa-download fa-1-5x"></i> Xuất
</label>
{/if}
{if Yii::$app->user->can("deviceOpenDoors")}
<label class="action-button" onclick="openAllDoors(this);" data-href="{Url::to(['open-all-doors'])}">
<i class="fa fa-reply fa-1-5x"></i> Mở tất cả cửa
</label>
{/if}
<label class="action-button" onclick="_logs(this);" data-href="{Url::to(['logs'])}">
<i class="fa fa-file fa-1-5x"></i> Ghi nhận hệ thống
</label>