Browse Source

[backend] Factures : possibilité édition

prodstable
Guillaume 3 years ago
parent
commit
3e5bf506fc
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      backend/views/invoice/index.php

+ 2
- 2
backend/views/invoice/index.php View File

@@ -121,9 +121,9 @@ $this->addButton(['label' => 'Nouvelle facture <span class="glyphicon glyphicon-
]);
},
'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, [

Loading…
Cancel
Save