Skip to content

[Backport version-16-hotfix] feat: read a manifest grid without opening every row - #483

Merged
av-dev2 merged 3 commits into
version-16-hotfixfrom
backport-479-to-version-16-hotfix
Sep 23, 2026
Merged

av-dev2 merged 3 commits into
version-16-hotfixfrom
backport-479-to-version-16-hotfix

Conversation

@github-actions

Copy link
Copy Markdown

Backport of #479 to version-16-hotfix.


Manifest and house bill grids

Reading a manifest meant opening a row to see whether a container was a box and whether it arrived full or loose. Type of Container and Freight Indicator now sit in both grids, beside the container number:

grid columns now shown
Containers (Containers Detail) M BL No · Container No · Container Size · Type of Container · Freight Indicator
HBL Containers (HBL Container) M BL No · H BL No · Container No · Type of Container · Freight Indicator

Both grids hold 50 rows per page and show the search box above 20 rows. On the house bill grid, Container Size gives up its column so the two read alike.

Duplicate bill of lading message

validate_one_bill_of_lading compares each container row against the first bill it was seen under, so it can only ever name two bills — while a manifest can carry more. A real file has now been seen with one container under three bills of lading, and the message read as though two were the whole of it.

Before:

Container FSCU9126909 appears on this manifest under two bills of lading: 266210663 and 266617749.

After:

Container FSCU9126909 appears on this manifest under more than one bill of lading, including 266210663 and 266617749.

Wording only. The guard itself is unchanged: a container under more than one bill is still rejected, because its costs cannot be attributed to a single bill.

Testing

No behaviour change to test beyond the existing suite — 295 passing. pre-commit run --all-files and ruff check green.

The grid changes take effect after bench migrate.

Reading a manifest meant opening a row to see whether a container was a box and
whether it came full or loose. Both now sit in the grid beside the container
number, and the grid holds 50 rows with search above 20.

(cherry picked from commit 834f316)
… grid

The same two columns as the manifest container grid, in the same order, so the
two read alike. Container size gives up its column to them.

(cherry picked from commit 6edb778)
The guard compares each row against the first, so it names two bills while a
manifest can carry more. A real file has been seen with one container under
three, and the message read as though two were the whole of it.

(cherry picked from commit b7694d5)
@av-dev2
av-dev2 merged commit 2b2c94b into version-16-hotfix Sep 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant