Task #19578
closedTask #19558: Sprint Planning for 23/03/2026 - 30/03/2026
air manifest transmission screen shows incorrect stats for part shipments
Description
When sending a manifest for a part shipment, the Transmission of Manifest screen was logging incorrect values for No. of HAWB, Pieces, Gross Weight, and Volume — it was reading from the full MAWB totals instead of only the HAWBs routed to the specific flight leg being submitted.
Fix: Added numberOfHawb, totalPieces, grossWeight, and volume fields to ManifestSubmission. At send time these are calculated from the filtered HAWB set (per flight leg). The retrieval query now reads the stored values, falling back to MAWB totals for legacy records.
Impacted paths:
ffa-entities: ManifestSubmission.java
ffa-service-impl: AirWaybillServiceImpl.java, ManifestSubmissionHelper.java, HouseManifestServiceImpl.java
ffa-dao: Liquibase migration 2026-03-24T10-00_manifest_submission_flight_stats.sql
GitLab Sync Log
[{"id": "40896", "author": "Al-Shad Isaac", "hours": 1.0, "created": "2026-03-24T12:23:37.749Z", "log_date": "2026-03-24", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-03-24T12:23:37.749Z: 1h-(1.0)h spend at: 2026-03-24", "status": "active", "deleted_by": "", "redmine_entry_id": 12736}, {"id": "41348", "author": "Al-Shad Isaac", "hours": 7.0, "created": "2026-03-31T10:10:57.785Z", "log_date": "2026-03-31", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-03-31T10:10:57.785Z: 7h-(7.0)h spend at: 2026-03-31", "status": "active", "deleted_by": "", "redmine_entry_id": 12850}, {"id": "41559", "author": "Al-Shad Isaac", "hours": 2.0, "created": "2026-04-03T05:24:57.971Z", "log_date": "2026-04-01", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-04-03T05:24:57.971Z: 2h-(2.0)h spend at: 2026-04-01", "status": "active", "deleted_by": "", "redmine_entry_id": 12891}, {"id": "41558", "author": "Al-Shad Isaac", "hours": 7.0, "created": "2026-04-03T05:24:43.740Z", "log_date": "2026-04-03", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-04-03T05:24:43.740Z: 7h-(7.0)h spend at: 2026-04-03", "status": "active", "deleted_by": "", "redmine_entry_id": 12892}, {"id": "41819", "author": "Al-Shad Isaac", "hours": 5.0, "created": "2026-04-09T11:00:18.254Z", "log_date": "2026-04-08", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-04-09T11:00:18.254Z: 5h-(5.0)h spend at: 2026-04-08", "status": "active", "deleted_by": "", "redmine_entry_id": 12968}, {"id": "41893", "author": "Al-Shad Isaac", "hours": 5.0, "created": "2026-04-10T06:58:31.864Z", "log_date": "2026-04-10", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-04-10T06:58:31.864Z: 5h-(5.0)h spend at: 2026-04-10", "status": "active", "deleted_by": "", "redmine_entry_id": 13004}, {"id": "42564", "author": "Al-Shad Isaac", "hours": 1.0, "created": "2026-04-21T05:53:30.965Z", "log_date": "2026-04-12", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-04-21T05:53:30.965Z: 1h-(1.0)h spend at: 2026-04-12", "status": "active", "deleted_by": "", "redmine_entry_id": 13165}]