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.
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