Browse Source

[producer] Historique des commandes : bouton "Modifier" en trop

refactoring
Guillaume Bourgeois 5 years ago
parent
commit
5c1f2e3761
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      producer/views/order/history.php

+ 0
- 3
producer/views/order/history.php View File

@@ -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) {

Loading…
Cancel
Save