bugfix/control_start_mission #5

Merged
aminghasempoor merged 2 commits from bugfix/control_start_mission into develop 2026-06-13 12:07:17 +00:00
2 changed files with 4 additions and 3 deletions

View File

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

View File

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