Commit cd8b43e6 by sawit

แสดง ลำดับ

parent 68c5ab8e
...@@ -39,10 +39,7 @@ ...@@ -39,10 +39,7 @@
<table class="table whitespace-nowrap min-w-full ti-custom-table-hover"> <table class="table whitespace-nowrap min-w-full ti-custom-table-hover">
<thead> <thead>
<tr class="border-b border-defaultborder"> <tr class="border-b border-defaultborder">
<th scope="col" class="!text-start"> <th scope="col" class="!text-start">{{"No." | translate}}</th>
<input class="form-check-input check-all" type="checkbox" id="all-products"
(change)="toggleAll($event)" [checked]="allSelected" aria-label="...">
</th>
<th scope="col" class="text-start">{{"Employee" | translate}}</th> <th scope="col" class="text-start">{{"Employee" | translate}}</th>
<th scope="col" class="text-start">{{"Position" | translate}}</th> <th scope="col" class="text-start">{{"Position" | translate}}</th>
<th scope="col" class="text-start">{{"Bu4" | translate}}</th> <th scope="col" class="text-start">{{"Bu4" | translate}}</th>
...@@ -55,12 +52,9 @@ ...@@ -55,12 +52,9 @@
</thead> </thead>
<tbody> <tbody>
@if (pagedList.length > 0) { @if (pagedList.length > 0) {
@for (item of pagedList; track item.employeeId) { @for (item of pagedList; track item.employeeId; let i = $index) {
<tr class="border border-defaultborder dark:border-defaultborder/10"> <tr class="border border-defaultborder dark:border-defaultborder/10">
<td class="product-checkbox"> <td class="product-checkbox">{{ (pageIndex * pageSize) + i + 1 }}</td>
<input class="form-check-input" type="checkbox" [checked]="selectedItems.get(item.employeeId) || false"
(change)="onCheckboxChange(item.employeeId)" aria-label="...">
</td>
<td> <td>
<div class="flex items-center"> <div class="flex items-center">
<span class="avatar avatar-sm p-1 me-1 bg-light !rounded-full"> <span class="avatar avatar-sm p-1 me-1 bg-light !rounded-full">
......
...@@ -144,5 +144,6 @@ ...@@ -144,5 +144,6 @@
"Change Password":"Change Password", "Change Password":"Change Password",
"Enter new password":"Enter new password", "Enter new password":"Enter new password",
"Confirm new password":"Confirm new password", "Confirm new password":"Confirm new password",
"Bu4" : "Sub Team" "Bu4" : "Sub Team",
"No." : "No."
} }
...@@ -144,5 +144,6 @@ ...@@ -144,5 +144,6 @@
"Change Password":"เปลี่ยนรหัสผ่าน", "Change Password":"เปลี่ยนรหัสผ่าน",
"Enter new password":"กรอกรหัสผ่านใหม่", "Enter new password":"กรอกรหัสผ่านใหม่",
"Confirm new password":"ยืนยันรหัสผ่านใหม่", "Confirm new password":"ยืนยันรหัสผ่านใหม่",
"Bu4" : "ทีมงาน" "Bu4" : "ทีมงาน",
"No." : "ลำดับ"
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment