@@ -118,9 +118,6 @@ GridView::widget([ | |||
if($c->date_delete) { | |||
$html .= '<span class="label label-danger">Annulée</span><br />' ; | |||
if($c->getState() == Order::STATE_OPEN) { | |||
$html .= '<a href="'.Yii::$app->urlManager->createUrl(['order/order','id'=>$c->id]).'" class="btn btn-default"><span class="glyphicon glyphicon-pencil"></span> Modifier</a>' ; | |||
} | |||
} | |||
else { | |||
if($c->getState() == Order::STATE_DELIVERED) { |