Feature #449 — WO: PR No. field should be read-only after search
Issue: #449 Reporter: Kang-Supreeya Date: 2026-02-18 Priority: Medium Type: Enhancement
Description
เจ้าของงาน: สร้างงาน > ช่อง PR.No ไม่ควรแก้ไขได้
When Work Owner creates a new project by searching for a PR number (e.g., PR001) and it is not found, clicking "Create New" carries the PR number into the project registration form. Two issues:
- The "เลขที่ใบขอซื้อ" (Purchase Requisition Number) field appears separately even though "PR No. (ถ้ามี)" already contains the same value
- The "PR No. (ถ้ามี)" field should be read-only to prevent editing after being populated from search
Location
Work Owner > สร้างงาน > ขึ้นทะเบียนโครงงาน
Screenshots


Current vs Desired
| Aspect | Current | Desired |
|---|---|---|
| PR No. field | Editable after search | Read-only (locked) |
| Duplicate PR field | Both "PR No." and "เลขที่ใบขอซื้อ" shown | Remove duplicate or merge |
Acceptance Criteria
- PR No. field is read-only when populated from search
- No duplicate PR number fields on the form