|
|
|
|
|
|
|
|
|
|
|
|
|
|
if($c->date_delete) { |
|
|
if($c->date_delete) { |
|
|
$html .= '<span class="label label-danger">Annulée</span><br />' ; |
|
|
$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 { |
|
|
else { |
|
|
if($c->getState() == Order::STATE_DELIVERED) { |
|
|
if($c->getState() == Order::STATE_DELIVERED) { |