Align show picked checkbox with filter controls

This commit is contained in:
beatz174-bit committed 2025-11-23 14:35:09 +10:00
1 parent 583633ff12
commit b340e77530
1 file changed
+25 -15
+25 -15
View File
@@ -198,6 +198,29 @@ export const ActivePickListScreen = () => {
<Typography variant="caption" color="text.secondary"> <Typography variant="caption" color="text.secondary">
Selecting a product immediately adds it to the pick list. Selecting a product immediately adds it to the pick list.
</Typography> </Typography>
<FormControl>
<Typography variant="subtitle2" color="text.secondary" sx={{ mb: 0.5 }}>
Filter list by packaging
</Typography>
<Stack
direction="row"
alignItems="center"
justifyContent="space-between"
flexWrap="wrap"
rowGap={1}
>
<RadioGroup
row
value={itemFilter}
onChange={(event) =>
setItemFilter(event.target.value as 'all' | 'cartons' | 'units')
}
sx={{ flexGrow: 1 }}
>
<FormControlLabel value="all" control={<Radio />} label="All" />
<FormControlLabel value="cartons" control={<Radio />} label="Cartons" />
<FormControlLabel value="units" control={<Radio />} label="Units" />
</RadioGroup>
<FormControlLabel <FormControlLabel
control={ control={
<Checkbox <Checkbox
@@ -206,22 +229,9 @@ export const ActivePickListScreen = () => {
/> />
} }
label="Show picked" label="Show picked"
sx={{ ml: { xs: 0, sm: 2 } }}
/> />
<FormControl> </Stack>
<Typography variant="subtitle2" color="text.secondary" sx={{ mb: 0.5 }}>
Filter list by packaging
</Typography>
<RadioGroup
row
value={itemFilter}
onChange={(event) =>
setItemFilter(event.target.value as 'all' | 'cartons' | 'units')
}
>
<FormControlLabel value="all" control={<Radio />} label="All" />
<FormControlLabel value="cartons" control={<Radio />} label="Cartons" />
<FormControlLabel value="units" control={<Radio />} label="Units" />
</RadioGroup>
</FormControl> </FormControl>
</Stack> </Stack>
</Stack> </Stack>