Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mySkill-x
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
angular
mySkill-x
Commits
6bdbd384
Commit
6bdbd384
authored
Mar 17, 2025
by
Nattana Chaiyamat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ทะเบียนพนักงาน
parent
c4ec200a
Show whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
269 additions
and
945 deletions
+269
-945
department-list.component.html
...iness-unit/department-list/department-list.component.html
+5
-5
department-register.component.html
...it/department-register/department-register.component.html
+1
-1
section-registration.component.html
.../section-registration/section-registration.component.html
+5
-5
sub-department-four.component.html
...it/sub-department-four/sub-department-four.component.html
+5
-5
sub-department-one.component.html
...unit/sub-department-one/sub-department-one.component.html
+5
-5
sub-department-three.component.html
.../sub-department-three/sub-department-three.component.html
+5
-5
sub-department-two.component.html
...unit/sub-department-two/sub-department-two.component.html
+5
-5
company-registration-page.component.html
...egistration-page/company-registration-page.component.html
+1
-1
sub-employee-registration.component.html
...yee-registration/sub-employee-registration.component.html
+106
-641
sub-employee-registration.component.ts
...loyee-registration/sub-employee-registration.component.ts
+6
-5
employee-categories.component.html
...on/employee-categories/employee-categories.component.html
+31
-67
employee-categories.component.ts
...tion/employee-categories/employee-categories.component.ts
+1
-0
employee-group-unit.component.html
...on/employee-group-unit/employee-group-unit.component.html
+28
-65
employee-group-unit.component.ts
...tion/employee-group-unit/employee-group-unit.component.ts
+1
-0
employee-level.component.html
...-description/employee-level/employee-level.component.html
+29
-66
employee-level.component.ts
...ob-description/employee-level/employee-level.component.ts
+1
-0
position-unit.component.html
...nts/job-description/position/position-unit.component.html
+29
-65
position-unit.component.ts
...nents/job-description/position/position-unit.component.ts
+1
-0
evaluation-cycle.component.html
...-manager/evaluation-cycle/evaluation-cycle.component.html
+2
-2
management-evaluation-cycle.component.html
...aluation-cycle/management-evaluation-cycle.component.html
+2
-2
No files found.
src/app/components/company-components/company-registration/branch-business-unit/department-list/department-list.component.html
View file @
6bdbd384
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu2ListLoading&&filterBu2Table().length"
>
<tbody
*
ngIf=
"!bu2ListLoading&&filterBu2Table().length"
>
<tr
<tr
*
ngFor=
"let item of filterBu2Table() | slice:((bu2Table.currentPage-1) *
10) : (((bu2Table.currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of filterBu2Table() | slice:((bu2Table.currentPage-1) *
bu2Table.pageSize) : (((bu2Table.currentPage-1) * bu2Table.pageSize) + bu2Table.pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu2id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu2id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -382,11 +382,11 @@
...
@@ -382,11 +382,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"filterBu1Modal().length"
>
<tbody
*
ngIf=
"filterBu1Modal().length"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<tr
*
ngFor=
"let item of filterBu1Modal() | slice:((bu1Modal.currentPage-1) *
10) : (((bu1Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu1Modal() | slice:((bu1Modal.currentPage-1) *
bu1Modal.pageSize) : (((bu1Modal.currentPage-1) * bu1Modal.pageSize) + bu1Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu1
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu1
(
item
)"
data-hs-overlay=
"#department-list-modal-add"
>
data-hs-overlay=
"#department-list-modal-add"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu1Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu1Modal.currentPage-1) *
bu1Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu1id}}
</td>
<td>
{{item.bu1id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -394,11 +394,11 @@
...
@@ -394,11 +394,11 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<tr
*
ngFor=
"let item of filterBu1Modal() | slice:((bu1Modal.currentPage-1) *
10) : (((bu1Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu1Modal() | slice:((bu1Modal.currentPage-1) *
bu1Modal.pageSize) : (((bu1Modal.currentPage-1) * bu1Modal.pageSize) + bu1Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu1
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu1
(
item
)"
data-hs-overlay=
"#department-list-modal-edit"
>
data-hs-overlay=
"#department-list-modal-edit"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu1Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu1Modal.currentPage-1) *
bu1Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu1id}}
</td>
<td>
{{item.bu1id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
...
src/app/components/company-components/company-registration/branch-business-unit/department-register/department-register.component.html
View file @
6bdbd384
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu1ListLoading&&bu1ListFilter().length"
>
<tbody
*
ngIf=
"!bu1ListLoading&&bu1ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu1ListFilter() | slice:((currentPage-1) *
10) : (((currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of bu1ListFilter() | slice:((currentPage-1) *
pageSize) : (((currentPage-1) * pageSize) + pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu1id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu1id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
...
src/app/components/company-components/company-registration/branch-business-unit/section-registration/section-registration.component.html
View file @
6bdbd384
...
@@ -105,7 +105,7 @@
...
@@ -105,7 +105,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu3ListLoading&&filterBu3Table().length"
>
<tbody
*
ngIf=
"!bu3ListLoading&&filterBu3Table().length"
>
<tr
<tr
*
ngFor=
"let item of filterBu3Table() | slice:((bu3Table.currentPage-1) *
10) : (((bu3Table.currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of filterBu3Table() | slice:((bu3Table.currentPage-1) *
bu3Table.pageSize) : (((bu3Table.currentPage-1) * bu3Table.pageSize) + bu3Table.pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu3id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu3id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -398,11 +398,11 @@
...
@@ -398,11 +398,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"filterBu2Modal().length"
>
<tbody
*
ngIf=
"filterBu2Modal().length"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<tr
*
ngFor=
"let item of filterBu2Modal() | slice:((bu2Modal.currentPage-1) *
10) : (((bu2Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu2Modal() | slice:((bu2Modal.currentPage-1) *
bu2Modal.pageSize) : (((bu2Modal.currentPage-1) * bu2Modal.pageSize) + bu2Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu2
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu2
(
item
)"
data-hs-overlay=
"#section-registration-modal-add"
>
data-hs-overlay=
"#section-registration-modal-add"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu2Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu2Modal.currentPage-1) *
bu2Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu2id}}
</td>
<td>
{{item.bu2id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -410,11 +410,11 @@
...
@@ -410,11 +410,11 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<tr
*
ngFor=
"let item of filterBu2Modal() | slice:((bu2Modal.currentPage-1) *
10) : (((bu2Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu2Modal() | slice:((bu2Modal.currentPage-1) *
bu2Modal.pageSize) : (((bu2Modal.currentPage-1) * bu2Modal.pageSize) + bu2Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu2
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu2
(
item
)"
data-hs-overlay=
"#section-registration-modal-edit"
>
data-hs-overlay=
"#section-registration-modal-edit"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu2Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu2Modal.currentPage-1) *
bu2Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu2id}}
</td>
<td>
{{item.bu2id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-four/sub-department-four.component.html
View file @
6bdbd384
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu7ListLoading&&filterBu7Table().length"
>
<tbody
*
ngIf=
"!bu7ListLoading&&filterBu7Table().length"
>
<tr
<tr
*
ngFor=
"let item of filterBu7Table() | slice:((bu7Table.currentPage-1) *
10) : (((bu7Table.currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of filterBu7Table() | slice:((bu7Table.currentPage-1) *
bu7Table.pageSize) : (((bu7Table.currentPage-1) * bu7Table.pageSize) + bu7Table.pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu7id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu7id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -398,11 +398,11 @@
...
@@ -398,11 +398,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"filterBu6Modal().length"
>
<tbody
*
ngIf=
"filterBu6Modal().length"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<tr
*
ngFor=
"let item of filterBu6Modal() | slice:((bu6Modal.currentPage-1) *
10) : (((bu6Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu6Modal() | slice:((bu6Modal.currentPage-1) *
bu6Modal.pageSize) : (((bu6Modal.currentPage-1) * bu6Modal.pageSize) + bu6Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu6
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu6
(
item
)"
data-hs-overlay=
"#sub-department-four-modal-add"
>
data-hs-overlay=
"#sub-department-four-modal-add"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu6Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu6Modal.currentPage-1) *
bu6Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu6id}}
</td>
<td>
{{item.bu6id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -410,11 +410,11 @@
...
@@ -410,11 +410,11 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<tr
*
ngFor=
"let item of filterBu6Modal() | slice:((bu6Modal.currentPage-1) *
10) : (((bu6Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu6Modal() | slice:((bu6Modal.currentPage-1) *
bu6Modal.pageSize) : (((bu6Modal.currentPage-1) * bu6Modal.pageSize) + bu6Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu6
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu6
(
item
)"
data-hs-overlay=
"#sub-department-four-modal-edit"
>
data-hs-overlay=
"#sub-department-four-modal-edit"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu6Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu6Modal.currentPage-1) *
bu6Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu6id}}
</td>
<td>
{{item.bu6id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-one/sub-department-one.component.html
View file @
6bdbd384
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu4ListLoading&&filterBu4Table().length"
>
<tbody
*
ngIf=
"!bu4ListLoading&&filterBu4Table().length"
>
<tr
<tr
*
ngFor=
"let item of filterBu4Table() | slice:((bu4Table.currentPage-1) *
10) : (((bu4Table.currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of filterBu4Table() | slice:((bu4Table.currentPage-1) *
bu4Table.pageSize) : (((bu4Table.currentPage-1) * bu4Table.pageSize) + bu4Table.pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu4id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu4id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -400,11 +400,11 @@
...
@@ -400,11 +400,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"filterBu3Modal().length"
>
<tbody
*
ngIf=
"filterBu3Modal().length"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<tr
*
ngFor=
"let item of filterBu3Modal() | slice:((bu3Modal.currentPage-1) *
10) : (((bu3Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu3Modal() | slice:((bu3Modal.currentPage-1) *
bu3Modal.pageSize) : (((bu3Modal.currentPage-1) * bu3Modal.pageSize) + bu3Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu3
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu3
(
item
)"
data-hs-overlay=
"#sub-department-one-modal-add"
>
data-hs-overlay=
"#sub-department-one-modal-add"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu3Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu3Modal.currentPage-1) *
bu3Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu3id}}
</td>
<td>
{{item.bu3id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -412,11 +412,11 @@
...
@@ -412,11 +412,11 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<tr
*
ngFor=
"let item of filterBu3Modal() | slice:((bu3Modal.currentPage-1) *
10) : (((bu3Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu3Modal() | slice:((bu3Modal.currentPage-1) *
bu3Modal.pageSize) : (((bu3Modal.currentPage-1) * bu3Modal.pageSize) + bu3Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu3
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu3
(
item
)"
data-hs-overlay=
"#sub-department-one-modal-edit"
>
data-hs-overlay=
"#sub-department-one-modal-edit"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu3Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu3Modal.currentPage-1) *
bu3Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu3id}}
</td>
<td>
{{item.bu3id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-three/sub-department-three.component.html
View file @
6bdbd384
...
@@ -104,7 +104,7 @@
...
@@ -104,7 +104,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu6ListLoading&&filterBu6Table().length"
>
<tbody
*
ngIf=
"!bu6ListLoading&&filterBu6Table().length"
>
<tr
<tr
*
ngFor=
"let item of filterBu6Table() | slice:((bu6Table.currentPage-1) *
10) : (((bu6Table.currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of filterBu6Table() | slice:((bu6Table.currentPage-1) *
bu6Table.pageSize) : (((bu6Table.currentPage-1) * bu6Table.pageSize) + bu6Table.pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu6id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu6id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -399,11 +399,11 @@
...
@@ -399,11 +399,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"filterBu5Modal().length"
>
<tbody
*
ngIf=
"filterBu5Modal().length"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<tr
*
ngFor=
"let item of filterBu5Modal() | slice:((bu5Modal.currentPage-1) *
10) : (((bu5Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu5Modal() | slice:((bu5Modal.currentPage-1) *
bu5Modal.pageSize) : (((bu5Modal.currentPage-1) * bu5Modal.pageSize) + bu5Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu5
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu5
(
item
)"
data-hs-overlay=
"#sub-department-three-modal-add"
>
data-hs-overlay=
"#sub-department-three-modal-add"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu5Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu5Modal.currentPage-1) *
bu5Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu5id}}
</td>
<td>
{{item.bu5id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -411,11 +411,11 @@
...
@@ -411,11 +411,11 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<tr
*
ngFor=
"let item of filterBu5Modal() | slice:((bu5Modal.currentPage-1) *
10) : (((bu5Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu5Modal() | slice:((bu5Modal.currentPage-1) *
bu5Modal.pageSize) : (((bu5Modal.currentPage-1) * bu5Modal.pageSize) + bu5Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu5
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu5
(
item
)"
data-hs-overlay=
"#sub-department-three-modal-edit"
>
data-hs-overlay=
"#sub-department-three-modal-edit"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu5Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu5Modal.currentPage-1) *
bu5Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu5id}}
</td>
<td>
{{item.bu5id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
...
src/app/components/company-components/company-registration/branch-business-unit/sub-department-two/sub-department-two.component.html
View file @
6bdbd384
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu5ListLoading&&filterBu5Table().length"
>
<tbody
*
ngIf=
"!bu5ListLoading&&filterBu5Table().length"
>
<tr
<tr
*
ngFor=
"let item of filterBu5Table() | slice:((bu5Table.currentPage-1) *
10) : (((bu5Table.currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of filterBu5Table() | slice:((bu5Table.currentPage-1) *
bu5Table.pageSize) : (((bu5Table.currentPage-1) * bu5Table.pageSize) + bu5Table.pageSize
);let i = index"
>
<td
td
class=
"text-center"
>
<td
td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu5id}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.bu5id}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -398,11 +398,11 @@
...
@@ -398,11 +398,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"filterBu4Modal().length"
>
<tbody
*
ngIf=
"filterBu4Modal().length"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<ng-container
*
ngIf=
"currentModal=='add'"
>
<tr
*
ngFor=
"let item of filterBu4Modal() | slice:((bu4Modal.currentPage-1) *
10) : (((bu4Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu4Modal() | slice:((bu4Modal.currentPage-1) *
bu4Modal.pageSize) : (((bu4Modal.currentPage-1) * bu4Modal.pageSize) + bu4Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu4
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu4
(
item
)"
data-hs-overlay=
"#sub-department-two-modal-add"
>
data-hs-overlay=
"#sub-department-two-modal-add"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu4Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu4Modal.currentPage-1) *
bu4Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu4id}}
</td>
<td>
{{item.bu4id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -410,11 +410,11 @@
...
@@ -410,11 +410,11 @@
</tr>
</tr>
</ng-container>
</ng-container>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<ng-container
*
ngIf=
"currentModal=='edit'"
>
<tr
*
ngFor=
"let item of filterBu4Modal() | slice:((bu4Modal.currentPage-1) *
10) : (((bu4Modal.currentPage-1) * 10) + 10
);let i = index"
<tr
*
ngFor=
"let item of filterBu4Modal() | slice:((bu4Modal.currentPage-1) *
bu4Modal.pageSize) : (((bu4Modal.currentPage-1) * bu4Modal.pageSize) + bu4Modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectBu4
(
item
)"
class=
"cursor-pointer"
(
click
)="
selectBu4
(
item
)"
data-hs-overlay=
"#sub-department-two-modal-edit"
>
data-hs-overlay=
"#sub-department-two-modal-edit"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((bu4Modal.currentPage-1) *
10
)+(i+1)}}
{{((bu4Modal.currentPage-1) *
bu4Modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu4id}}
</td>
<td>
{{item.bu4id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
...
src/app/components/company-components/company-registration/company-registration-page/company-registration-page.component.html
View file @
6bdbd384
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!dataLoading&&dataListFilter().length"
>
<tbody
*
ngIf=
"!dataLoading&&dataListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of dataListFilter() | slice:((currentPage-1) *
10) : (((currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of dataListFilter() | slice:((currentPage-1) *
pageSize) : (((currentPage-1) * pageSize) + pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
*
ngIf=
"item.data.code!='100'"
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
<input
*
ngIf=
"item.data.code!='100'"
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.code}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
id=
"checkbox-{{item.data.code}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
...
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.html
View file @
6bdbd384
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex
pr-2 pb-2rem
"
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
{{numDataListChecked}} Selected
</label>
{{numDataListChecked}} Selected
</label>
</div>
</div>
<div
class=
"mx-1 flex items-center"
>
<div
class=
"mx-1 flex items-center"
>
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
"check-boxall"
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
'check-boxall'
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
<i
class=
"fs-l transition-all duration-200"
<i
class=
"fs-l transition-all duration-200"
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
...
@@ -16,22 +16,6 @@
...
@@ -16,22 +16,6 @@
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
</div>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-between"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
data-hs-overlay=
"#sub-employee-registration-modal-upload"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ri-add-line"
></i>
นำเข้าข้อมูล
</button>
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</a>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<div
class=
"relative shadow-md"
>
...
@@ -44,6 +28,15 @@
...
@@ -44,6 +28,15 @@
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
data-hs-overlay=
"#sub-employee-registration-modal-upload"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay=
"#sub-employee-registration-modal"
(
click
)="
modalType=
'add'
;
selectEmployee
()"
>
data-hs-overlay=
"#sub-employee-registration-modal"
(
click
)="
modalType=
'add'
;
selectEmployee
()"
>
<i
class=
"ri-add-line"
></i>
<i
class=
"ri-add-line"
></i>
...
@@ -58,12 +51,12 @@
...
@@ -58,12 +51,12 @@
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button class="ti-btn ti-btn-soft-info h-45px m-0 shadow-md">
<button class="ti-btn ti-btn-soft-info h-45px m-0 shadow-md">
<i class="ri-printer-line"></i>
<i class="ri-printer-line"></i>
Print
Print
</button>
</button>
</div>
</div>
-->
<!-- <div class="px-1">
<!-- <div class="px-1">
<button class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<button class="ti-btn ti-btn-soft-warning h-45px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
...
@@ -81,7 +74,7 @@
...
@@ -81,7 +74,7 @@
<thead>
<thead>
<tr>
<tr>
<ng-container
<ng-container
*
ngFor=
"let item of ['','รหัสพนักงาน','ชื่อ','นามสกุล','ตำแหน่ง','
หน่วยงาน','
การจัดการ']; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['','รหัสพนักงาน','ชื่อ','นามสกุล','ตำแหน่ง','การจัดการ']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
" px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<th
scope=
"col"
class=
" px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<!-- <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l&&!f">
<!-- <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l&&!f">
...
@@ -110,7 +103,7 @@
...
@@ -110,7 +103,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!employee.loading&&employeeFilter().length"
>
<tbody
*
ngIf=
"!employee.loading&&employeeFilter().length"
>
<tr
<tr
*
ngFor=
"let item of employeeFilter() | slice:((currentPage-1) *
10) : (((currentPage-1) * 10) + 10
);let i = index"
>
*
ngFor=
"let item of employeeFilter() | slice:((currentPage-1) *
pageSize) : (((currentPage-1) * pageSize) + pageSize
);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.employeeId}}"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.employeeId}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
...
@@ -121,7 +114,6 @@
...
@@ -121,7 +114,6 @@
<td>
{{item.data.fname}}
</td>
<td>
{{item.data.fname}}
</td>
<td>
{{item.data.lname}}
</td>
<td>
{{item.data.lname}}
</td>
<td>
{{item.data.position.tdesc}}
</td>
<td>
{{item.data.position.tdesc}}
</td>
<td>
{{item.data.jobCode.bu1.tdesc}}
</td>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
data-hs-overlay=
"#sub-employee-registration-modal"
<i
class=
"ti ti-edit cursor-pointer i-gray fs-l px-1"
data-hs-overlay=
"#sub-employee-registration-modal"
(
click
)="
modalType=
'update'
;
selectEmployee
(
item
.
data
)"
></i>
(
click
)="
modalType=
'update'
;
selectEmployee
(
item
.
data
)"
></i>
...
@@ -134,43 +126,8 @@
...
@@ -134,43 +126,8 @@
</table>
</table>
</div>
</div>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<app-pagination
[
totalItems
]="
employeeFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
<ul
class=
"ti-pagination"
>
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((currentPage-1) * 10)+1}} to {{employeeFilter().length
<10
?
employeeFilter
().
length:
(
currentPage=
=page.length
?
((
currentPage
*
10
)
-
((
currentPage
*
10
)
-
employeeFilter
().
length
)
)
:
(
currentPage
*
10
)
)
}}
of
{{
employeeFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</div>
</div>
...
@@ -260,7 +217,7 @@
...
@@ -260,7 +217,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-empgroup-table-modal"
data-hs-overlay=
"#sub-employee-registration-empgroup-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
empGroupListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(empGroupListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -312,7 +269,7 @@
...
@@ -312,7 +269,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-emp-table-modal"
data-hs-overlay=
"#sub-employee-registration-emp-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
employeeModalListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(employeeModalListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -336,7 +293,7 @@
...
@@ -336,7 +293,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu1-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu1-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu1ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu1ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -360,7 +317,7 @@
...
@@ -360,7 +317,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu2-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu2-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu2ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu2ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -384,7 +341,7 @@
...
@@ -384,7 +341,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu3-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu3-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu3ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu3ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -408,7 +365,7 @@
...
@@ -408,7 +365,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu4-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu4-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu4ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu4ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -432,7 +389,7 @@
...
@@ -432,7 +389,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu5-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu5-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu5ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu5ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -455,7 +412,7 @@
...
@@ -455,7 +412,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu6-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu6-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu6ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu6ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -478,7 +435,7 @@
...
@@ -478,7 +435,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-bu7-table-modal"
data-hs-overlay=
"#sub-employee-registration-bu7-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
bu7ListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(bu7ListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -502,7 +459,7 @@
...
@@ -502,7 +459,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-position-table-modal"
data-hs-overlay=
"#sub-employee-registration-position-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
positionListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(positionListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -526,7 +483,7 @@
...
@@ -526,7 +483,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-jobcode-table-modal"
data-hs-overlay=
"#sub-employee-registration-jobcode-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
jobcodeListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(jobcodeListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -550,7 +507,7 @@
...
@@ -550,7 +507,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-branch-table-modal"
data-hs-overlay=
"#sub-employee-registration-branch-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
branchListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(branchListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -574,7 +531,7 @@
...
@@ -574,7 +531,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-emptype-table-modal"
data-hs-overlay=
"#sub-employee-registration-emptype-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
empTypeListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(empTypeListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -598,7 +555,7 @@
...
@@ -598,7 +555,7 @@
</button>
</button>
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
<button
type=
"button"
class=
"flex items-center text-gray-500 dark:text-white/70"
data-hs-overlay=
"#sub-employee-registration-pl-table-modal"
data-hs-overlay=
"#sub-employee-registration-pl-table-modal"
(
click
)="
modal
.
search=
''
;
searchModalChange
(
plListFilter
())"
>
(
click
)="
modal
.
pageSize=
10;modal.
search='';searchModalChange(plListFilter())"
>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
<i
class=
"ri-search-line cursor-pointer text-gray"
></i>
</button>
</button>
</div>
</div>
...
@@ -647,6 +604,11 @@
...
@@ -647,6 +604,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#position-unit-component-upload-modal"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#position-unit-component-upload-modal"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
(
click
)="
uploadFile
()"
[
disabled
]="!
selectedFile
"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
(
click
)="
uploadFile
()"
[
disabled
]="!
selectedFile
"
...
@@ -795,11 +757,11 @@
...
@@ -795,11 +757,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!empGroup.loading&&empGroupListFilter().length"
>
<tbody
*
ngIf=
"!empGroup.loading&&empGroupListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of empGroupListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of empGroupListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
empGroup
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
empGroup
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.groupId}}
</td>
<td>
{{item.groupId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -808,45 +770,9 @@
...
@@ -808,45 +770,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
empGroupListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{empGroupListFilter().length
<10
?
empGroupListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
empGroupListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
empGroupListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -923,11 +849,11 @@
...
@@ -923,11 +849,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu1.loading&&bu1ListFilter().length"
>
<tbody
*
ngIf=
"!bu1.loading&&bu1ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu1ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu1ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu1
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu1
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu1id}}
</td>
<td>
{{item.bu1id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -936,44 +862,9 @@
...
@@ -936,44 +862,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu1ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu1ListFilter().length
<10
?
bu1ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu1ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu1ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1050,11 +941,11 @@
...
@@ -1050,11 +941,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu2.loading&&bu2ListFilter().length"
>
<tbody
*
ngIf=
"!bu2.loading&&bu2ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu2ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu2ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu2
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu2
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu2id}}
</td>
<td>
{{item.bu2id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1063,44 +954,9 @@
...
@@ -1063,44 +954,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu2ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu2ListFilter().length
<10
?
bu2ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu2ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu2ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1177,11 +1033,11 @@
...
@@ -1177,11 +1033,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu3.loading&&bu3ListFilter().length"
>
<tbody
*
ngIf=
"!bu3.loading&&bu3ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu3ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu3ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu3
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu3
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu3id}}
</td>
<td>
{{item.bu3id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1190,44 +1046,9 @@
...
@@ -1190,44 +1046,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu3ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu3ListFilter().length
<10
?
bu3ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu3ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu3ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1304,11 +1125,11 @@
...
@@ -1304,11 +1125,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu4.loading&&bu4ListFilter().length"
>
<tbody
*
ngIf=
"!bu4.loading&&bu4ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu4ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu4ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu4
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu4
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu4id}}
</td>
<td>
{{item.bu4id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1317,44 +1138,9 @@
...
@@ -1317,44 +1138,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu4ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu4ListFilter().length
<10
?
bu4ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu4ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu4ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1431,11 +1217,11 @@
...
@@ -1431,11 +1217,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu5.loading&&bu5ListFilter().length"
>
<tbody
*
ngIf=
"!bu5.loading&&bu5ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu5ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu5ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu5
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu5
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu5id}}
</td>
<td>
{{item.bu5id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1444,44 +1230,9 @@
...
@@ -1444,44 +1230,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu5ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu5ListFilter().length
<10
?
bu5ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu5ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu5ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1558,11 +1309,11 @@
...
@@ -1558,11 +1309,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu6.loading&&bu6ListFilter().length"
>
<tbody
*
ngIf=
"!bu6.loading&&bu6ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu6ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu6ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu6
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu6
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu6id}}
</td>
<td>
{{item.bu6id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1571,44 +1322,9 @@
...
@@ -1571,44 +1322,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu6ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu6ListFilter().length
<10
?
bu6ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu6ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu6ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1685,11 +1401,11 @@
...
@@ -1685,11 +1401,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!bu7.loading&&bu7ListFilter().length"
>
<tbody
*
ngIf=
"!bu7.loading&&bu7ListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of bu7ListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of bu7ListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu7
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
bu7
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.bu7id}}
</td>
<td>
{{item.bu7id}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1698,44 +1414,9 @@
...
@@ -1698,44 +1414,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
bu7ListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{bu7ListFilter().length
<10
?
bu7ListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
bu7ListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
bu7ListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1812,11 +1493,11 @@
...
@@ -1812,11 +1493,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!position.loading&&positionListFilter().length"
>
<tbody
*
ngIf=
"!position.loading&&positionListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of positionListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of positionListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
position
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
position
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.positionId}}
</td>
<td>
{{item.positionId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1825,45 +1506,9 @@
...
@@ -1825,45 +1506,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
positionListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{positionListFilter().length
<10
?
positionListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
positionListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
positionListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -1940,11 +1585,11 @@
...
@@ -1940,11 +1585,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!jobcode.loading&&jobcodeListFilter().length"
>
<tbody
*
ngIf=
"!jobcode.loading&&jobcodeListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of jobcodeListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of jobcodeListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
jobCode
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
jobCode
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.jobcodeId}}
</td>
<td>
{{item.jobcodeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -1953,45 +1598,9 @@
...
@@ -1953,45 +1598,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
jobcodeListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{jobcodeListFilter().length
<10
?
jobcodeListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
jobcodeListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
jobcodeListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -2068,11 +1677,11 @@
...
@@ -2068,11 +1677,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!branch.loading&&branchListFilter().length"
>
<tbody
*
ngIf=
"!branch.loading&&branchListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of branchListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of branchListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
branch
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
branch
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.branchId}}
</td>
<td>
{{item.branchId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -2081,45 +1690,9 @@
...
@@ -2081,45 +1690,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
branchListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{branchListFilter().length
<10
?
branchListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
branchListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
branchListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -2196,11 +1769,11 @@
...
@@ -2196,11 +1769,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!empType.loading&&empTypeListFilter().length"
>
<tbody
*
ngIf=
"!empType.loading&&empTypeListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of empTypeListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of empTypeListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
empType
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
empType
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.codeId}}
</td>
<td>
{{item.codeId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -2209,45 +1782,9 @@
...
@@ -2209,45 +1782,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
empTypeListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{empTypeListFilter().length
<10
?
empTypeListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
empTypeListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
empTypeListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
@@ -2297,7 +1834,7 @@
...
@@ -2297,7 +1834,7 @@
<thead>
<thead>
<tr>
<tr>
<ng-container
<ng-container
*
ngFor=
"let item of ['รหัสพนักงาน','ชื่อ','นามสกุล','ตำแหน่ง'
,'หน่วยงาน'
]; let f = first; let l = last; let i = index"
>
*
ngFor=
"let item of ['รหัสพนักงาน','ชื่อ','นามสกุล','ตำแหน่ง']; let f = first; let l = last; let i = index"
>
<th
scope=
"col"
class=
" px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<th
scope=
"col"
class=
" px-10px py-10px bg-soft-secondary text-primary !text-center"
>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<span
class=
"font-size-12px font-weight-700"
>
{{ item }}
</span>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
>
<div
class=
"absolute top-1/2 transform -translate-y-1/2 right-0"
>
...
@@ -2326,7 +1863,7 @@
...
@@ -2326,7 +1863,7 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!employee.loading&&employeeModalListFilter().length"
>
<tbody
*
ngIf=
"!employee.loading&&employeeModalListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of employeeModalListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of employeeModalListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
boss
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
boss
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
...
@@ -2335,52 +1872,15 @@
...
@@ -2335,52 +1872,15 @@
<td>
{{item.fname}}
</td>
<td>
{{item.fname}}
</td>
<td>
{{item.lname}}
</td>
<td>
{{item.lname}}
</td>
<td>
{{item.position.tdesc}}
</td>
<td>
{{item.position.tdesc}}
</td>
<td>
{{item.jobCode.bu1.tdesc}}
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
</div>
</div>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
employeeModalListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{employeeModalListFilter().length
<10
?
employeeModalListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
employeeModalListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
employeeModalListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</div>
</div>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
...
@@ -2458,11 +1958,11 @@
...
@@ -2458,11 +1958,11 @@
</tbody>
</tbody>
<tbody
*
ngIf=
"!empType.loading&&plListFilter().length"
>
<tbody
*
ngIf=
"!empType.loading&&plListFilter().length"
>
<tr
<tr
*
ngFor=
"let item of plListFilter() | slice:((modal.currentPage-1) *
10) : (((modal.currentPage-1) * 10) + 10
);let i = index"
*
ngFor=
"let item of plListFilter() | slice:((modal.currentPage-1) *
modal.pageSize) : (((modal.currentPage-1) * modal.pageSize) + modal.pageSize
);let i = index"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
personalLevel
',
item
)"
class=
"cursor-pointer"
(
click
)="
selectDataModal
(
this
.
employee
.
select
,'
personalLevel
',
item
)"
data-hs-overlay=
"#sub-employee-registration-modal"
>
data-hs-overlay=
"#sub-employee-registration-modal"
>
<td
class=
"flex justify-center"
>
<td
class=
"flex justify-center"
>
{{((modal.currentPage-1) *
10
)+(i+1)}}
{{((modal.currentPage-1) *
modal.pageSize
)+(i+1)}}
</td>
</td>
<td>
{{item.plId}}
</td>
<td>
{{item.plId}}
</td>
<td>
{{item.tdesc}}
</td>
<td>
{{item.tdesc}}
</td>
...
@@ -2471,44 +1971,9 @@
...
@@ -2471,44 +1971,9 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 my-5"
*
ngIf=
"modal.page.length"
>
<app-pagination
[
totalItems
]="
plListFilter
().
length
"
[
pageSize
]="
modal
.
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
modal
.
currentPage =
$event"
<li>
(
pageSizeChange
)="
modal
.
pageSize =
$event;modal.currentPage
=
1
"
></app-pagination>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of modal.page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&&modal.currentPage!=1&&modal.currentPage!=2&&modal.currentPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==modal.currentPage-1||item==modal.currentPage||item==modal.currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=modal.currentPage"
(
click
)="
modal
.
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==modal.page.length-2&&modal.currentPage!=modal.page.length&&modal.currentPage!=modal.page.length-1&&modal.currentPage!=modal.page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
modal
.
currentPage =
(modal.currentPage
>
modal.page.length-1 ? modal.currentPage: modal.currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((modal.currentPage-1) * 10)+1}} to {{plListFilter().length
<10
?
plListFilter
().
length:
(
modal
.
currentPage=
=modal.page.length
?
((
modal
.
currentPage
*
10
)
-
((
modal
.
currentPage
*
10
)
-
plListFilter
().
length
)
)
:
(
modal
.
currentPage
*
10
)
)
}}
of
{{
plListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-end mt-2rem mb-1rem space-x-4"
>
<button
type=
"button"
<button
type=
"button"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
class=
"hs-dropdown-toggle ti-btn ti-border font-medium bg-white text-gray-700 shadow-sm align-middle hover:bg-gray-50 focus:ring-offset-white focus:ring-primary dark:bg-bgdark dark:hover:bg-black/20 dark:border-white/10 dark:text-white/70 dark:hover:text-white dark:focus:ring-offset-white/10"
...
...
src/app/components/company-components/employee-registration/sub-employee-registration/sub-employee-registration.component.ts
View file @
6bdbd384
...
@@ -43,6 +43,7 @@ export interface DataModal {
...
@@ -43,6 +43,7 @@ export interface DataModal {
search
:
string
,
search
:
string
,
currentPage
:
number
,
currentPage
:
number
,
page
:
number
[]
page
:
number
[]
pageSize
:
number
}
}
@
Component
({
@
Component
({
selector
:
'app-sub-employee-registration'
,
selector
:
'app-sub-employee-registration'
,
...
@@ -54,6 +55,7 @@ export class SubEmployeeRegistrationComponent {
...
@@ -54,6 +55,7 @@ export class SubEmployeeRegistrationComponent {
employee
:
DataEmployee
=
{
loading
:
false
,
select
:
new
MyEmployeeModel
({}),
dataList
:
[]
}
employee
:
DataEmployee
=
{
loading
:
false
,
select
:
new
MyEmployeeModel
({}),
dataList
:
[]
}
currentPage
=
1
currentPage
=
1
pageSize
=
10
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
search
=
""
search
=
""
modalType
:
'add'
|
'update'
|
'delete'
|
'deleteGroup'
=
'add'
modalType
:
'add'
|
'update'
|
'delete'
|
'deleteGroup'
=
'add'
...
@@ -61,7 +63,8 @@ export class SubEmployeeRegistrationComponent {
...
@@ -61,7 +63,8 @@ export class SubEmployeeRegistrationComponent {
modal
:
DataModal
=
{
modal
:
DataModal
=
{
search
:
""
,
search
:
""
,
currentPage
:
1
,
currentPage
:
1
,
page
:
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
)
page
:
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
),
pageSize
:
10
}
}
numDataListChecked
=
0
numDataListChecked
=
0
...
@@ -464,8 +467,7 @@ export class SubEmployeeRegistrationComponent {
...
@@ -464,8 +467,7 @@ export class SubEmployeeRegistrationComponent {
return
this
.
employeeModal
.
dataList
.
filter
(
x
=>
x
.
employeeId
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
return
this
.
employeeModal
.
dataList
.
filter
(
x
=>
x
.
employeeId
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
x
.
fname
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
x
.
fname
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
x
.
lname
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
x
.
lname
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
x
.
position
.
tdesc
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
())
||
x
.
position
.
tdesc
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
()))
x
.
jobCode
.
tdesc
.
toLowerCase
().
includes
(
this
.
modal
.
search
.
toLowerCase
()))
}
}
...
@@ -512,8 +514,7 @@ export class SubEmployeeRegistrationComponent {
...
@@ -512,8 +514,7 @@ export class SubEmployeeRegistrationComponent {
x
.
data
.
employeeId
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
employeeId
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
fname
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
fname
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
lname
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
lname
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
position
.
tdesc
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
())
||
x
.
data
.
position
.
tdesc
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
()))
x
.
data
.
jobCode
.
tdesc
.
toLowerCase
().
includes
(
this
.
search
.
toLowerCase
()))
}
}
selectEmployee
(
data
?:
EmployeeModel
)
{
selectEmployee
(
data
?:
EmployeeModel
)
{
if
(
this
.
modalType
==
'update'
&&
!
data
)
{
if
(
this
.
modalType
==
'update'
&&
!
data
)
{
...
...
src/app/components/company-components/job-description/employee-categories/employee-categories.component.html
View file @
6bdbd384
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex
pr-2 pb-2rem
"
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
{{numDataListChecked}} Selected
</label>
{{numDataListChecked}} Selected
</label>
</div>
</div>
<div
class=
"mx-1 flex items-center"
>
<div
class=
"mx-1 flex items-center"
>
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
"check-boxall"
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
'check-boxall'
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
<i
class=
"fs-l transition-all duration-200"
<i
class=
"fs-l transition-all duration-200"
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
...
@@ -16,28 +16,11 @@
...
@@ -16,28 +16,11 @@
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
</div>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-between"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
data-hs-overlay=
"#employee-categories-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ri-add-line"
></i>
นำเข้าข้อมูล
</button>
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</a>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<div
class=
"relative shadow-md"
>
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
<input
type=
"text"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
style=
"height: 40px;"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<div
<div
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<i
class=
"ri-search-line text-gray"
></i>
<i
class=
"ri-search-line text-gray"
></i>
...
@@ -45,26 +28,35 @@
...
@@ -45,26 +28,35 @@
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<button
type=
"button"
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
data-hs-overlay=
"#employee-categories-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay=
"#employee-categories-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
data-hs-overlay=
"#employee-categories-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
<i
class=
"ri-add-line"
></i>
<i
class=
"ri-add-line"
></i>
Add
Add
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
20
px m-0 shadow-md"
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
45
px m-0 shadow-md"
data-hs-overlay=
"#employee-categories-page-alert-modal"
data-hs-overlay=
"#employee-categories-page-alert-modal"
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
<i
class=
"ri-delete-bin-6-line"
></i>
<i
class=
"ri-delete-bin-6-line"
></i>
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -108,9 +100,9 @@
...
@@ -108,9 +100,9 @@
<tr
<tr
*
ngFor=
"let item of emp_typeListFilter() | slice:((currentPage-1) * 10) : (((currentPage-1) * 10) + 10);let i = index"
>
*
ngFor=
"let item of emp_typeListFilter() | slice:((currentPage-1) * 10) : (((currentPage-1) * 10) + 10);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.codeId}}
"
id=
"checkbox-{{item.data.codeId}}"
[(
ngModel
)]="
item
.
check
"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
(
ngModelChange
)="
dataListCheck
()"
>
</td>
</td>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<label
for=
"checkbox-{{item.data.codeId}}"
>
{{item.data.codeId}}
</label>
<label
for=
"checkbox-{{item.data.codeId}}"
>
{{item.data.codeId}}
</label>
...
@@ -130,43 +122,8 @@
...
@@ -130,43 +122,8 @@
</table>
</table>
</div>
</div>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<app-pagination
[
totalItems
]="
emp_typeListFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
<ul
class=
"ti-pagination"
>
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((currentPage-1) * 10)+1}} to {{emp_typeListFilter().length
<10
?
emp_typeListFilter
().
length:
(
currentPage=
=page.length
?
((
currentPage
*
10
)
-
((
currentPage
*
10
)
-
emp_typeListFilter
().
length
)
)
:
(
currentPage
*
10
)
)
}}
of
{{
emp_typeListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</div>
</div>
...
@@ -214,11 +171,13 @@
...
@@ -214,11 +171,13 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body"
style=
"margin-top: 40px;"
>
<div
class=
"ti-modal-body"
style=
"margin-top: 40px;"
>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสประเภทพนักงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label"
>
รหัสประเภทพนักงาน
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
codeId
"
>
[(
ngModel
)]="
dataSelect
.
codeId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดประเภทพนักงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดประเภทพนักงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดประเภทพนักงาน (อังกฤษ)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดประเภทพนักงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
...
@@ -322,6 +281,11 @@
...
@@ -322,6 +281,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#employee-categories-upload-modal"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
data-hs-overlay=
"#employee-categories-upload-modal"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
...
...
src/app/components/company-components/job-description/employee-categories/employee-categories.component.ts
View file @
6bdbd384
...
@@ -17,6 +17,7 @@ export interface DataModel {
...
@@ -17,6 +17,7 @@ export interface DataModel {
})
})
export
class
EmployeeCategories
{
export
class
EmployeeCategories
{
currentPage
=
1
currentPage
=
1
pageSize
=
10
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
search
=
""
search
=
""
modalStatus
=
'add'
modalStatus
=
'add'
...
...
src/app/components/company-components/job-description/employee-group-unit/employee-group-unit.component.html
View file @
6bdbd384
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex
pr-2 pb-2rem
"
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
{{numDataListChecked}} Selected
</label>
{{numDataListChecked}} Selected
</label>
</div>
</div>
<div
class=
"mx-1 flex items-center"
>
<div
class=
"mx-1 flex items-center"
>
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
"check-boxall"
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
'check-boxall'
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
<i
class=
"fs-l transition-all duration-200"
<i
class=
"fs-l transition-all duration-200"
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
...
@@ -16,28 +16,11 @@
...
@@ -16,28 +16,11 @@
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
</div>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-between"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
data-hs-overlay=
"#employee-group-unit-component-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ri-add-line"
></i>
นำเข้าข้อมูล
</button>
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</a>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<div
class=
"relative shadow-md"
>
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
<input
type=
"text"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
style=
"height: 40px;"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<div
<div
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<i
class=
"ri-search-line text-gray"
></i>
<i
class=
"ri-search-line text-gray"
></i>
...
@@ -45,26 +28,35 @@
...
@@ -45,26 +28,35 @@
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<button
type=
"button"
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
data-hs-overlay=
"#employee-group-unit-component-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay=
"#employee-group-unit-component-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
data-hs-overlay=
"#employee-group-unit-component-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
<i
class=
"ri-add-line"
></i>
<i
class=
"ri-add-line"
></i>
Add
Add
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
20
px m-0 shadow-md"
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
45
px m-0 shadow-md"
data-hs-overlay=
"#employee-group-unit-component-page-alert-modal"
data-hs-overlay=
"#employee-group-unit-component-page-alert-modal"
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
<i
class=
"ri-delete-bin-6-line"
></i>
<i
class=
"ri-delete-bin-6-line"
></i>
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -126,44 +118,8 @@
...
@@ -126,44 +118,8 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<app-pagination
[
totalItems
]="
emp_groupListFilter
().
length
"
[
pageSize
]="
pageSize
"
<ul
class=
"ti-pagination"
>
(
pageChange
)="
currentPage =
$event"
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((currentPage-1) * 10)+1}} to {{emp_groupListFilter().length
<10
?
emp_groupListFilter
().
length:
(
currentPage=
=page.length
?
((
currentPage
*
10
)
-
((
currentPage
*
10
)
-
emp_groupListFilter
().
length
)
)
:
(
currentPage
*
10
)
)
}}
of
{{
emp_groupListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</div>
</div>
...
@@ -212,11 +168,13 @@
...
@@ -212,11 +168,13 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสกลุ่มพนักงาน
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสกลุ่มพนักงาน
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
groupId
"
>
[(
ngModel
)]="
dataSelect
.
groupId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดกลุ่มพนักงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดกลุ่มพนักงาน (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดกลุ่มพนักงาน (อังกฤษ)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดกลุ่มพนักงาน (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
...
@@ -321,6 +279,11 @@
...
@@ -321,6 +279,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#employee-group-unit-component-upload-modal"
data-hs-overlay=
"#employee-group-unit-component-upload-modal"
...
...
src/app/components/company-components/job-description/employee-group-unit/employee-group-unit.component.ts
View file @
6bdbd384
...
@@ -18,6 +18,7 @@ export interface DataModel {
...
@@ -18,6 +18,7 @@ export interface DataModel {
})
})
export
class
EmployeeGroupUnit
implements
OnInit
{
export
class
EmployeeGroupUnit
implements
OnInit
{
currentPage
=
1
currentPage
=
1
pageSize
=
10
selectedItems
:
string
[]
=
[];
selectedItems
:
string
[]
=
[];
modalStatus
:
'add'
|
'edit'
|
'delete'
|
'deleteGroup'
=
'add'
modalStatus
:
'add'
|
'edit'
|
'delete'
|
'deleteGroup'
=
'add'
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
...
...
src/app/components/company-components/job-description/employee-level/employee-level.component.html
View file @
6bdbd384
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex
pr-2 pb-2rem
"
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
...
@@ -8,36 +8,19 @@
...
@@ -8,36 +8,19 @@
{{numDataListChecked}} Selected
</label>
{{numDataListChecked}} Selected
</label>
</div>
</div>
<div
class=
"mx-1 flex items-center"
>
<div
class=
"mx-1 flex items-center"
>
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
"check-boxall"
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
'check-boxall'
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
<i
class=
"fs-l transition-all duration-200"
<i
class=
"fs-l transition-all duration-200"
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
</button>
</button>
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
</div>
</div>
</div>
<div
class=
"flex justify-between"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
data-hs-overlay=
"#employee-level-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ri-add-line"
></i>
นำเข้าข้อมูล
</button>
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</a>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<div
class=
"relative shadow-md"
>
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
<input
type=
"text"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
style=
"height: 40px;"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<div
<div
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<i
class=
"ri-search-line text-gray"
></i>
<i
class=
"ri-search-line text-gray"
></i>
...
@@ -45,25 +28,34 @@
...
@@ -45,25 +28,34 @@
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<button
type=
"button"
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
data-hs-overlay=
"#employee-level-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay=
"#employee-level-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
data-hs-overlay=
"#employee-level-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
<i
class=
"ri-add-line"
></i>
<i
class=
"ri-add-line"
></i>
Add
Add
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
20
px m-0 shadow-md"
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
45
px m-0 shadow-md"
data-hs-overlay=
"#employee-level-page-alert-modal"
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
data-hs-overlay=
"#employee-level-page-alert-modal"
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
<i
class=
"ri-delete-bin-6-line"
></i>
<i
class=
"ri-delete-bin-6-line"
></i>
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -106,8 +98,8 @@
...
@@ -106,8 +98,8 @@
<tr
<tr
*
ngFor=
"let item of plListFilter() | slice:((currentPage-1) * 10) : (((currentPage-1) * 10) + 10);let i = index"
>
*
ngFor=
"let item of plListFilter() | slice:((currentPage-1) * 10) : (((currentPage-1) * 10) + 10);let i = index"
>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
<input
type=
"checkbox"
class=
"ti-form-checkbox cursor-pointer"
id=
"checkbox-{{item.data.plId}}"
id=
"checkbox-{{item.data.plId}}"
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
[(
ngModel
)]="
item
.
check
"
(
ngModelChange
)="
dataListCheck
()"
>
</td>
</td>
<td
class=
"text-center"
>
<td
class=
"text-center"
>
<label
for=
"checkbox-{{item.data.plId}}"
>
{{item.data.plId}}
</label>
<label
for=
"checkbox-{{item.data.plId}}"
>
{{item.data.plId}}
</label>
...
@@ -127,43 +119,8 @@
...
@@ -127,43 +119,8 @@
</table>
</table>
</div>
</div>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<app-pagination
[
totalItems
]="
plListFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
<ul
class=
"ti-pagination"
>
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((currentPage-1) * 10)+1}} to {{plListFilter().length
<10
?
plListFilter
().
length:
(
currentPage=
=page.length
?
((
currentPage
*
10
)
-
((
currentPage
*
10
)
-
plListFilter
().
length
)
)
:
(
currentPage
*
10
)
)
}}
of
{{
plListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</div>
</div>
...
@@ -214,7 +171,8 @@
...
@@ -214,7 +171,8 @@
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
plId
"
>
[(
ngModel
)]="
dataSelect
.
plId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดระดับพนักงาน(JL) (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดระดับพนักงาน(JL) (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดระดับพนักงาน(JL) (อังกฤษ)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดระดับพนักงาน(JL) (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
...
@@ -254,6 +212,11 @@
...
@@ -254,6 +212,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#employee-level-upload-modal"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#employee-level-upload-modal"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
(
click
)="
uploadFile
()"
[
disabled
]="!
selectedFile
"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
(
click
)="
uploadFile
()"
[
disabled
]="!
selectedFile
"
...
...
src/app/components/company-components/job-description/employee-level/employee-level.component.ts
View file @
6bdbd384
...
@@ -17,6 +17,7 @@ export interface DataModel {
...
@@ -17,6 +17,7 @@ export interface DataModel {
})
})
export
class
EmployeeLevel
implements
OnInit
{
export
class
EmployeeLevel
implements
OnInit
{
currentPage
=
1
currentPage
=
1
pageSize
=
10
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
page
=
Array
.
from
({
length
:
1
},
(
_
,
i
)
=>
i
+
1
);
search
=
""
search
=
""
modalStatus
=
'add'
modalStatus
=
'add'
...
...
src/app/components/company-components/job-description/position/position-unit.component.html
View file @
6bdbd384
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"w-full min-height-50px mb-10px justify-between items-center"
>
<div
class=
"flex
pr-2 pb-2rem
"
>
<div
class=
"flex
justify-between
"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<div
class=
"flex items-center"
>
<div
class=
"flex items-center"
>
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
<input
type=
"checkbox"
class=
"ti-form-checkbox pointer-events-none"
id=
"hs-default-checkbox"
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
{{numDataListChecked}} Selected
</label>
{{numDataListChecked}} Selected
</label>
</div>
</div>
<div
class=
"mx-1 flex items-center"
>
<div
class=
"mx-1 flex items-center"
>
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
"check-boxall"
<button
(
click
)="
isDataListCheckedAll =
!isDataListCheckedAll;dataListCheckAll()"
id=
'check-boxall'
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
class=
"focus:ring-2 focus:ring-primary rounded-sm flex item-center"
>
<i
class=
"fs-l transition-all duration-200"
<i
class=
"fs-l transition-all duration-200"
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
[
ngClass
]="{'
ri-checkbox-multiple-line
text-gray-500
'
:
!
isDataListCheckedAll
,
'
ri-checkbox-multiple-fill
text-primary
'
:
isDataListCheckedAll
}"
></i>
...
@@ -16,28 +16,11 @@
...
@@ -16,28 +16,11 @@
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
<label
class=
"text-sm text-gray-500 ml-2"
for=
"check-boxall"
>
Select All
</label>
</div>
</div>
</div>
</div>
</div>
<div
class=
"flex justify-between"
>
<div
class=
"flex pr-2"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
data-hs-overlay=
"#position-unit-component-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ri-add-line"
></i>
นำเข้าข้อมูล
</button>
<a
class=
"mx-2 justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px text-center text-secondary border-secondary border-b-2 align-items-end"
href=
"javascript:void(0);"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</a>
</div>
</div>
<div
class=
"flex justify-end"
>
<div
class=
"flex justify-end"
>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<div
class=
"relative shadow-md"
>
<div
class=
"relative shadow-md"
>
<input
type=
"text"
id=
"hs-leading-icon"
name=
"hs-leading-icon"
<input
type=
"text"
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
class=
"ti-form-input ltr:pl-11 rtl:pr-11 focus:z-10 "
placeholder=
"Search by No. or Name"
placeholder=
"Search by No. or Name"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
style=
"height: 40px;"
[(
ngModel
)]="
search
"
(
ngModelChange
)="
searchChange
()"
>
<div
<div
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
class=
"absolute inset-y-0 ltr:left-0 rtl:right-0 flex items-center pointer-events-none z-20 ltr:pl-4 rtl:pr-4"
>
<i
class=
"ri-search-line text-gray"
></i>
<i
class=
"ri-search-line text-gray"
></i>
...
@@ -45,26 +28,35 @@
...
@@ -45,26 +28,35 @@
</div>
</div>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-20px m-0 shadow-md"
<button
type=
"button"
class=
" h-45px ti-btn ti-btn bg-pink-500/10 text-pink-500 hover:text-white hover:bg-pink-500 ring-offset-white focus:ring-pink-500 dark:focus:ring-offset-white/10 h-10 m-0 shadow-md"
data-hs-overlay=
"#position-unit-component-upload-modal"
(
click
)="
fileInput
.
value =
''
;
selectedFile=
null;selectedFileName
=
'กรุณาเลือกไฟล์'"
>
<i
class=
"ti ti-file-plus"
></i>
import
</button>
</div>
<div
class=
"px-1"
>
<button
type=
"button"
class=
"ti-btn ti-btn-soft-secondary h-45px m-0 shadow-md"
data-hs-overlay=
"#position-unit-component-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
data-hs-overlay=
"#position-unit-component-page-modal"
(
click
)="
modalStatus=
'add'
;
setData
()"
>
<i
class=
"ri-add-line"
></i>
<i
class=
"ri-add-line"
></i>
Add
Add
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<div
class=
"px-1"
>
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
20
px m-0 shadow-md"
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-danger h-
45
px m-0 shadow-md"
data-hs-overlay=
"#position-unit-component-page-alert-modal"
data-hs-overlay=
"#position-unit-component-page-alert-modal"
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
(
click
)="
modalStatus=
'deleteGroup'
;
setData
()"
>
<i
class=
"ri-delete-bin-6-line"
></i>
<i
class=
"ri-delete-bin-6-line"
></i>
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button
href=
"javascript:void(0);"
class=
"ti-btn ti-btn-soft-warning h-
20
px m-0 shadow-md"
>
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-
45
px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -128,43 +120,8 @@
...
@@ -128,43 +120,8 @@
</tbody>
</tbody>
</table>
</table>
</div>
</div>
<nav
class=
"pagination-style-3 overflow-auto my-5"
*
ngIf=
"page.length"
>
<app-pagination
[
totalItems
]="
positionListFilter
().
length
"
[
pageSize
]="
pageSize
"
(
pageChange
)="
currentPage =
$event"
<ul
class=
"ti-pagination"
>
(
pageSizeChange
)="
pageSize =
$event;currentPage
=
1
"
></app-pagination>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage-1
||
1
)"
>
<i
class=
"ri-arrow-left-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
<li
*
ngFor=
"let item of page;let f = first;let l = last"
>
<ng-container
*
ngIf=
"item==3&¤tPage!=1&¤tPage!=2&¤tPage!=3"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
<ng-container
*
ngIf=
"(f||l)||(item==currentPage-1||item==currentPage||item==currentPage+1)"
>
<a
class=
"page-link"
href=
"javascript:void(0);"
[
class
.
active
]="
item=
=currentPage"
(
click
)="
currentPage=
item"
>
{{item}}
</a>
</ng-container>
<ng-container
*
ngIf=
"item==page.length-2&¤tPage!=page.length&¤tPage!=page.length-1&¤tPage!=page.length-2"
>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
><i
class=
"ri-more-line"
></i>
</a>
</ng-container>
</li>
<li>
<a
aria-label=
"anchor"
class=
"page-link"
href=
"javascript:void(0);"
(
click
)="
currentPage =
(currentPage
>
page.length-1 ? currentPage: currentPage+1 )">
<i
class=
"ri-arrow-right-s-line align-middle rtl:rotate-180"
></i>
</a>
</li>
</ul>
<ul
class=
"nav-tabs mt-3"
>
<span>
Show {{((currentPage-1) * 10)+1}} to {{positionListFilter().length
<10
?
positionListFilter
().
length:
(
currentPage=
=page.length
?
((
currentPage
*
10
)
-
((
currentPage
*
10
)
-
positionListFilter
().
length
)
)
:
(
currentPage
*
10
)
)
}}
of
{{
positionListFilter
().
length
}}
items
</
span
>
</ul>
</nav>
</div>
</div>
...
@@ -212,11 +169,13 @@
...
@@ -212,11 +169,13 @@
</div>
</div>
</div>
</div>
<div
class=
"ti-modal-body "
>
<div
class=
"ti-modal-body "
>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสตำแหน่ง
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"input-label"
class=
"ti-form-label mt-2rem"
>
รหัสตำแหน่ง
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 "
<input
type=
"text"
id=
"input-label"
class=
"ti-form-input w-1/2 "
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[
ngClass
]="{'
bg-input-readonly
'
:modalStatus=
='edit'}"
[
readonly
]="
modalStatus=
='edit'"
[(
ngModel
)]="
dataSelect
.
positionId
"
>
[(
ngModel
)]="
dataSelect
.
positionId
"
>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดตำแหน่ง (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<label
for=
"detail_th"
class=
"ti-form-label mt-2rem"
>
รายละเอียดตำแหน่ง (ไทย)
<span
class=
"text-danger"
>
*
</span></label>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<input
type=
"text"
id=
"detail_th"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
tdesc
"
>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดตำแหน่ง (อังกฤษ)
</label>
<label
for=
"detail_eng"
class=
"ti-form-label mt-2rem"
>
รายละเอียดตำแหน่ง (อังกฤษ)
</label>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
<input
type=
"text"
id=
"detail_eng"
class=
"ti-form-input h-16"
[(
ngModel
)]="
dataSelect
.
edesc
"
>
...
@@ -320,6 +279,11 @@
...
@@ -320,6 +279,11 @@
<i
class=
"ti ti-upload"
></i>
<i
class=
"ti ti-upload"
></i>
</button>
</button>
</div>
</div>
<div
class=
"flex justify-center mt-2rem "
>
<h1
class=
"cursor-pointer justify-center -mb-px inline-flex items-center gap-2 font-weight-500 font-size-12px
text-center text-secondary border-secondary border-b-2 align-items-end"
(
click
)="
downloadFile
()"
>
ดาวน์โหลดตัวอย่างไฟล์
</h1>
</div>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<div
class=
"flex justify-center mt-2rem mb-1rem space-x-4"
>
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
<button
type=
"submit"
class=
"ti-btn ti-btn-secondary"
data-hs-overlay=
"#position-unit-component-upload-modal"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
data-hs-overlay=
"#position-unit-component-upload-modal"
[
class
.
ti-btn-disabled
]="!
selectedFile
"
...
...
src/app/components/company-components/job-description/position/position-unit.component.ts
View file @
6bdbd384
...
@@ -19,6 +19,7 @@ export interface DataModel {
...
@@ -19,6 +19,7 @@ export interface DataModel {
})
})
export
class
PositionUnitComponent
implements
OnInit
{
export
class
PositionUnitComponent
implements
OnInit
{
currentPage
=
1
currentPage
=
1
pageSize
=
10
selectedItems
:
string
[]
=
[];
selectedItems
:
string
[]
=
[];
search
=
""
search
=
""
selectedFile
:
File
|
null
=
null
;
selectedFile
:
File
|
null
=
null
;
...
...
src/app/components/competency-assessment/evaluation-cycle-manager/evaluation-cycle/evaluation-cycle.component.html
View file @
6bdbd384
...
@@ -44,12 +44,12 @@
...
@@ -44,12 +44,12 @@
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
...
src/app/components/performance-management-evaluation/evaluation-cycle-performance/management-evaluation-cycle/management-evaluation-cycle.component.html
View file @
6bdbd384
...
@@ -44,12 +44,12 @@
...
@@ -44,12 +44,12 @@
Delete
Delete
</button>
</button>
</div>
</div>
<div
class=
"px-1"
>
<
!-- <
div class="px-1">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<button href="javascript:void(0);" class="ti-btn ti-btn-soft-warning h-20px m-0 shadow-md">
<i class="ti ti-book fs-l"></i>
<i class="ti ti-book fs-l"></i>
Help
Help
</button>
</button>
</div>
</div>
-->
</div>
</div>
</div>
</div>
</div>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment