Commit Graph

21 Commits

Author SHA1 Message Date
Nut.ไปเรื่อย 62fbf99073 feat(form_1_2): add New2570 fields to local model, fix report template
continuous-integration/drone/push Build is passing
Two fixes needed together to make the new 3-page เอกสารแนบ ร.1 template
actually render:

1. rmutr_report keeps its own separate copy of the form_1_2 C# model
   (Models/RoReport/form_1_2.cs), which never got the New2570-spec
   fields (division_name, request_count, overall_reason, signer_*,
   approver_*) or the form_1_2_positions child list that rmutr-api's
   model already has. FastReport's RegisterData binds by reflecting
   the actual runtime object, so any Dictionary column not present on
   this local class silently fails to compile ("does not exist in
   current context") for every field on it.

2. Nested BusinessObjectDataSource fields must be referenced by their
   full dotted path from the report root ([form_1_2.form_1_2_positions.
   field]), not the bare child name ([form_1_2_positions.field]) —
   confirmed against another working report (academic_position.frx)
   in this same codebase that uses the identical nesting pattern
   correctly.

Verified locally: report now compiles and reaches PDF export (the
only remaining local failure is a NullReferenceException in libgdiplus
font handling specific to this macOS dev machine, unrelated to the
report itself — production runs Linux where this already works for
every other report using TH Sarabun New).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0153wBt23EjW125ZsADwWVAs
2026-09-08 13:32:39 +07:00
kamonwan taengsuk 47e46da7a9 fixed
continuous-integration/drone/push Build is passing
2023-12-04 16:06:20 +07:00
kamonwan taengsuk 57579b2927 bug fixed
continuous-integration/drone/push Build is failing
2023-12-04 16:03:21 +07:00
kamonwan taengsuk 7206c9858e bug fixed
continuous-integration/drone/push Build is passing
2023-11-29 16:10:30 +07:00
kamonwan taengsuk 4e25c3a694 update
continuous-integration/drone/push Build is passing
2023-11-24 16:09:02 +07:00
kamonwan taengsuk 5ba7919b29 bug fixed
continuous-integration/drone/push Build is passing
2023-11-23 17:12:25 +07:00
kamonwan taengsuk 3a2f956d02 update
continuous-integration/drone/push Build is passing
2023-11-22 19:11:13 +07:00
kamonwan taengsuk b2820e7ac7 bug fixed
continuous-integration/drone/push Build is passing
2023-11-21 16:13:10 +07:00
kamonwan taengsuk 79dbb95213 bug fixed
continuous-integration/drone/push Build is passing
2023-11-20 16:32:59 +07:00
kamonwan taengsuk ba2a5b966e update
continuous-integration/drone/push Build is passing
2023-11-06 17:19:58 +07:00
kamonwan taengsuk 4c9484d57e update
continuous-integration/drone/push Build is passing
2023-11-06 12:38:12 +07:00
kamonwan taengsuk e30767101c edit type
continuous-integration/drone/push Build is passing
2023-10-04 14:45:08 +07:00
kamonwan taengsuk cbddecb9d5 bug fixed
continuous-integration/drone/push Build is passing
2023-09-28 16:53:25 +07:00
kamonwan taengsuk bc55d24121 bug fixed
continuous-integration/drone/push Build is passing
2023-08-04 16:55:05 +07:00
kamonwan taengsuk 6e389605d9 bug fixed
continuous-integration/drone/push Build is passing
2023-08-04 16:35:52 +07:00
kamonwan taengsuk d184ba62bb add budget_income_qualification 2023-08-02 18:32:44 +07:00
kamonwan taengsuk d4c05e088f edit type of string 2023-08-02 18:06:03 +07:00
kamonwan taengsuk 149a78a651 update field 2023-07-31 12:39:10 +07:00
kamonwan taengsuk 5b9331920d add form ro 1 2023-07-28 12:40:03 +07:00
kamonwan taengsuk 13f690ebe8 update 2023-07-24 14:03:39 +07:00
kamonwan taengsuk adc335b53a add report 2023-07-21 17:46:07 +07:00