fix(chequebook,ctsclearing): surface global stock allocation in UI; fix decided-state check
Receive Stock form now displays the actual highest-allocated serial across every series (not just silently prefilling the field), so the operator can see and trust the auto-suggested range start rather than taking it on faith. Fixes a real bug where item.decision (which InwardClearingItem.java always sets to the literal string "PENDING" at creation, never null) was checked with a plain truthy test everywhere a "has this been decided yet" branch was needed. Since "PENDING" is a non-empty string, that check was always true — silently breaking the Decide/View button label, the collapsed validation summary, the "Awaiting settlement" text, and the decision dialog itself (which never showed the actual Pass/Return form, even for still-pending items). Replaced with a proper isDecided() check everywhere. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -3319,6 +3319,9 @@
|
||||
"Only series applicable to this account type are shown": "Only series applicable to this account type are shown",
|
||||
"Leaves handed over = books x the series book size": "Leaves handed over = books × the series book size",
|
||||
"Auto-suggested to avoid overlap; editable": "Auto-suggested to avoid overlap; editable",
|
||||
"Auto-suggested to avoid overlap across every series; editable": "Auto-suggested to avoid overlap across every series; editable",
|
||||
"Highest leaf serial allocated so far, across every series": "Highest leaf serial allocated so far, across every series",
|
||||
"next available start": "next available start",
|
||||
"Calculated from books x book size": "Calculated from books × book size",
|
||||
"Searching...": "Searching...",
|
||||
"Type at least 4 digits of the account number": "Type at least 4 digits of the account number",
|
||||
|
||||
Reference in New Issue
Block a user