feat: implement manual consolidation candidate selection logic and update related tests

This commit is contained in:
marshalyordanos
2026-09-04 13:52:19 +03:00
parent eaa006a932
commit ca84aac456
6 changed files with 210 additions and 93 deletions

View File

@@ -2007,7 +2007,7 @@ export default function GlCreateBookingForm() {
shared wagon — each booking is still priced and invoiced
separately.
</Text>
<Switch
{/* <Switch
checked={consolidateOdd}
color="edr-green"
label="Share a wagon with another booking"
@@ -2015,7 +2015,7 @@ export default function GlCreateBookingForm() {
consolidateTouchedRef.current = true;
setConsolidateOdd(e.currentTarget.checked);
}}
/>
/> */}
{consolidateOdd ? (
<Group gap={10} align="center" wrap="wrap">
<Button