This commit is contained in:
Vins 2024-02-19 11:14:05 +01:00
parent aae8463185
commit fb69021933
6 changed files with 22 additions and 3 deletions

View File

@ -122,6 +122,11 @@ export default class BurgerModal extends React.Component<IProps, IState> {
]} ]}
/> />
</Rules> </Rules>
<NavigationLink
path={Module.getInstance().get().modules.pages.OfficesRib.props.path}
text="Gestion du RIB"
routesActive={[Module.getInstance().get().modules.pages.OfficesRib.props.path]}
/>
<NavigationLink path={Module.getInstance().get().modules.pages.MyAccount.props.path} text="Mon compte" /> <NavigationLink path={Module.getInstance().get().modules.pages.MyAccount.props.path} text="Mon compte" />
<NavigationLink target="_blank" path="/CGU_LeCoffre_io.pdf" text="CGU" /> <NavigationLink target="_blank" path="/CGU_LeCoffre_io.pdf" text="CGU" />
<div className={classes["separator"]} /> <div className={classes["separator"]} />

View File

@ -96,6 +96,11 @@ export default class ProfileModal extends React.Component<IProps, IState> {
]} ]}
/> />
</Rules> </Rules>
<NavigationLink
path={Module.getInstance().get().modules.pages.OfficesRib.props.path}
text="Gestion du RIB"
routesActive={[Module.getInstance().get().modules.pages.OfficesRib.props.path]}
/>
<NavigationLink target="_blank" path="/CGU_LeCoffre_io.pdf" text="CGU" /> <NavigationLink target="_blank" path="/CGU_LeCoffre_io.pdf" text="CGU" />
<div className={classes["separator"]} /> <div className={classes["separator"]} />
<LogOutButton /> <LogOutButton />

View File

@ -118,7 +118,7 @@ export default function ClientDashboard(props: IProps) {
transmis à votre notaire. transmis à votre notaire.
</Typography> </Typography>
<Button onClick={downloadFile}>Télécharger le Rib</Button> {folder?.office?.rib_name && <Button onClick={downloadFile}>Télécharger le Rib</Button>}
</div> </div>
</div> </div>
); );

View File

@ -36,6 +36,8 @@
.footer { .footer {
width: fit-content; width: fit-content;
margin: auto; margin: auto;
display: flex;
gap: 10px;
.ocr-container { .ocr-container {
margin-top: 42px; margin-top: 42px;
} }

View File

@ -92,10 +92,10 @@ export default function Rib() {
}; };
return ( return (
<DefaultTemplate title={"Rib"}> <DefaultTemplate title={"RIB"}>
<div className={classes["root"]}> <div className={classes["root"]}>
<Typography typo={ITypo.H1} color={ITypoColor.BLACK} className={classes["title"]}> <Typography typo={ITypo.H1} color={ITypoColor.BLACK} className={classes["title"]}>
Rib de l'office RIB de l'office
</Typography> </Typography>
{!fileUrl && ( {!fileUrl && (

View File

@ -257,6 +257,13 @@
} }
} }
}, },
"OfficesRib": {
"enabled": true,
"props": {
"path": "/offices/rib",
"labelKey": "officeRib"
}
},
"404": { "404": {
"enabled": true, "enabled": true,
"props": { "props": {