import { Component } from '@angular/core';
interface Row { label: string; value: number | string; }
@Component({
  selector: 'app-report-com-1',
  templateUrl: './report-com-1.component.html',
  styleUrls: ['./report-com-1.component.scss']
})
export class ReportCom1Component {
  // ตารางซ้าย-กลาง
  lastYear: Row[] = [
    { label: 'CC', value: 70 },
    { label: 'MC', value: 70 },
    { label: 'FC', value: 70 },
    { label: 'PC', value: 70 },
    { label: 'รวม', value: 70 }
  ];

  thisYear: Row[] = [
    { label: 'CC', value: 80 },
    { label: 'MC', value: 80 },
    { label: 'FC', value: 80 },
    { label: 'PC', value: 80 },
    { label: 'รวม', value: 80 }
  ];

  // ตารางสรุปคะแนน
  summary: Row[] = [
    { label: 'ปีที่ผ่านมา', value: 70 },
    { label: 'ปีปัจจุบัน', value: 80 },
    { label: 'DIF', value: '+/- 10' }
  ];

  // Progress bar mock
  statusEvaluate = 1;   // 1 = 100 %
  statusIdp = .5;  // 0.5 = 50 %
  statusDev = 0;   // 0 = 0 %

  today = '1 มิ.ย. 2568';
}
