Commit 3c3beb07 by Nattana Chaiyamat

idp

parent 24331ea2
......@@ -234,8 +234,8 @@
</td>
<td class="!p-0"></td>
<td class="align-start text-center"
[class.bg-table-gray]="!data.idpDevelopmentPlan||!data.competencyCourse">
<ng-container *ngIf="data.idpDevelopmentPlan">
[class.bg-table-gray]="!data.idpDevelopmentPlan||!data.competencyCourse||!data.idpDevelopmentPlan.training">
<ng-container *ngIf="data.idpDevelopmentPlan&&data.idpDevelopmentPlan.training">
<div class="mb-3" *ngFor="let competencyCourse of data.competencyCourse">
<i class="ti ti-book fs-xxl !fw-b"></i><br>
{{competencyCourse.competencyCourseId }}
......@@ -243,8 +243,8 @@
</ng-container>
</td>
<td class="align-start text-center !white-space-normal"
[class.bg-table-gray]="!data.idpDevelopmentPlan||!data.competencyCourse">
<ng-container *ngIf="data.idpDevelopmentPlan">
[class.bg-table-gray]="!data.idpDevelopmentPlan||!data.competencyCourse||!data.idpDevelopmentPlan.training">
<ng-container *ngIf="data.idpDevelopmentPlan&&data.idpDevelopmentPlan.training">
<div class="mb-3" *ngFor="let competencyCourse of data.competencyCourse">
{{competencyCourse.tdesc }}
</div>
......
......@@ -108,6 +108,7 @@
<button type="button" class="ti-btn rounded-sm "
*ngFor="let type of item.typeList"
[class.ti-btn-soft-mute]="type.statusType == 'Not_evaluating_yet'"
[class.pointer-events-none]="type.statusType == 'Not_evaluating_yet'"
[class.ti-btn-soft-secondary]="type.statusType == 'Boss'"
[class.ti-btn-soft-warning]="type.statusType == 'BossEvaluating'"
[class.ti-btn-soft-success]="type.statusType == 'Boss_finish'"
......@@ -121,6 +122,7 @@
<div class="flex justify-center">
<button type="button" class="ti-btn rounded-sm"
[class.ti-btn-soft-mute]="item.statusIdp.statusType == 'Not_evaluating_yet'"
[class.pointer-events-none]="item.statusIdp.statusType == 'Not_evaluating_yet'"
[class.ti-btn-soft-secondary]="item.statusIdp.statusType == 'Boss'"
[class.ti-btn-soft-warning]="item.statusIdp.statusType == 'BossEvaluating'"
[class.ti-btn-soft-success]="item.statusIdp.statusType == 'Boss_finish'"
......
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