Commit 940ebaac by kantavee

ทะเบียนส่วน เเละส่วนย่อยที่ 2 alert

parent aa203179
......@@ -197,7 +197,7 @@
ย้อนกลับ
</button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#department-list-alert-modal">
data-hs-overlay="#section-registration-alert-modal">
บันทึกข้อมูล
</a>
</div>
......@@ -284,7 +284,7 @@
ย้อนกลับ
</button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#department-list-alert-modal">
data-hs-overlay="#section-registration-alert-modal">
บันทึกข้อมูล
</a>
</div>
......@@ -356,7 +356,7 @@
<tbody *ngIf="filterBu2Modal().length">
<ng-container *ngIf="currentModal=='add'">
<tr *ngFor="let item of filterBu2Modal() | slice:((bu2Modal.currentPage-1) * 10) : (((bu2Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu2(item)"
class="cursor-pointer" (click)="selectBu2(item); showSuccess()"
data-hs-overlay="#section-registration-modal-add">
<td class="flex justify-center">
{{((bu2Modal.currentPage-1) * 10)+(i+1)}}
......@@ -368,7 +368,7 @@
</ng-container>
<ng-container *ngIf="currentModal=='edit'">
<tr *ngFor="let item of filterBu2Modal() | slice:((bu2Modal.currentPage-1) * 10) : (((bu2Modal.currentPage-1) * 10) + 10);let i = index"
class="cursor-pointer" (click)="selectBu2(item)"
class="cursor-pointer" (click)="selectBu2(item); showSuccess()"
data-hs-overlay="#section-registration-modal-edit">
<td class="flex justify-center">
{{((bu2Modal.currentPage-1) * 10)+(i+1)}}
......@@ -476,7 +476,7 @@
</tbody>
<tbody *ngIf="filterBu3Modal().length">
<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="#section-registration-modal-add">
<td class="flex justify-center">
{{((bu3Modal.currentPage-1) * 10)+(i+1)}}
......@@ -523,7 +523,7 @@
</div>
</div>
<div id="department-list-alert-modal" class="hs-overlay hidden ti-modal">
<div id="section-registration-alert-modal" class="hs-overlay hidden ti-modal">
<div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center">
<div class="max-h-full overflow-hidden ti-modal-content w-full">
<div class="ti-modal-header">
......@@ -532,7 +532,7 @@
</h3>
<div class="flex justify-end">
<button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay="#department-list-alert-modal">
data-hs-overlay="#section-registration-alert-modal">
<span class="sr-only">Close</span>
<i class="ti ti-circle-x fs-xxl"></i>
</button>
......@@ -555,7 +555,7 @@
ย้อนกลับ
</button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#department-list-alert-modal" (click)="addBu3()">
data-hs-overlay="#section-registration-alert-modal" (click)="addBu3()">
บันทึกข้อมูล
</a>
</div>
......
......@@ -197,7 +197,7 @@
ย้อนกลับ
</button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#department-list-alert-modal">
data-hs-overlay="#sub-department-two-alert-modal">
บันทึกข้อมูล
</a>
</div>
......@@ -284,7 +284,7 @@
ย้อนกลับ
</button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#department-list-alert-modal">
data-hs-overlay="#sub-department-two-alert-modal">
บันทึกข้อมูล
</a>
</div>
......@@ -356,7 +356,7 @@
<tbody *ngIf="filterBu4Modal().length">
<ng-container *ngIf="currentModal=='add'">
<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-two-modal-add">
<td class="flex justify-center">
{{((bu4Modal.currentPage-1) * 10)+(i+1)}}
......@@ -368,7 +368,7 @@
</ng-container>
<ng-container *ngIf="currentModal=='edit'">
<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-two-modal-edit">
<td class="flex justify-center">
{{((bu4Modal.currentPage-1) * 10)+(i+1)}}
......@@ -476,7 +476,7 @@
</tbody>
<tbody *ngIf="filterBu5Modal().length">
<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-two-modal-add">
<td class="flex justify-center">
{{((bu5Modal.currentPage-1) * 10)+(i+1)}}
......@@ -523,7 +523,7 @@
</div>
</div>
<div id="department-list-alert-modal" class="hs-overlay hidden ti-modal">
<div id="sub-department-two-alert-modal" class="hs-overlay hidden ti-modal">
<div class="hs-overlay-open:mt-7 ti-modal-box mt-0 ease-out h-[calc(100%-3.5rem)] flex items-center">
<div class="max-h-full overflow-hidden ti-modal-content w-full">
<div class="ti-modal-header">
......@@ -532,7 +532,7 @@
</h3>
<div class="flex justify-end">
<button type="button" class="hs-dropdown-toggle ti-modal-clode-btn text-danger"
data-hs-overlay="#department-list-alert-modal">
data-hs-overlay="#sub-department-two-alert-modal">
<span class="sr-only">Close</span>
<i class="ti ti-circle-x fs-xxl"></i>
</button>
......@@ -555,7 +555,7 @@
ย้อนกลับ
</button>
<a class="ti-btn ti-btn-success" href="javascript:void(0);"
data-hs-overlay="#department-list-alert-modal" (click)="addBu5()">
data-hs-overlay="#sub-department-two-alert-modal" (click)="addBu5()">
บันทึกข้อมูล
</a>
</div>
......
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