Commit b1c90c4b by Natthaphat Pankiang

ส่วนย่อยที่ 1 ,3 ,4 alert

parent 940ebaac
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
<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) * 10) : (((bu6Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu6(item)" class="cursor-pointer" (click)="selectBu6(item); showSuccess()"
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) * 10)+(i+1)}}
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
</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) * 10) : (((bu6Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu6(item)" class="cursor-pointer" (click)="selectBu6(item); showSuccess()"
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) * 10)+(i+1)}}
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
</tbody> </tbody>
<tbody *ngIf="filterBu7Modal().length"> <tbody *ngIf="filterBu7Modal().length">
<tr *ngFor="let item of filterBu7Modal() | slice:((bu7Modal.currentPage-1) * 10) : (((bu7Modal.currentPage-1) * 10) + 10);let i = index" <tr *ngFor="let item of filterBu7Modal() | slice:((bu7Modal.currentPage-1) * 10) : (((bu7Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu7(item)" class="cursor-pointer" (click)="selectBu7(item); showSuccess()"
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">
{{((bu7Modal.currentPage-1) * 10)+(i+1)}} {{((bu7Modal.currentPage-1) * 10)+(i+1)}}
......
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
<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) * 10) : (((bu3Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu3(item)" class="cursor-pointer" (click)="selectBu3(item); showSuccess()"
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) * 10)+(i+1)}}
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
</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) * 10) : (((bu3Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu3(item)" class="cursor-pointer" (click)="selectBu3(item); showSuccess()"
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) * 10)+(i+1)}}
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
</tbody> </tbody>
<tbody *ngIf="filterBu4Modal().length"> <tbody *ngIf="filterBu4Modal().length">
<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) * 10) : (((bu4Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu4(item)" class="cursor-pointer" (click)="selectBu4(item); showSuccess()"
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">
{{((bu4Modal.currentPage-1) * 10)+(i+1)}} {{((bu4Modal.currentPage-1) * 10)+(i+1)}}
......
...@@ -356,7 +356,7 @@ ...@@ -356,7 +356,7 @@
<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) * 10) : (((bu5Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu5(item)" class="cursor-pointer" (click)="selectBu5(item); showSuccess()"
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) * 10)+(i+1)}}
...@@ -368,7 +368,7 @@ ...@@ -368,7 +368,7 @@
</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) * 10) : (((bu5Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu5(item)" class="cursor-pointer" (click)="selectBu5(item); showSuccess()"
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) * 10)+(i+1)}}
...@@ -476,7 +476,7 @@ ...@@ -476,7 +476,7 @@
</tbody> </tbody>
<tbody *ngIf="filterBu6Modal().length"> <tbody *ngIf="filterBu6Modal().length">
<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) * 10) : (((bu6Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu6(item)" class="cursor-pointer" (click)="selectBu6(item); showSuccess()"
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">
{{((bu6Modal.currentPage-1) * 10)+(i+1)}} {{((bu6Modal.currentPage-1) * 10)+(i+1)}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment