Task #18804
openTask #19558: Sprint Planning for 23/03/2026 - 30/03/2026
House AWB Repository _ Profit Snapshot
93%
Description
User should be able to see a profitability Snapshot for the HAWB so that he can see margin, spot issues, and take corrective action fast.
UI & controls
· Right-side sticky card showing: Sales (local), Costs (local), Margin & Margin %
· Profit snapshot should be visible as a floating panel from any tab.
· Header: HAWB Ref (link), Shipment Direction, Status.
· Rows (local currency):
· Costs (allocated + house-only)
· Add Costs
· Total Cost
· Sales
· Profit/Loss (green for profit, red for loss) and Margin %
Calculations¶
· Total Cost = Σ(Costs local) + Σ(Add Costs local) + Σ(Additional Cost)
· Sales = Σ(Sales local).
· Profit/Loss = Sales − Total Cost.
· Margin % = (Profit/Loss ÷ Sales) × 100; if Sales = 0 show “—”.
· Break-even delta = max(0, Total Cost − Sales).
· Target margin delta = max(0, (Total Cost ÷ (1 − Target%)) − Sales).
US-9 - Documents & Notes
The user should be able to upload shipment docs (invoice, packing list, permits) and add internal notes.
-
Acceptance criteria:
- Upload supports PDF, DOC, XLS, image; max 10MB/file.
- Notes with @mentions and timestamps.
- Files stored with preview available.
GitLab Sync Log
[{"id": "40695", "author": "Ra-ees Peeroo", "hours": 7.0, "created": "2026-03-23T06:37:13.837Z", "log_date": "2026-03-15", "comment": "Imported from GitLab by @Ra-ees Peeroo on 2026-03-23T06:37:13.837Z: 7h-(7.0)h spend at: 2026-03-15", "status": "active", "deleted_by": "", "redmine_entry_id": 12706}, {"id": "42594", "author": "Al-Shad Isaac", "hours": 0.5, "created": "2026-04-21T06:09:04.683Z", "log_date": "2026-04-14", "comment": "Imported from GitLab by @Al-Shad Isaac on 2026-04-21T06:09:04.683Z: 30m-(0.5)h spend at: 2026-04-14", "status": "active", "deleted_by": "", "redmine_entry_id": 13171}]