|
|
@@ -130,9 +130,9 @@ $this->addButton(['label' => 'Nouveau bon de livraison <span class="glyphicon gl |
|
|
|
]) : ''); |
|
|
|
}, |
|
|
|
'update' => function ($url, $model) { |
|
|
|
return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [ |
|
|
|
return Html::a('<span class="glyphicon glyphicon-pencil"></span>', $url, [ |
|
|
|
'title' => 'Modifier', 'class' => 'btn btn-default' |
|
|
|
]) : ''); |
|
|
|
]); |
|
|
|
}, |
|
|
|
'delete' => function ($url, $model) { |
|
|
|
return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [ |