diff --git a/src/Template/Materiels/view.ctp b/src/Template/Materiels/view.ctp index 468d3ad..b6a1567 100755 --- a/src/Template/Materiels/view.ctp +++ b/src/Template/Materiels/view.ctp @@ -612,7 +612,7 @@ $displayElement(__('Statut'), h($entity->status)); $displayElement(__('Date de création'), h($entity->created)); if ($entity->status == 'VALIDATED') { //debug("coucou"); - /* + /** TODO assert($entity->has('date_validated')); assert($entity->date_validated != null); */ @@ -627,8 +627,10 @@ $displayElement(__("Date de validation"), h($entity->date_validated)); $displayElement(__("Date d'archivage"), h($entity->date_archived)); if ($entity->status == 'ARCHIVED') { //$entity->date_archived=5; + /** TODO assert($entity->has('date_archived')); assert($entity->date_archived != null); + */ } $displayElement(__('Prix (HT)'), h($entity->prix_ht) . ' €'); -- libgit2 0.21.2