| @@ -24,7 +24,8 @@ export type SeasonTicketContract = { | |||||
| has_season_ticket: boolean | null; | has_season_ticket: boolean | null; | ||||
| has_sticker: boolean | null; | has_sticker: boolean | null; | ||||
| can_some_apply: boolean | null; | can_some_apply: boolean | null; | ||||
| can_apply_change_plan: boolean | null; | |||||
| can_change_plan_apply: boolean | null; | |||||
| can_parking_certificate_apply: boolean | null; | |||||
| revision: number; | revision: number; | ||||
| }; | }; | ||||
| @@ -159,20 +159,22 @@ export default function ContractDetail() { | |||||
| </Button> | </Button> | ||||
| </Box> | </Box> | ||||
| )} | )} | ||||
| <Box> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={() => { | |||||
| navigateWhenChanged( | |||||
| getPath( | |||||
| PageID.DASHBOARD_SEASON_TICKET_CONTRACT_PARKING_CERTIFICATE_ORDER | |||||
| ) | |||||
| ); | |||||
| }} | |||||
| > | |||||
| 駐車証明証申請 | |||||
| </Button> | |||||
| </Box> | |||||
| {seasonTicketContract.can_parking_certificate_apply && ( | |||||
| <Box> | |||||
| <Button | |||||
| variant="contained" | |||||
| onClick={() => { | |||||
| navigateWhenChanged( | |||||
| getPath( | |||||
| PageID.DASHBOARD_SEASON_TICKET_CONTRACT_PARKING_CERTIFICATE_ORDER | |||||
| ) | |||||
| ); | |||||
| }} | |||||
| > | |||||
| 駐車証明証申請 | |||||
| </Button> | |||||
| </Box> | |||||
| )} | |||||
| <Box> | <Box> | ||||
| <Button | <Button | ||||
| variant="contained" | variant="contained" | ||||
| @@ -201,7 +203,7 @@ export default function ContractDetail() { | |||||
| 車両情報変更申請 | 車両情報変更申請 | ||||
| </Button> | </Button> | ||||
| </Box> | </Box> | ||||
| {seasonTicketContract.can_apply_change_plan && ( | |||||
| {seasonTicketContract.can_change_plan_apply && ( | |||||
| <Box> | <Box> | ||||
| <Button | <Button | ||||
| variant="contained" | variant="contained" | ||||