Merge pull request 'bugfix/control_start_mission' (#5) from bugfix/control_start_mission into develop

Reviewed-on: #5
This commit was merged in pull request #5.
This commit is contained in:
2026-06-13 12:07:16 +00:00
2 changed files with 4 additions and 3 deletions

View File

@@ -59,7 +59,7 @@ const FinishMissionContent = ({ rowId, mutate, setOpenFinishMissionDialog }) =>
<DialogContent> <DialogContent>
<Stack alignItems="center" spacing={2}> <Stack alignItems="center" spacing={2}>
<Typography mt={2}>آیا از ورود خودرو و پایان ماموریت اطمینان دارید؟</Typography> <Typography mt={2}>آیا از ورود خودرو و پایان ماموریت اطمینان دارید؟</Typography>
<Stack> <Stack sx={{ width: "87%" }}>
<Controller <Controller
control={control} control={control}
name={"end_km"} name={"end_km"}
@@ -73,6 +73,7 @@ const FinishMissionContent = ({ rowId, mutate, setOpenFinishMissionDialog }) =>
field.onChange(e.target.value); field.onChange(e.target.value);
}} }}
size="small" size="small"
sx={{ width: "100%" }}
fullWidth fullWidth
label="کیلومتر خودرو / ساعت کار" label="کیلومتر خودرو / ساعت کار"
InputLabelProps={{ shrink: true }} InputLabelProps={{ shrink: true }}

View File

@@ -60,7 +60,7 @@ const StartMissionContent = ({ rowId, mutate, setOpenStartMissionDialog }) => {
<DialogContent dividers> <DialogContent dividers>
<Stack alignItems="center" spacing={2}> <Stack alignItems="center" spacing={2}>
<Typography mt={2}>آیا از خروج خودرو و شروع ماموریت اطمینان دارید؟</Typography> <Typography mt={2}>آیا از خروج خودرو و شروع ماموریت اطمینان دارید؟</Typography>
<Stack> <Stack sx={{ width: "84%" }}>
<Controller <Controller
control={control} control={control}
name={"code"} name={"code"}
@@ -85,7 +85,7 @@ const StartMissionContent = ({ rowId, mutate, setOpenStartMissionDialog }) => {
)} )}
/> />
</Stack> </Stack>
<Stack> <Stack sx={{ width: "84%" }}>
<Controller <Controller
control={control} control={control}
name={"km"} name={"km"}