|
|
@@ -323,8 +323,8 @@ const BusCustomFormWizard = (props) => { |
|
|
|
const { handleSubmit } = useForm({}) |
|
|
|
const _onSubmit = () => { |
|
|
|
setLoding(true); |
|
|
|
values.address4 = selectedAddress4 |
|
|
|
values.address5 = selectedAddress5 |
|
|
|
values.address4 = selectedAddress4.key |
|
|
|
values.address5 = selectedAddress5.key |
|
|
|
// console.log(values) |
|
|
|
const busUserAddress = { |
|
|
|
"addressLine1": "", |
|
|
@@ -1637,7 +1637,8 @@ const BusCustomFormWizard = (props) => { |
|
|
|
<Typography display="inline" variant="h4"> |
|
|
|
<FormattedMessage id="emailSent"/> |
|
|
|
</Typography> |
|
|
|
<Button variant="outlined" component={Link} to="/login" sx={{ fontSize: 20, height: '60px' }}><Typography variant="pnspsFormHeader"> |
|
|
|
<Button variant="outlined" component={Link} to="/login" > |
|
|
|
<Typography variant="pnspsFormHeader"> |
|
|
|
<FormattedMessage id="backToLogin"/> |
|
|
|
</Typography></Button> |
|
|
|
</Stack> |
|
|
@@ -1646,8 +1647,10 @@ const BusCustomFormWizard = (props) => { |
|
|
|
<Stack mt={1} direction="column" justifyContent="flex-start" alignItems="center" spacing={2}> |
|
|
|
{/* <Button disabled={true} hidden={true} variant="contained" type="submit" sx={{ fontSize: 12,height:'25px'}}>Submit</Button> */} |
|
|
|
<CancelOutlinedIcon color="error" sx={{ width: "200px", height: "200px" }} /> |
|
|
|
<Typography display="inline" variant="h4">申請失敗,請稍後嘗試</Typography> |
|
|
|
<Button color="error" variant="outlined" component={Link} to="/login" sx={{ fontSize: 20, height: '60px' }}><Typography variant="pnspsFormHeader"> |
|
|
|
<Typography display="inline" variant="h4"> |
|
|
|
<FormattedMessage id="registerFail" /> |
|
|
|
</Typography> |
|
|
|
<Button color="error" variant="outlined" component={Link} to="/login" ><Typography variant="pnspsFormHeader"> |
|
|
|
<FormattedMessage id="backToLogin"/> |
|
|
|
</Typography></Button> |
|
|
|
</Stack> |
|
|
|