department-register.component.html 28 KB
Newer Older
1 2 3 4 5 6 7 8 9 10
<div class="flex justify-end">
    <div class="px-1">
        <div class="input-wrapper">
            <input type="text" class="ti-form-input" placeholder="Search by No. or Name" />
            <div class="icon">
                <i class="ri-search-line"></i>
            </div>
        </div>
    </div>
    <div class="px-1">
Nattana Chaiyamat committed
11 12 13
        <button type="button" class="button-blue-light" (click)="openModal('add','m',false)">
            <i class="ri-add-line"></i>Add
        </button>
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100
    </div>
    <div class="px-1">
        <button type="button" class="button-purple-light"><i class="ri-printer-line"></i> Print</button>
    </div>
    <div class="px-1">
        <button type="button" class="button-yellow-light">
            <svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none" xmlns="http://www.w3.org/2000/svg"
                stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
                <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff"
                    stroke-width="2.4">
                    <path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                    <path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                    <path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                    <path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                        stroke-linecap="round"></path>
                    <path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                        stroke-linecap="round"></path>
                    <path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                        stroke-linecap="round"></path>
                    <path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                        stroke-linecap="round">
                    </path>
                </g>
                <g id="SVGRepo_iconCarrier">
                    <path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                    <path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                    <path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                    <path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                        stroke-linecap="round"></path>
                    <path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                        stroke-linecap="round"></path>
                    <path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                        stroke-linecap="round"></path>
                    <path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                        stroke-linecap="round">
                    </path>
                </g>
            </svg>Help
        </button>
    </div>
</div>

<div class="body-content">
    <ul class="nav-tabs">
        <li class="nav-item">
            <a [class.active]="true" class="nav-link active">นำเข้าข้อมูล</a>
        </li>
        <li class="nav-item-text flex items-end">
            <a class="nav-link-text">ดาวโหลดตัวอย่างไฟล์</a>
        </li>
    </ul>
    <div *ngIf="true" class="tab-pane">
        <div class="overflow-auto shadow-gray-smoke">
            <table class="ti-custom-table ti-custom-table-head">
                <thead class="bg-gray-50 dark:bg-black/20">
                    <tr>
                        <ng-container
                            *ngFor="let item of ['ลำดับ','รหัสฝ่าย','รายละเอียดฝ่าย (ไทย)','รายละเอียดฝ่าย (อังกฤษ)','การจัดการ']; let f = first; let l = last">
                            <th scope="col" class="relative head-table" [class.!text-center]="f||l">
                                <span>{{ item }}</span>
                                <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l">
                                    <svg class="head-table-icon" xmlns="http://www.w3.org/2000/svg" width="16"
                                        height="16" fill="currentColor" viewBox="0 0 16 16">
                                        <path
                                            d="M9.5 13a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0zm0-5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0z">
                                        </path>
                                    </svg>
                                </div>
                            </th>
                        </ng-container>
                    </tr>
                </thead>
                <tbody>
                    <tr *ngFor="let item of[
                    ['80812', 'ลูกค้าสัมพันธ์', 'Customer Relations'],
                    ['30305', 'การตลาด', 'Marketing'],
                    ['310101', 'งานบัญชี', 'Accounting'],
                    ['70711', 'โลจิสติกส์', 'Logistics'],
                    ['40408', 'เทคโนโลยีสารสนเทศ', 'IT']];let i = index">
                        <td class="body-table-center">{{0+""+(i+1)}}</td>
                        <td>{{item[0]}}</td>
                        <td>{{item[1]}}</td>
                        <td>{{item[2]}}</td>
                        <td class="body-table-center">
                            <div class="px-1">
                                <svg width="16" height="16" viewBox="0 0 24 24" id="Layer_1" data-name="Layer 1"
Nattana Chaiyamat committed
101 102
                                    xmlns="http://www.w3.org/2000/svg" fill="#64748b" stroke="#64748b"
                                    class="cursor-pointer" (click)="openModal('edit','m',false)">
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
                                    <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                                    <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                                    <g id="SVGRepo_iconCarrier">
                                        <defs>
                                            <style>
                                                .cls-1 {
                                                    fill: none;
                                                    stroke: #64748b;
                                                    stroke-miterlimit: 10;
                                                    stroke-width: 1.91px;
                                                }
                                            </style>
                                        </defs>
                                        <polyline class="cls-1"
                                            points="20.59 12 20.59 22.5 1.5 22.5 1.5 3.41 12.96 3.41">
                                        </polyline>
                                        <path class="cls-1"
                                            d="M12,15.82l-4.77.95L8.18,12l9.71-9.71A2.69,2.69,0,0,1,19.8,1.5h0a2.7,2.7,0,0,1,2.7,2.7h0a2.69,2.69,0,0,1-.79,1.91Z">
                                        </path>
                                    </g>
                                </svg>
                            </div>
                            <div class="px-1">
                                <svg width="16" height="16" viewBox="0 0 24 24" fill="none"
Nattana Chaiyamat committed
127
                                    xmlns="http://www.w3.org/2000/svg" stroke="#64748b" class="cursor-pointer">
128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154
                                    <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                                    <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                                    <g id="SVGRepo_iconCarrier">
                                        <path
                                            d="M1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25V3.75ZM22.5 5.25C22.9142 5.25 23.25 4.91421 23.25 4.5C23.25 4.08579 22.9142 3.75 22.5 3.75V5.25ZM1.5 5.25H22.5V3.75H1.5V5.25Z"
                                            fill="#64748b"></path>
                                        <path
                                            d="M9.75 1.5V0.75V1.5ZM8.25 3H7.5H8.25ZM7.5 4.5C7.5 4.91421 7.83579 5.25 8.25 5.25C8.66421 5.25 9 4.91421 9 4.5H7.5ZM15 4.5C15 4.91421 15.3358 5.25 15.75 5.25C16.1642 5.25 16.5 4.91421 16.5 4.5H15ZM15.75 3H16.5H15.75ZM14.25 0.75H9.75V2.25H14.25V0.75ZM9.75 0.75C9.15326 0.75 8.58097 0.987053 8.15901 1.40901L9.21967 2.46967C9.36032 2.32902 9.55109 2.25 9.75 2.25V0.75ZM8.15901 1.40901C7.73705 1.83097 7.5 2.40326 7.5 3H9C9 2.80109 9.07902 2.61032 9.21967 2.46967L8.15901 1.40901ZM7.5 3V4.5H9V3H7.5ZM16.5 4.5V3H15V4.5H16.5ZM16.5 3C16.5 2.40326 16.2629 1.83097 15.841 1.40901L14.7803 2.46967C14.921 2.61032 15 2.80109 15 3H16.5ZM15.841 1.40901C15.419 0.987053 14.8467 0.75 14.25 0.75V2.25C14.4489 2.25 14.6397 2.32902 14.7803 2.46967L15.841 1.40901Z"
                                            fill="#64748b"></path>
                                        <path
                                            d="M9 17.25C9 17.6642 9.33579 18 9.75 18C10.1642 18 10.5 17.6642 10.5 17.25H9ZM10.5 9.75C10.5 9.33579 10.1642 9 9.75 9C9.33579 9 9 9.33579 9 9.75H10.5ZM10.5 17.25V9.75H9V17.25H10.5Z"
                                            fill="#64748b"></path>
                                        <path
                                            d="M13.5 17.25C13.5 17.6642 13.8358 18 14.25 18C14.6642 18 15 17.6642 15 17.25H13.5ZM15 9.75C15 9.33579 14.6642 9 14.25 9C13.8358 9 13.5 9.33579 13.5 9.75H15ZM15 17.25V9.75H13.5V17.25H15Z"
                                            fill="#64748b"></path>
                                        <path
                                            d="M18.865 21.124L18.1176 21.0617L18.1176 21.062L18.865 21.124ZM17.37 22.5L17.3701 21.75H17.37V22.5ZM6.631 22.5V21.75H6.63093L6.631 22.5ZM5.136 21.124L5.88343 21.062L5.88341 21.0617L5.136 21.124ZM4.49741 4.43769C4.46299 4.0249 4.10047 3.71818 3.68769 3.75259C3.2749 3.78701 2.96818 4.14953 3.00259 4.56231L4.49741 4.43769ZM20.9974 4.56227C21.0318 4.14949 20.7251 3.78698 20.3123 3.75259C19.8995 3.7182 19.537 4.02495 19.5026 4.43773L20.9974 4.56227ZM18.1176 21.062C18.102 21.2495 18.0165 21.4244 17.878 21.5518L18.8939 22.6555C19.3093 22.2732 19.5658 21.7486 19.6124 21.186L18.1176 21.062ZM17.878 21.5518C17.7396 21.6793 17.5583 21.75 17.3701 21.75L17.3699 23.25C17.9345 23.25 18.4785 23.0379 18.8939 22.6555L17.878 21.5518ZM17.37 21.75H6.631V23.25H17.37V21.75ZM6.63093 21.75C6.44274 21.75 6.26142 21.6793 6.12295 21.5518L5.10713 22.6555C5.52253 23.0379 6.06649 23.25 6.63107 23.25L6.63093 21.75ZM6.12295 21.5518C5.98449 21.4244 5.89899 21.2495 5.88343 21.062L4.38857 21.186C4.43524 21.7486 4.69172 22.2732 5.10713 22.6555L6.12295 21.5518ZM5.88341 21.0617L4.49741 4.43769L3.00259 4.56231L4.38859 21.1863L5.88341 21.0617ZM19.5026 4.43773L18.1176 21.0617L19.6124 21.1863L20.9974 4.56227L19.5026 4.43773Z"
                                            fill="#64748b"></path>
                                    </g>
                                </svg>
                            </div>
                        </td>
                    </tr>
                </tbody>
            </table>
        </div>
    </div>
Nattana Chaiyamat committed
155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400
</div>



<!-- Backdrop add -->
<div class="modal-backdrop" *ngIf="modalOptions['add'].isModalOpen"
    [ngClass]="{ 'no-close': !modalOptions['add'].backdropClose }"
    (click)="modalOptions['add'].backdropClose && closeModal('add')"></div>
<!-- Modal add -->
<div class="modal" [ngClass]="modalOptions['add'].modalSize" *ngIf="modalOptions['add'].isModalOpen">
    <div class="modal-content">
        <!-- Header -->
        <div class="modal-header">
            <div class="modal-head-title">เพิ่มข้อมูลทะเบียนฝ่าย</div>
            <button (click)="closeModal('add')">
                <svg width="20" height="20" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"
                    xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"
                    fill="#f23354" stroke="#f23354">
                    <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                    <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                    <g id="SVGRepo_iconCarrier">
                        <title>cross-circle</title>
                        <desc>Created with Sketch Beta.</desc>
                        <defs> </defs>
                        <g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd"
                            sketch:type="MSPage">
                            <g id="Icon-Set" sketch:type="MSLayerGroup" transform="translate(-568.000000, -1087.000000)"
                                fill="#f23354">
                                <path
                                    d="M584,1117 C576.268,1117 570,1110.73 570,1103 C570,1095.27 576.268,1089 584,1089 C591.732,1089 598,1095.27 598,1103 C598,1110.73 591.732,1117 584,1117 L584,1117 Z M584,1087 C575.163,1087 568,1094.16 568,1103 C568,1111.84 575.163,1119 584,1119 C592.837,1119 600,1111.84 600,1103 C600,1094.16 592.837,1087 584,1087 L584,1087 Z M589.717,1097.28 C589.323,1096.89 588.686,1096.89 588.292,1097.28 L583.994,1101.58 L579.758,1097.34 C579.367,1096.95 578.733,1096.95 578.344,1097.34 C577.953,1097.73 577.953,1098.37 578.344,1098.76 L582.58,1102.99 L578.314,1107.26 C577.921,1107.65 577.921,1108.29 578.314,1108.69 C578.708,1109.08 579.346,1109.08 579.74,1108.69 L584.006,1104.42 L588.242,1108.66 C588.633,1109.05 589.267,1109.05 589.657,1108.66 C590.048,1108.27 590.048,1107.63 589.657,1107.24 L585.42,1103.01 L589.717,1098.71 C590.11,1098.31 590.11,1097.68 589.717,1097.28 L589.717,1097.28 Z"
                                    id="cross-circle" sketch:type="MSShapeGroup"> </path>
                            </g>
                        </g>
                    </g>
                </svg>
            </button>
            <div class="button-clear">
                <button type="button" class="button-indigo-light modal-button">
                    <svg width="16" height="16" viewBox="0 0 64.00 64.00" xmlns="http://www.w3.org/2000/svg" fill="none"
                        stroke="#595BEA" stroke-width="3.84" transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)">
                        <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                        <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                        <g id="SVGRepo_iconCarrier">
                            <path d="M15 49A24 24 0 0 1 32 8"></path>
                            <path d="M49 15a24 24 0 0 1-17 41"></path>
                            <polyline points="15.03 40 15.03 48.97 8 48.97"></polyline>
                            <polyline points="48.97 24 48.97 15.03 56 15.03"></polyline>
                        </g>
                    </svg>
                    Clear
                </button>
            </div>
            <div class="button-help">
                <button type="button" class="button-yellow-light modal-button">
                    <svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none"
                        xmlns="http://www.w3.org/2000/svg" stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
                        <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                        <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff"
                            stroke-width="2.4">
                            <path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round">
                            </path>
                        </g>
                        <g id="SVGRepo_iconCarrier">
                            <path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round">
                            </path>
                        </g>
                    </svg>Help
                </button>
            </div>
        </div>
        <!-- Body -->
        <div class="modal-body">
            <label for="department" class="block text-sm mb-2 dark:text-white">ฝ่าย</label>
            <div class="flex mb-5">
                <div class="relative w-full">
                    <input type="text" id="department" name="department"
                        class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-small">
                </div>
            </div>
            <label for="detail_th" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (ไทย)</label>
            <div class="flex mb-5">
                <div class="relative w-full">
                    <input type="text" id="detail_th" name="detailth"
                        class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full">
                </div>
            </div>
            <label for="detail_eng" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (อังกฤษ)</label>
            <div class="flex mb-5">
                <div class="relative w-full">
                    <input type="text" id="detail_eng" name="detail_eng"
                        class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full">
                </div>
            </div>
            <div class="flex justify-end">
                <button type="button" class="modal-button-white mr-1" (click)="closeModal('add')">
                    ย้อนกลับ
                </button>
                <button type="button" class="modal-button-green ml-1" (click)="closeModal('add')">
                    บันทึกข้อมูล
                </button>
            </div>
        </div>
    </div>
</div>


<!-- Backdrop edit -->
<div class="modal-backdrop" *ngIf="modalOptions['edit'].isModalOpen"
    [ngClass]="{ 'no-close': !modalOptions['edit'].backdropClose }"
    (click)="modalOptions['edit'].backdropClose && closeModal('edit')"></div>
<!-- Modal edit -->
<div class="modal" [ngClass]="modalOptions['edit'].modalSize" *ngIf="modalOptions['edit'].isModalOpen">
    <div class="modal-content">
        <!-- Header -->
        <div class="modal-header">
            <div class="modal-head-title">แก้ไขข้อมูลทะเบียนฝ่าย</div>
            <button (click)="closeModal('edit')">
                <svg width="20" height="20" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"
                    xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns"
                    fill="#f23354" stroke="#f23354">
                    <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                    <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                    <g id="SVGRepo_iconCarrier">
                        <title>cross-circle</title>
                        <desc>Created with Sketch Beta.</desc>
                        <defs> </defs>
                        <g id="Page-1" stroke-width="0.41600000000000004" fill="none" fill-rule="evenodd"
                            sketch:type="MSPage">
                            <g id="Icon-Set" sketch:type="MSLayerGroup" transform="translate(-568.000000, -1087.000000)"
                                fill="#f23354">
                                <path
                                    d="M584,1117 C576.268,1117 570,1110.73 570,1103 C570,1095.27 576.268,1089 584,1089 C591.732,1089 598,1095.27 598,1103 C598,1110.73 591.732,1117 584,1117 L584,1117 Z M584,1087 C575.163,1087 568,1094.16 568,1103 C568,1111.84 575.163,1119 584,1119 C592.837,1119 600,1111.84 600,1103 C600,1094.16 592.837,1087 584,1087 L584,1087 Z M589.717,1097.28 C589.323,1096.89 588.686,1096.89 588.292,1097.28 L583.994,1101.58 L579.758,1097.34 C579.367,1096.95 578.733,1096.95 578.344,1097.34 C577.953,1097.73 577.953,1098.37 578.344,1098.76 L582.58,1102.99 L578.314,1107.26 C577.921,1107.65 577.921,1108.29 578.314,1108.69 C578.708,1109.08 579.346,1109.08 579.74,1108.69 L584.006,1104.42 L588.242,1108.66 C588.633,1109.05 589.267,1109.05 589.657,1108.66 C590.048,1108.27 590.048,1107.63 589.657,1107.24 L585.42,1103.01 L589.717,1098.71 C590.11,1098.31 590.11,1097.68 589.717,1097.28 L589.717,1097.28 Z"
                                    id="cross-circle" sketch:type="MSShapeGroup"> </path>
                            </g>
                        </g>
                    </g>
                </svg>
            </button>
            <div class="button-clear">
                <button type="button" class="button-indigo-light modal-button">
                    <svg width="16" height="16" viewBox="0 0 64.00 64.00" xmlns="http://www.w3.org/2000/svg" fill="none"
                        stroke="#595BEA" stroke-width="3.84" transform="rotate(45)matrix(-1, 0, 0, 1, 0, 0)">
                        <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                        <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g>
                        <g id="SVGRepo_iconCarrier">
                            <path d="M15 49A24 24 0 0 1 32 8"></path>
                            <path d="M49 15a24 24 0 0 1-17 41"></path>
                            <polyline points="15.03 40 15.03 48.97 8 48.97"></polyline>
                            <polyline points="48.97 24 48.97 15.03 56 15.03"></polyline>
                        </g>
                    </svg>
                    Clear
                </button>
            </div>
            <div class="button-help">
                <button type="button" class="button-yellow-light modal-button">
                    <svg width="16" height="16" viewBox="-2.4 -2.4 28.80 28.80" fill="none"
                        xmlns="http://www.w3.org/2000/svg" stroke="#E7A927" transform="matrix(1, 0, 0, 1, 0, 0)">
                        <g id="SVGRepo_bgCarrier" stroke-width="0"></g>
                        <g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round" stroke="#ffffff"
                            stroke-width="2.4">
                            <path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round">
                            </path>
                        </g>
                        <g id="SVGRepo_iconCarrier">
                            <path d="M12 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M3.5 6.5V18.5" stroke="#E7A927" stroke-linecap="round"></path>
                            <path d="M20.5 18.5C20.5 18.5 19.5 16.5 16 16.5C12.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 18.5C3.5 18.5 4.5 16.5 8 16.5C11.5 16.5 12 18.5 12 18.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M20.5 6.5C20.5 6.5 19.5 4.5 16 4.5C12.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round"></path>
                            <path d="M3.5 6.5C3.5 6.5 4.5 4.5 8 4.5C11.5 4.5 12 6.5 12 6.5" stroke="#E7A927"
                                stroke-linecap="round">
                            </path>
                        </g>
                    </svg>Help
                </button>
            </div>
        </div>
        <!-- Body -->
        <div class="modal-body">
            <label for="department" class="block text-sm mb-2 dark:text-white">ฝ่าย</label>
            <div class="flex mb-5">
                <div class="relative w-full">
                    <input type="text" id="department" name="department"
                        class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-small input-disabled" disabled
                        value="01">
                </div>
            </div>
            <label for="detail_th" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (ไทย)</label>
            <div class="flex mb-5">
                <div class="relative w-full">
                    <input type="text" id="detail_th" name="detailth"
                        class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full" value="ฝ่าย 1">
                </div>
            </div>
            <label for="detail_eng" class="block text-sm mb-2 dark:text-white">รายละเอียดฝ่าย (อังกฤษ)</label>
            <div class="flex mb-5">
                <div class="relative w-full">
                    <input type="text" id="detail_eng" name="detail_eng"
                        class="py-2 px-3 border-gray-200 rounded-sm text-sm modal-input-full" value="department 1">
                </div>
            </div>
            <div class="flex justify-end">
                <button type="button" class="modal-button-white mr-1" (click)="closeModal('edit')">
                    ย้อนกลับ
                </button>
                <button type="button" class="modal-button-green ml-1" (click)="closeModal('edit')">
                    บันทึกข้อมูล
                </button>
            </div>
        </div>
    </div>
401
</div>