Browse Source

[backend] Factures : possibilité édition

prodstable
Guillaume 2 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

]); ]);
}, },
'update' => function ($url, $model) { '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' 'title' => 'Modifier', 'class' => 'btn btn-default'
]) : '');
]);
}, },
'delete' => function ($url, $model) { 'delete' => function ($url, $model) {
return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [ return ($model->isStatusDraft() ? Html::a('<span class="glyphicon glyphicon-trash"></span>', $url, [

Loading…
Cancel
Save