Commit Graph

21 Commits

Author SHA1 Message Date
Nut.ไปเรื่อย d1297a134c docs: add design spec for request-budget additional approval round
Design for letting users submit a fresh approval round when a
budget-year/faculty/area's request_expense has already been fully
approved but new line items need to go through approval too.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MNN1mgyALe9skewgUDSMLK
2026-08-19 13:58:56 +07:00
Nut.ไปเรื่อย 22c3c84f55 docs: add implementation plan for income budget report Group A (type 1-3)
Bite-sized task breakdown implementing the design in
docs/superpowers/specs/2026-08-05-income-budget-report-native-design.md,
scoped to Group A only (income-budget-report-income1, type_id 1) per the
writing-plans skill's guidance to split independently-testable subsystems
into separate plans. Group B (type 4-6) and Group C (type 10) are explicitly
out of scope, tracked as follow-up plans.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011R9j5gaw2qsoh9ypWQeXxi
2026-08-05 11:57:59 +07:00
Nut.ไปเรื่อย da58e1aac8 docs: add design spec for native income-budget-report (replacing SyncFusion)
Design for replacing the SyncFusion spreadsheet on income-budget-report-income1
and its 6 sibling menus with a native Angular tree component. Covers the 3
structurally-distinct document groups found in the real production files
(draft rounds 1-3, allocation/adjustment 4-6, material-cost matrix type 10),
the shift from source-locked-vs-editable data (ร.2/ร.4/ร.5/ร.6 as read-only
source, only committee-adjusted amounts editable), and the new
income_budget_report/income_budget_report_line data model replacing the
.xlsx-blob storage.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011R9j5gaw2qsoh9ypWQeXxi
2026-08-05 11:43:08 +07:00
Nut.ไปเรื่อย b46096473b docs: add implementation plan for expense-project-research edit-history view
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01613NaY9LAvy2wFXEeyE5eR
2026-07-22 18:33:05 +07:00
Nut.ไปเรื่อย a5de73a39c docs: add design spec for expense-project-research edit-history view
Ports the already-built change-history diff/session UI (backend + shared
Angular logic) from change-project-research-form to expense-project-research,
showing project detail fields (name, plan, output, etc.) instead of a/p
metrics per the requested screenshot layout.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01613NaY9LAvy2wFXEeyE5eR
2026-07-22 18:22:32 +07:00
Nut.ไปเรื่อย b4a4994694 docs: add implementation plan for in-plan report submit/review bug fix 2026-07-22 08:01:08 +07:00
Nut.ไปเรื่อย f536274376 docs: add in-plan report submit/review bug-fix design spec 2026-07-22 07:56:59 +07:00
Nut.ไปเรื่อย 8e7a0cba4c docs: add implementation plan for out-of-plan report submit/review
Task-by-task plan (routes/menu, review-tab components, container wiring,
report-form lock/badge/buttons, submit list UI, e2e verification) for the
design in docs/superpowers/specs/2026-07-21-out-of-plan-report-review-design.md.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01613NaY9LAvy2wFXEeyE5eR
2026-07-21 23:20:36 +07:00
Nut.ไปเรื่อย d24f73d119 docs: add out-of-plan report submit/review design spec
Design for adding a "ส่งงานแผน" submit flow to the out-of-plan report
list plus a new reviewer menu "ตรวจสอบรายงานผล(นอกแผน)", mirroring the
existing check-project-report status_id flow with no backend changes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01613NaY9LAvy2wFXEeyE5eR
2026-07-21 22:58:37 +07:00
Nut.ไปเรื่อย 2a581b1731 docs: add responsive-shell phase 1 design spec (sidebar auto-rail on tablet) 2026-07-07 00:55:14 +07:00
Nut.ไปเรื่อย d627a121d8 docs: add sidebar icon-rail collapse design spec 2026-07-07 00:05:34 +07:00
Nut.ไปเรื่อย 5bc4f8333f docs: add visual reskin implementation plan 2026-07-06 21:12:54 +07:00
Nut.ไปเรื่อย 8034afed6a docs: add visual reskin design spec (sidebar, tables, buttons, badges, icons, font) 2026-07-06 21:06:20 +07:00
Nut.ไปเรื่อย 976710f2da docs: add between-year draft/send-to-planning workflow design spec 2026-07-06 18:29:15 +07:00
Nut.ไปเรื่อย 2fbb0b3d51 feat: add Thai date selector, HTML prototypes, and SQL script
- Replace xlsx with exceljs in construction calculator; switch date input to Thai Buddhist Era selectors
- Add disbursement plan preview HTML and schedule table prototype
- Add sync_budget_come_from SQL script
- Add budget type select menu design plan

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-24 10:13:05 +07:00
Nut.ไปเรื่อย 2b01bec262 docs: add disbursement plan research implementation plan 2026-06-17 12:08:13 +07:00
Nut.ไปเรื่อย 5a94f2481f docs: add disbursement plan research design spec 2026-06-17 12:04:26 +07:00
Nut.ไปเรื่อย 4e51959fa6 fix: apply last-row rounding correction to Excel export 2026-05-28 12:59:11 +07:00
Nut.ไปเรื่อย 43e37df39f fix: correct rounding drift, XSS hazard, nookPct coupling, confirm guard, BE filename
- Rounding drift: last installment computed as remainder (contract - cumSoFar) so column sums match exactly
- XSS: input values set via .value property assignment instead of attribute interpolation in innerHTML
- nookPct: getInputs() now derives nookPct as 100 - ngpmPct (single source of truth)
- Confirm guard: onCountChange only prompts when n differs from current installments.length
- Export filename: uses Buddhist Era year (getFullYear() + 543) consistent with all date displays
2026-05-28 12:58:28 +07:00
Nut.ไปเรื่อย 097478a3dd feat: add construction installment calculator (single HTML) 2026-05-28 12:52:25 +07:00
Nut.ไปเรื่อย c21b125fc6 chore: add construction installment calculator design spec and plan 2026-05-28 12:48:48 +07:00