Commit f727f67e by Nakarin Luankla

UPDATE การจัดการข้อมูลองค์กร > ทะเบียนบริษัท

parent b2b90e96
...@@ -48,14 +48,13 @@ ...@@ -48,14 +48,13 @@
</div> </div>
<div class="page px-rem"> <div class="page px-rem">
<div class="overflow-auto rounded-top-0.65rem"> <div class="overflow-auto shadow-md rounded-t-md">
<table class="ti-custom-table ti-custom-table-head ti-custom-table-hover"> <table class="ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered">
<thead class="height-50px"> <thead>
<tr class="font-size-12px"> <tr>
<ng-container <ng-container
*ngFor="let item of ['ลำดับ','รหัสฝ่าย','รายละเอียดฝ่าย (ไทย)','รายละเอียดฝ่าย (อังกฤษ)','การจัดการ']; let f = first; let l = last"> *ngFor="let item of ['ลำดับ','รหัสฝ่าย','รายละเอียดฝ่าย (ไทย)','รายละเอียดฝ่าย (อังกฤษ)','การจัดการ']; let f = first; let l = last">
<th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary" <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary !text-center">
[class.!text-center]="f||l">
<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"> <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l">
<i class="ti ti-dots-vertical fs-l"></i> <i class="ti ti-dots-vertical fs-l"></i>
...@@ -74,10 +73,8 @@ ...@@ -74,10 +73,8 @@
<tbody *ngIf="bu1ListFilter().length"> <tbody *ngIf="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) * 10) : (((currentPage-1) * 10) + 10);let i = index">
<td class="flex justify-center"> <td class="text-center">{{((currentPage-1) * 10)+(i+1)}}</td>
{{((currentPage-1) * 10)+(i+1)}} <td class="text-center">{{item.bu1id}}</td>
</td>
<td>{{item.bu1id}}</td>
<td>{{item.tdesc}}</td> <td>{{item.tdesc}}</td>
<td>{{item.edesc}}</td> <td>{{item.edesc}}</td>
<td class="flex justify-center"> <td class="flex justify-center">
......
...@@ -51,14 +51,13 @@ ...@@ -51,14 +51,13 @@
</div> </div>
<div class="page px-rem"> <div class="page px-rem">
<div class="overflow-auto rounded-top-0.65rem"> <div class="overflow-auto shadow-md rounded-t-md">
<table class="ti-custom-table ti-custom-table-head ti-custom-table-hover"> <table class="ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered">
<thead class="height-50px"> <thead>
<tr class="font-size-12px"> <tr>
<ng-container <ng-container
*ngFor="let item of ['รหัสบริษัท','รายละเอียด (ไทย)','รายละเอียด (อังกฤษ)','การจัดการ']; let f = first; let l = last"> *ngFor="let item of ['รหัสบริษัท','รายละเอียด (ไทย)','รายละเอียด (อังกฤษ)','การจัดการ']; let f = first; let l = last">
<th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary" <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary !text-center">
[class.!text-center]="f||l">
<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"> <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l">
<i class="ti ti-dots-vertical fs-l"></i> <i class="ti ti-dots-vertical fs-l"></i>
...@@ -77,7 +76,7 @@ ...@@ -77,7 +76,7 @@
<tbody *ngIf="dataListFilter().length"> <tbody *ngIf="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) * 10) : (((currentPage-1) * 10) + 10);let i = index">
<td class="flex justify-center items-center"> <td class="text-center">
<input type="checkbox" class="ti-form-checkbox cursor-pointer" id="checkbox-{{item.data.code}}" [(ngModel)]="item.check"> <input type="checkbox" class="ti-form-checkbox cursor-pointer" id="checkbox-{{item.data.code}}" [(ngModel)]="item.check">
<label for="checkbox-{{item.data.code}}">&nbsp;{{item.data.code}}</label> <label for="checkbox-{{item.data.code}}">&nbsp;{{item.data.code}}</label>
</td> </td>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<!-- End Navigation Toggle --> <!-- End Navigation Toggle -->
</div> </div>
<div class="responsive-logo"> <!-- <div class="responsive-logo">
<a <a
class="responsive-logo-dark" class="responsive-logo-dark"
routerLink="/dashboard/sales" routerLink="/dashboard/sales"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
alt="logo" alt="logo"
class="mx-auto" class="mx-auto"
/></a> /></a>
</div> </div> -->
<div class="header-right"> <div class="header-right">
<div class="responsive-headernav"> <div class="responsive-headernav">
......
...@@ -1967,6 +1967,7 @@ select option:focus { ...@@ -1967,6 +1967,7 @@ select option:focus {
border-color: rgb(255 255 255 / 0.1); border-color: rgb(255 255 255 / 0.1);
} }
.ti-form-checkbox { .ti-form-checkbox {
margin-top: -3px;
flex-shrink: 0; flex-shrink: 0;
border-radius: 0.25rem; border-radius: 0.25rem;
--tw-border-opacity: 1; --tw-border-opacity: 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