diff --git a/GrossesMitaines/grosses-mitaines-ui/src/components/InvoiceItem.js b/GrossesMitaines/grosses-mitaines-ui/src/components/InvoiceItem.js index 4b21cbe..678e525 100644 --- a/GrossesMitaines/grosses-mitaines-ui/src/components/InvoiceItem.js +++ b/GrossesMitaines/grosses-mitaines-ui/src/components/InvoiceItem.js @@ -105,8 +105,9 @@ const InvoiceItem = ({ invoice, onCancel }) => {

Produits

-

onCancel(invoice.id)} />

+ {(invoice.status == 0 || invoice.status == 2 )&& +

onCancel(invoice.id)} />

}