openfun / richie

:pencil: An opensource CMS to build education portals
https://richie.education
MIT License
256 stars 80 forks source link

🩹(frontend) disable contract sign button if order is not validated #2426

Closed jbpenrath closed 1 month ago

jbpenrath commented 1 month ago

Purpose

In DashboardItemOrder, a pending / submitted order can be shown. If this order has a contract to sign, a component to sign the contract is displayed. Currently the CTA to sign the contract is always enabled no matter the order state. That's weird as the request to submit the contract for signature only works if the order is validated.

Blocked by https://github.com/openfun/joanie/pull/823