query("SELECT * FROM procurement_items ORDER BY id ASC LIMIT 50")->fetchAll(); ?>
| รหัส | รายการครุภัณฑ์ | หน่วยงาน | งบประมาณ | เปอร์เซ็นต์ | Timeline สถานะ | การดำเนินการ |
|---|---|---|---|---|---|---|
= $row['item_code'] ?? '-' ?> |
= htmlspecialchars($row['item_name']) ?> | = $row['department'] ?> | ฿= number_format($row['total_price'], 2) ?> |
|
= getTimelineBadge($row['due_date'], $row['status']) ?> | QR |